Hi all,
I am trying to figure out how to design my custom menu style by
referencing this documentation -
http://developer.android.com/intl/zh-CN/guide/topics/ui/themes.html
I somehow don't get it. All I want to do is to change the background
color to something else than the existing grey shade.
To be short, yes.
You have to create a colors.XML file in Res/values.
Such as:
resources
color name=background#7fff/color
resources
Then in your main.XML you need to tell it to refer to this, such As:
android:background=@color/background
On Dec 16, 1:11 pm, Abhi
If you created this in styles as res/values/style
Are you referring to @style in your main.xml?
On Dec 17, 8:00 am, SandVoiD mitchell.ros...@gmail.com wrote:
To be short, yes.
You have to create a colors.XML file in Res/values.
Such as:
resources
color name=background#7fff/color
3 matches
Mail list logo