Questions tagged as 'textview'

1
answer

The Horizontal ScrollView of a TextView slide automatically when inserting dynamic text

I have a simple layout as shown below that has a ScrollView horizontal when it exceeds the limit of TextView . But I would like when inserting text the focus of TextView always stays in the last value entered and do...
asked by 06.01.2016 / 22:15
1
answer

android text gradient

Is it possible to create a gradient in the text (and not the background ) of a textView using XML only? I know that using shader can do with code ( here >) Is it possible to do this using only XML ?     
asked by 24.05.2016 / 15:43
3
answers

Animate the text of a textView so that it can be displayed progressively?

I would like the textView text present in my activity not to be displayed all at once, but gradually, something like a Power Point transition. An example of what I want to do exactly would be dialogue texts from the GBA pokemon games SEE FRO...
asked by 20.03.2017 / 22:36
1
answer

How to format text in a TextView?

I want to add formatted text (can be in html) on my TextView screen but I'm not getting it. I have the string in the values: <string name="lbl_explicacao"> <![CDATA[ <b> TESTE </b> TESTE...
asked by 17.11.2016 / 20:10
1
answer

How to set SELECT values in TextView?

I have the following class for database queries: package com.example.tais.books.Dados; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; /** * Created by Tais on 27/10/2016. */...
asked by 02.11.2016 / 00:16
1
answer

I wonder if it is possible to have a phone mask in a text view

I would like to know how to get a phone mask in a text view field. In my case I have a listView with contacts where on each line of this listView the contact name and the phone appear. I would like the phone to have the (##)####-####...
asked by 06.01.2016 / 13:46
2
answers

Textview with scratched letter

How can I get this result ̶W̶a̶l̶l̶a̶c̶e̶ ̶R̶o̶b̶e̶r̶t̶o̶c̶ equal in the name of the first list below ... the list is scratched because I did it on the server side .. the intention and leave the result of the table of the middle scratched...
asked by 18.10.2017 / 21:50
1
answer

Insert marginRight into a TextView by Java code

I've made the following code to insert TextViews into a LinearLayout already defined. public void inserirLacunas(){ LinearLayout ll = (LinearLayout) findViewById(R.id.layoutLetras); for(int i = 0; i < palavraCerta.length(); i++...
asked by 17.08.2015 / 19:09
1
answer

How to display a parse String in a Textview? [closed]

I'm trying to add an image with a description on the parse server. I have already been able to add the description of the image by objectId , but the problem is that I do not know how to display the text of the image in a textvie...
asked by 19.01.2017 / 19:28
1
answer

Correctly change text using TextSwitcher

I need to use a TextSwitcher component with the intention that when the user moves this TextSwitcher to the right as well as to the left the text of the same will be changed. For this I created a variable of type String[]...
asked by 10.08.2015 / 01:48