Questions tagged as 'textview'

2
answers

How to transform a system out to string?

I want to display a message on the device screen. The message is in System.out.println("Mensagem ") ; How do I make a string and print on the screen using a textView ?     
asked by 26.10.2016 / 03:05
2
answers

TextView - Leave only one word in bold

I have TextView which shows the following text on the screen: Like this: value: PROMOTION! How do I: value: PROMOTION! Do you have put bold in just one word of TextView ? That is, I have to do this without ha...
asked by 08.02.2017 / 20:59
1
answer

TextView allowing only numbers

I want my TextView only accepted as input numbers, however the line android:numeric="decimal" has no effect, it still allows me to type letters.     
asked by 25.06.2015 / 00:15
1
answer

Multiple TextView

I would like to know if I have a TextView in a layout by java. I have an xml that has a TextView and in the Activity class I use the setContentView () to bind the two, but I wanted to put more TextView in the Layout by Java and not by xml     
asked by 25.02.2018 / 03:05
1
answer

Central alignment appears correctly in the preview of the activity, but not in the execution of the app?

I placed center alignment for all textView and activity preview, still in android studio, all right: ButwhenIruntheappitdoesnothappen: Evenifyousetthelayout_widthoftextViewstomath_parentsothattheyhidethewholeextensionofthedeviceinthehori-zon...
asked by 20.03.2017 / 00:06
1
answer

How to change the color of a hyperlink in android studio?

I can make Hyperlink perfectly, the problem is that its color is not contrasting well with the background of my application Iwouldliketoknowhowtomodifyyourcolor,sincechangingthetextcolorofthetextViewdoesnotwork,asthehyperlinkalwaysturnspink...
asked by 19.03.2017 / 23:10
2
answers

TextView is not displaying decimal numbers of a variable of type long!

I created 3 TextViews and 2 variables of type long . 2 of the TextViews will display the two long variables separately, the latter displaying the result of a division of the first variable ( n01 ) variable long by the second ( n02 ). = >...
asked by 01.02.2017 / 00:55
1
answer

I can not get a TextView to display the content present in an EditText!

I've created an app where your layout contains an EditText and a TextView . The initial content of the TextView is: "unnamed" . I'dliketheTextViewcontenttobechangedwhenIputsomethinginEditText,whichdoesnothappen: I'veusedastringtocaptu...
asked by 28.01.2017 / 21:53
1
answer

TextView position text displayed always at the end

How to do in TextView so that when entering text it stays as a line only and the text box goes with it as you go? <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello Worl...
asked by 16.01.2016 / 00:46
1
answer

Add a button inside a Textview

I have a text at the end of the text I want to put a button to see more, have to put type a hyperlink or have to create a button even on the side of Textview ?     
asked by 24.03.2015 / 13:40