Linked Questions

2 votes
1 answer
26k views

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 ...
user661135's user avatar
3 votes
4 answers
6k views

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.
Diptangsu Goswami's user avatar
4 votes
1 answer
7k views

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 ...
Nick's user avatar
  • 9,393
-2 votes
1 answer
9k views

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 ...
stapan's user avatar
  • 13
0 votes
1 answer
648 views

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 ...
user1078760's user avatar
223 votes
12 answers
380k views

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 ...
Ata's user avatar
  • 12.7k
131 votes
9 answers
178k views

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" ...
jul's user avatar
  • 37.6k
88 votes
14 answers
286k views

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, ...
user2260040's user avatar
  • 1,418
56 votes
18 answers
93k views

How can I change the color of the button(s) in an AlertDialog in Android?
mtr's user avatar
  • 589
75 votes
8 answers
94k views

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 ...
rickyalbert's user avatar
  • 2,682
68 votes
10 answers
29k views

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?
Cris's user avatar
  • 12.2k
40 votes
4 answers
148k views

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/...
Daniel's user avatar
  • 539
25 votes
3 answers
48k views

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 ...
M0NKEYRASH's user avatar
6 votes
2 answers
34k views

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 ...
Nyx's user avatar
  • 73
11 votes
2 answers
70k views

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?
David Dyon's user avatar

15 30 50 per page
1
2 3 4 5