Linked Questions
75 questions linked to/from Standard Android Button with a different color
2 votes
1 answer
26k views
Setting button color in Android [duplicate]
Possible Duplicate: Standard Android Button with a different color i would like to make a red button in my android application. i need it to be red from the start and i also need it to stay red ...
3 votes
4 answers
6k views
How to change color of Button on button tap in android studio [duplicate]
I have created a Button b with its background colour as black. When i click on it I want its colour to change to green only for the time I have my finger on it, i.e. I keep focus on it.
4 votes
1 answer
7k views
Android: Add outer glow to ImageButton [duplicate]
I have been looking at these posts: StateList , Different states What I really want is to add an outer-glow or some way to highlight the button onclick versus making different images for the ...
-2 votes
1 answer
9k views
how to change the color of the button in activity_main? [duplicate]
Hey guys i would like to ask how to change the color of the buttons in the activity_main.xml. The Buttons are from the palette of the eclipse and are not image views button but the simple ones. here ...
0 votes
1 answer
648 views
How to change a color for standard button? [duplicate]
Possible Duplicate: Standard Android Button with a different color I have 1 problem - I need to change a color for standard button. I do it using "background" property of button. But when I do it ...
223 votes
12 answers
380k views
Custom circle button
I want to create custom button and I need it to be circle. How can I create a circle button? I do not think that be possible with draw9patch. Also I do not know how to make custom button! Do you ...
131 votes
9 answers
178k views
How to grey out a button?
I have a button defined as shown below. When I want to disable it I use my_btn.setEnabled(false), but I would also like to grey it out. How can I do that? Thanks <Button android:id="@+id/buy_btn" ...
88 votes
14 answers
286k views
Android button background color
I am trying to set the background color of a button in my app and I am unable to achieve the result that I want... The color that I am trying to set is holo_green_light(#ff99cc00). In order to do it, ...
56 votes
18 answers
93k views
Change button color in AlertDialog
How can I change the color of the button(s) in an AlertDialog in Android?
75 votes
8 answers
94k views
Android material design buttons - Pre lollipop
How do I implement the "raised button" and the "flat button" as described in google's material design guidelines? Raised buttons add dimension to mostly flat layouts. They emphasize > functions ...
68 votes
10 answers
29k views
How can I improve the look and feel of an Android app?
I have seen that standard Android UI components have a poor look and feel. Can anyone provide me with some links or suggestions on how to improve the look and feel of an Android app?
40 votes
4 answers
148k views
Android button with different background colors
i want to change the background-color of a button using a selector-xml-file. My approach is basically the one from the example at the bottom this page: http://developer.android.com/guide/topics/...
25 votes
3 answers
48k views
[Android L]Android Material circular button
https://i.sstatic.net/7vvPa.jpg So, how would someone go about implementing the circular button that is showcased in android L? Also what is the technical name of the the circular button, XML code ...
6 votes
2 answers
34k views
Is it possible to specify border in android button?
Is it possible to specify border in Android button in the main.xml? [p.s. without the 'separate xml file containing stroke tag' but in the original file where I define the button and also without ...
11 votes
2 answers
70k views
How to change color of the toggle button? [duplicate]
Possible Duplicate: Change “on” color of a Switch I need to have a ToggleButton change color when it changes state from Green(true) to Red(false). How can I change ToggleButton color?