android-textattributes Questions
31
Solved
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 and name are variables that ...
Mischief asked 17/1, 2013 at 2:2
28
Solved
I am using the new TextInputLayout from the design library. I am able to get it to show and to change the color of the floating label. Unfortunately the actual EditText hint is now always white.
...
Vanbuskirk asked 13/6, 2015 at 22:3
4
Alot of people are noticing EditText in an activity is holding a Strong Reference to an Activity even once its finished. To be clear this EditText is inside a layout and inflated, there is no Liste...
Usurer asked 21/8, 2013 at 2:44
4
Solved
I have a very specific issue for changing the outline of the textbox for TextInputLayout when it's unfocused. I can't seem to find an attribute to change the color for the border of my "unfocused" ...
Clerk asked 5/9, 2018 at 1:6
5
I have a question similar to this but I am wanting to make only the text on the button flash. I don't want the button background to also flash.
This is my R.anim.blink.xml file:
<?xml version=...
Nappie asked 22/8, 2017 at 10:46
3
Solved
I'm trying to add android:lineSpacingMultiplier in my textAppearance style (android:textAppearance), and it's not working. Am I doing something wrong?
TextAppearance style:
<style name="TextAp...
Phyto asked 13/2, 2017 at 22:20
2
Solved
According to Android Developer Design Style for Typography, there are 4 TextAppearances (Micro, Small, Medium, Large).
But there is no predefined style for Micro:
?android:attr/textAppearanceMicr...
Eyeful asked 19/6, 2014 at 7:45
6
Solved
How can I know that some text contain "http://www." I want to show domain in Web View. Domain name is written in TextView but there is no restriction to add prefix. If user didn't enter it I have t...
Velamen asked 18/5, 2012 at 9:54
1
Solved
I have implemented a custom TextView, then I need to change its text size for future usages. At that step I decided to make its textSize custom with using style.xml and attr.xml
However I am getti...
Latinist asked 2/7, 2015 at 15:10
1
I have a textview that contains hashtags ex. #first #second #third. My question is how can I detect which hashtag is clicked so I can perform some action - eg. make toast of the word.
Is this...
Specify asked 18/8, 2014 at 12:27
3
Solved
I'm trying to change the TabWidget text color, without success, even though I've tried different way to change it (see code below.)
My background tabs is an image:
for (int i = 0; i < tabHost....
Alastair asked 25/6, 2012 at 15:58
1
I have overriden the textview class and I want to perform some things when the textappearance is small.
How do I check the textappearance that has been set by the xml layout file?
Extravagance asked 24/1, 2012 at 8:1
1
© 2022 - 2024 — McMap. All rights reserved.