Questions tagged as 'textview'

0
answers

I can not 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) findViewById(R.id.tex...
asked by 16.08.2018 / 20:55
1
answer

Define 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 may have size variation (they assume the value of a numeral that can range from 0 to 1000) so I'm assigning fixed values for the width of them....
asked by 30.07.2018 / 17:33
1
answer

close 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 layout. public class Calendario extends A...
asked by 29.06.2018 / 17:29
0
answers

Update data in a TextView automatically in Android Studio

I am putting together a project where I need my application (made in android studio) to pull data from a local server and update automatically without needing a refresh or swipe to refresh button. At the moment I am, I can pull the data throu...
asked by 22.05.2018 / 00:42
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
0
answers

How to put text view imagebutton

I'm trying for a textview in the imagebutton of an activity in android studio but I'm not getting it. Someone who can help me? imagebutton is this: <ImageButton android:id="@+id/ok" android:layout_width="266dp"...
asked by 12.02.2018 / 01:43
2
answers

Save sentence in TextView when closing the app

I have many sentences that will be displayed in a TextView, whereas I will click on the button and there will be new sentences, I would like to know if the phrase that is in index 0, when clicking it is to index 1, if I close the app and open ag...
asked by 16.10.2017 / 19:11
0
answers

Error in compiling my .tex file

The error gives me the indication of some problem in the file subcaption.sty , resulting in the following error:   ! Undefined control sequence.   l.64 \ caption @ AtBeginDocument   {%   The control sequence at the end of the top line...
asked by 17.05.2017 / 21:03
1
answer

Error using Long.parseLong to capture value from an EditText to a variable of type LONG

I've created an app that contains only one activity. In this activity there are 3 EditTexts and 1 TextView . I created 3 variables of type long ( l01, l02 e l03 ) to receive the value of 3 EditTexts . MainActivity: pa...
asked by 30.01.2017 / 21:57
1
answer

How to assign values to variables through CheckBoxes and from there to create specific TextViews in another activity

I would like values to be assigned to a variable according to the selection of a given CheckBox in my project. In an example. If the first checkbox was selected, the following variable was assigned: cont+=1. If the second checkbox w...
asked by 08.01.2017 / 22:52