Most voted "textview" questions
Textview is used to display text to the user, as well as Swing Jlabel.
Learn more…68 questions
Sort by count of
-
0
votes2
answers1978
viewsTextview - Leave only one word in Bold
I have a TextView which displays the following text on the screen: Like this: value: PROMOTION! As I wish: value: PROMOTION! Has as put Bold in just one word from TextView? I mean, there’s a way I…
-
0
votes1
answer464
viewsHow to change the color of a Hyperlink in android studio?
I can do Hyperlink perfectly, the problem is that your color is not contrasting well with the background of my application (follows picture): I would like to know how to change your color, since…
-
0
votes1
answer359
viewsCentral alignment appears correctly in the Activity preview, but not when running the app?
I put alignment to the center for all textView and in the preview of Activity, still in android studio, all right: But when I run the app the same doesn’t happen: Even if you set the layout_width of…
-
0
votes1
answer178
viewsDynamic total according to Android Numberpicker
I am using Numberpicker so that the user selects the quantity. Each numberpicker has a total that already appears on the screen according to the amount selected by the user. Example: Numberpicker 1…
-
0
votes2
answers131
viewsAssign values to a Alertdialog views
I created a custom layout for my Alertdialog with a Textview in it, and an image, but I can’t put values in it. Does anyone know how to solve? Follows the code: private void carregaAlert(){ View v =…
-
0
votes1
answer762
viewsUpdate Textview Android Using Handler
I started Programming now on Android, and I need to update a Textview after receiving a string from a Socket connection. I get the string correctly but the apk closes giving an exception: 10-01…
-
0
votes1
answer582
viewsHow to take the item information from a java listview and insert it into an android studio textview?
I am learning to program, and I started a project in q shows the information about the Formula 1 teams, such as pilots, age, nationality and titles of each. When you click on an item, you will be…
-
0
votes0
answers633
viewsUpdate data in a Textview automatically in Android Studio
I’m building a project where I need my app (made in android studio) to pull data from a local server and update automatically without needing a "refresh" button or a "Swipe to refresh". At the…
-
0
votes0
answers37
viewsChange text from Textview
I have a Textview to which I use a String as the text, I wanted to know if it is possible through a click to change this String(text) to a new text that is typed. public class Texto extends Activity…
-
0
votes1
answer298
viewsclose alertdialog open with inflate
I have a project with an open dialog box with an inflate giving the user the option to type a text to change the value of a String. I’m having trouble closing this box and going back to the previous…
-
0
votes1
answer161
viewsSet the width of a Textview by the maximum number of characters
I’m creating a layout_item for my Listview, but I want all elements to be aligned, but some Textview can have size variation (they take the value of a numeral that can vary from 0 to 1000) so I’m…
-
0
votes0
answers39
viewsI cannot return data from the firebase user to display in edittext, how do I?
The Code I’m using is this: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_cotacao); mTextView = (TextView)…
-
0
votes1
answer51
viewsHow to share Bitmap Generated Image
Staff would like to know how I share an image generated within the app, in the scope of the app the person writing in the text view captures and generates an image would like to share that image via…
-
0
votes1
answer52
viewsAutocompletetextview with suggestions, from a web service
I have a Autocompletetextview that from a php api returns suggestions to the user based on values contained in my database. php autocomplete.: include_once('../includes/config.php'); $connection =…
-
-1
votes1
answer1206
viewsFormat Int Variable in R$ currency on Android
I use Maskformatter lib to format Edittext fields. But now I’m getting a value of an int variable and wanted to format it in the value of currency R$. Example: in the variable containing 1000…
-
-1
votes1
answer93
viewsHow to keep Textview centralized in the emulator?
I’m a beginner in development and I started learning how to develop for Android with Android Studio 3.1.1. In one of the exercises I am doing, it is necessary to recover which checkbox was checked…
-
-1
votes1
answer22
viewsI can’t drag Textview to Layout in Android Studio
Good afternoon. I’m starting at Android Studio. Already in the installation of Android Studio, already gave problem. When I was installing, my wifi turned off, and stopped the installation. Then I…
-
-1
votes1
answer42
viewsHow do I add a value that I calculated from an informed data that appears in a new Textview?
I need to calculate the maximum heart rate from the age informed by the user (fcm = 220 - age). I created the fields to capture the name and age, but I can’t make the calculated fcm appear on the…