Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 85

miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
07/22/14 09:56 AM (9 years ago)

Ultimate Screen Creator text in few paragraphs

I can't find option to somehow format simple text in few rows and paragraphs in Ultimate screen creator. All words go in only one row of text, no matter what I try (Add Label, Add Text View). Can you help?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/22/14 11:17 AM (9 years ago)
Yes label are basically text views in android. I dont know how he creates them in that plugin but if its with xml you can add this to your text view xml: android:inputType="textMultiLine" or if its programmatically you could do it like this.It will have something like this TextView resultLabel = (TextView) thisScreensView.findViewById(R.id.result); then under add this txt.setSingleLine(false); txt.setImeOptions(EditorInfo.IME_FLAG_NO_ENTER_ACTION); or even instead of :txt.setImeOptions(EditorInfo.IME_FLAG_NO_ENTER_ACTION); you can use: txt.setLines(5); (you can change the number to include however lines you want to use)
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/22/14 11:24 AM (9 years ago)
well this is for android ha.I shouldve asked first
 
miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
like
07/22/14 11:25 AM (9 years ago)
But "No Code" is why Ultimate Screen Creator is all about, I think! If you can set fonts, colour of fonts in text, etc., why is then impossible to create simple text in 2 rows? I think this is essential. It would be fine to have Label text (short labels as is now) and long text.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/22/14 12:03 PM (9 years ago)
yea pm chris1.he will probably.he can do it in his sleep.he probably already has an update he hasnt released yet
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.