Problem when changing the default colors and drawables of Android

by guna » Thu, 30 Apr 2009 12:19:27 GMT


Sponsored Links
 Hi all,

After a very long time i am posting question here... I tried to change
the default colors and drawable of android, (eg: Instead of orange
color drawable, while on focus, i want  to use my own color and in
pressing of buttons or lists, i want to show my own color, drawable
and style)... I am using the android cupcake version.... Any one tried
this or any other way? In which file i have to modify... I tried a
lot, but its not reflecting my drawable or my colors.....



Thanks,
Guna
--~--~---------~--~----~------------~-------~--~----~



Problem when changing the default colors and drawables of Android

by guna » Thu, 30 Apr 2009 20:19:13 GMT


 Hi all,

After a very long time i am posting question here... I tried to change
the default colors and drawable of android, (eg: Instead of orange
color drawable, while on focus, i want  to use my own color and in
pressing of buttons or lists, i want to show my own color, drawable
and style)... I am using the android cupcake version.... Any one tried
this or any other way? In which file i have to modify... I tried a
lot, but its not reflecting my drawable or my colors.....


Thanks,
Guna
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Problem when changing the default colors and drawables of Android

by guna » Thu, 30 Apr 2009 20:20:24 GMT


 Hi all,

After a very long time i am posting question here... I tried to change
the default colors and drawable of android, (eg: Instead of orange
color drawable, while on focus, i want  to use my own color and in
pressing of buttons or lists, i want to show my own color, drawable
and style)... I am using the android cupcake version.... Any one tried
this or any other way? In which file i have to modify... I tried a
lot, but its not reflecting my drawable or my colors.....



Thanks,
Guna
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Optional Permissions

Is there a way to make a permission optional for the user? 

 

I would like my app's user to be able to send emails to their contacts if
they want, but don't want them to have to approve the Contacts permissions
when the app is installed. What I'd like to do is have a button in the app
that they could click on, the app would check to see if it had that
permission, and if it didn't popup a dialog box to ask the user if they want
to give that permission, and only continue if they agreed, and disable that
feature if they don't want to.

 

Obviously this would have to be built into the framework for it to work, but
is it there now? Is there a way to grant an application additional
permissions after it is installed? 

 

Sincerely,

 

Brad Gies

 

 

-----------------------------------------------------------------

Brad Gies

27415 Greenfield Rd, # 2,

Southfield, MI, USA

48076

www.bgies.com  www.truckerphone.com 

www.EDI-Easy.com  www.pricebunny.com

-----------------------------------------------------------------

 

Moderation in everything, including abstinence

 


--~--~---------~--~----~------------~-------~--~----~

2. Compile error on Android SDK

I'm getting a compile error when I try to compile the SDK. Here's what
I do, and the tail end of the errors...


build/core/product_config.mk:229: WARNING: adding test OTA key
build/core/main.mk:177: implicitly installing apns-conf_sdk.xml
host C++: aapt <= frameworks/base/tools/aapt/XMLNode.cpp
frameworks/base/tools/aapt/XMLNode.cpp: In function `status_t
parseStyledString(Bundle*, const char*, android::ResXMLTree*, const
android::String16&, android::String16*,
android::Vector<StringPool::entry_style_span>*, bool)':
frameworks/base/tools/aapt/XMLNode.cpp:115: error: syntax error before
`,' token
frameworks/base/tools/aapt/XMLNode.cpp:125: error: syntax error before
`,' token
frameworks/base/tools/aapt/XMLNode.cpp:132: error: syntax error before
`,' token
frameworks/base/tools/aapt/XMLNode.cpp:167: error: syntax error before
`,' token
frameworks/base/tools/aapt/XMLNode.cpp:176: error: syntax error before
`,' token
frameworks/base/tools/aapt/XMLNode.cpp:193: error: syntax error before
`,' token
frameworks/base/tools/aapt/XMLNode.cpp:221: error: syntax error before
`,' token
frameworks/base/tools/aapt/XMLNode.cpp:229: error: syntax error before
`,' token
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/
XMLNode.o] Error 1



Anyone got any ideas of what might cause this?

- Ian Beveridge

--~--~---------~--~----~------------~-------~--~----~

3. Looking for an Android developer for howcast.com

4. Newbie.....Plz help..

5. Orientation sensor questions

6. I am trying to use the PreviewCallback but i get an IOException saying: "startPreview failed". I run the emulator in the debugger.

7. WebKit: WebView loading https site (redirection losing form values)