This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to create Custom Ratings bar in Android
The inbuilt rating bar is too big for my application . How can i reduce its height & width?
Also the color of the stars should be orange & not green . How can i achieve it ?
Also can i have the rating bar in vertical next to a image on my screen ? if yes how ?
for the first question, I think that link is the one what you want to make . also for second, I believe that you can get it by defining in xml.
Related
This question already has answers here:
How do I change the background color of the ActionBar of an ActionBarActivity using XML?
(21 answers)
Closed 6 years ago.
I am newbie to android and i am working on a demo related to actionbar and fragments,I have done with it but now i want to change the colour of my actionbar,I have tried below link which gives me exception,
Change Color of Actionbar in Android
So,Can anybuddy helps me to do it?
Thanks in advance,Dont close it as i couldnt find any solution so far.So i request you to guide rather than close the question.
I think that this answer will fit all your requirements - change-color-of-actionbar-in-android.
You simply need to modify your Theme.
This question already has answers here:
Android Seekbar with two thumbs
(5 answers)
Closed 6 years ago.
I use a seekbar with two thumb in my application and would like to customize it.
I want to change the drawable(I want to use my own image). How to do it?
Basically you will need Range Bar. User can set Range between two numbers
Check this lib - https://github.com/oli107/material-range-bar
Above library is also supports Material design which provides rich UI
Hope it will help :)
This question already has answers here:
Switching application-wide theme programmatically?
(2 answers)
Closed 8 years ago.
i'm encountering an issue. I'm developping an Android application which contains several Activities. And i want to let the user choose black or white design dynamically. My issue is that i don't know how i must change the design for my Activites when they're on the backstack. I though about 2 options :
Change programmatically the color of each view on each activity.
Do two versions of each activity. A black one and a white one and switch beetween them according to the user color choice.
Which one is the better way ? Is there another way to achieve this ?
Regards.
You want to use Themes, and you can apply theme before calling super.onCreate()
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Text with gradient in Android
I'm trying to make a button for my app with a white background and gradient-colored text. However, everything I've found gives advice for making only the background a gradient color using a separate XML file. Can someone please tell me if it's possible to have only the text of a button colored with a gradient and how to do so?
Make a clickable textView with gradient color and set its background as you wish.
Follow the link specified by #SidharthLele.
This question already has answers here:
Is there an easy way to add a border to the top and bottom of an Android View?
(25 answers)
Closed 8 years ago.
I saw many related discussions but didn't find a suitable solution. What I need to do is to create a black border on the top and the bottom sides of an EditText widget. Is that possible?
This is possible with a NinePatchDrawable background.
http://developer.android.com/guide/topics/resources/drawable-resource.html#NinePatch
Yes, it is. Just create your custom EditText or set a suitable drawable as a background.