I have a situation, where there are two fields. field1 and field2. All I want to do is empty field2 when field1 is changed and vice versa. So at...
  • May 14, 2022
  • 0 Comments
What is meant by Ems (related to a TextView)? For example in android:ems setEms(int) Makes the TextView be exactly this many ems wide. 8 Answers 8
  • May 13, 2022
  • 0 Comments
I don’t know how to make a specific text on TextView become BOLD. its like this txtResult.setText(id+" "+name); I want the output to be like this: 1111 neil id...
  • May 13, 2022
  • 0 Comments
I have a textView in xml here. <TextView android:id="@+id/bookTitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:drawableLeft="@drawable/checkmark" android:gravity="center_vertical" android:textStyle="bold" android:textSize="24dip" android:maxLines="1" android:ellipsize="end"/> As you can see I set the DrawableLeft in xml. I...
  • May 13, 2022
  • 0 Comments
How do you get the text of a TextView to be Justified (with text flush on the left- and right- hand sides)? I found a possible solution here, but...
  • May 6, 2022
  • 0 Comments