settext Questions
3
Solved
How do I setText to a Material Design TextInputLayout (Material Design) in Android Studio?
//setValue
BarCode.setText(MainPage.ResultCode.getText());
TextInputLayout BarCode;
@Override
prote...
8
I am having trouble with setting text in a text view with format and multiple values.
holder.car.setText(R.string.mycar + lm.getCarName() + R.string.year + lm.getYear());
this is giving me " 214...
11
I have a problem, I want to click on the list, calling a new activity and rename the button to another name.
I tried several things, nothing worked, can someone please help me?
My class EditarTimes...
Beard asked 8/11, 2015 at 18:13
3
Solved
This is my ListActivity after clicking on the list it will start a new activity which shows Full detail of each attraction place. I have no idea how to implement Full detail page. Can you guys show...
Hence asked 31/5, 2011 at 1:54
5
Solved
I have a section of code where I want to change the text showing in a textView when the user selects an EditText box.
The problem I am having is that the textView only changes when I double click ...
Lomond asked 21/11, 2012 at 15:7
5
Solved
I'm having a problem that I've never had before in almost three years of developing with Android...
I want to take a picture and after the picture is taked, the EditTexts of the activity become cl...
Bookkeeper asked 14/11, 2012 at 21:6
1
Solved
I tried the following code for concatenation of 'number'(integer variable) and '$'(string) but I got a warning from android studio: "Do not concatenate text displayed with setText. Use resource str...
Gastight asked 7/6, 2020 at 13:8
4
Solved
I'm trying to clear the JTextArea.
Currently, I'm using
jtextarea.setText(null);
What is the difference if I use
jtextarea.setText("");
7
Solved
2
Solved
I want to display the connected ssid and ip address when the activity starts. It contais an image view (for title, because i'm not using the action bar) and 4 text view (ssid label, ssid value, ipa...
3
Solved
I'm trying to set the text of a button to "<<<" from my xml but I get an "Error:(20) Error parsing XML: not well-formed (invalid token)"
<Button
android:id="@+id/test"
android:text=...
5
Solved
I'm curious about the difference setText() and append() are creating. I'm writing a very basic editor with line numbers. I have a TextView to hold line numbers on the left, paired with an EditText ...
4
Solved
Trying to get started with Android development, and doing some basic work with TextViews..
For some reason TextView's setText() method is causing huge problems for me.. here's a simplified version...
1
Solved
4
Solved
How to dynamically change the content of a TextView from another part of the screen?
I have a TabActivity class that draws a RelativeLayout that contains a TextView followed by a with several tabs...
2
I am a newbie in android development,
I want to provide a number to setText, I am facing this problem and tried many ways to solve it.
Code is:
public class GameActivity extends Activity implements...
5
Solved
Maybe this is a silly question, but I cannot guess how to solve it if it's not creating a method. Maybe there's a "natural way" to do it, like in C for example. Here's the problem:
I have a ...
1
Solved
Qt5's documentation doesn't mention that QPlainTextEdit has setText(QString) like QTextEdit does. But, I don't think it's impossible. The only way I found is to use QTextDocument which can has setP...
2
why is that?
while (flag) {
outCPU.setText(getCpuInfo());
}
getCpuInfo returns string, if I try to write this method's return out into a log, there is everything that should be, but nothing happ...
2
Solved
I am setting text in TextView from string resource. Normally, Hebrew works in Right-To-Left format. When I set a text, it sets the text Right-To-Left format in LG, Samsung, Sony Phone but in HTC it...
3
Solved
Following iOS 8 code is called every second:
- (void)appendString(NSString *)newString toTextView:(UITextView *)textView {
textView.scrollEnabled = NO;
textView.text = [NSString stringWithFormat...
Pilotage asked 25/9, 2014 at 11:58
6
Solved
I'm trying to set the text of a UIButton on a new view when a "Next" button is pressed from a previous view. I have set the IBOutlet correctly and I've looked all over for answers to this but it ju...
1
Solved
In My app I'm using AutoCompleteTextView.
When the user select a result item, one of the option is inserting the selected text into the AutoCompleteTextView.
After inserting text, the cursor return...
Geehan asked 21/5, 2014 at 7:32
5
Solved
Hi and thank you for looking at my question.
I am an intermediate programmer in C but an Android newbie. I have been trying to get a chat programming working. Assuming everything else in the code b...
1
Solved
I try to display the text and image in Html.fromHtml() but it is doesn't work in image display.
message = (TextView) findViewById (R.id.message);
message.setText(Html.fromHtml(
"<p>...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.