This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Android and the fly likes Is it possible to change the black background color of android app drawer programmatically? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Is it possible to change the black background color of android app drawer programmatically?" Watch "Is it possible to change the black background color of android app drawer programmatically?" New topic
Author

Is it possible to change the black background color of android app drawer programmatically?

Hakan Kahraman
Greenhorn

Joined: Sep 12, 2013
Posts: 1


I'm working on an android apk in which the app drawer background is changed. I have searched through the internet. I have found 2 methods to change the app drawer's black background.

First one is using apktool, which decompiles launcher.apk and builds it back to apk format. In between the programmer do the required changes ( res/values/colors , background="..." ). Then sign and move it back to system/app folder.

Second one is using another application like GO Launcher, but I have to use my own application to change the black background color programmatically.

Is there a way to achieve this ( in eclipse for example ) ?

Thank you for your supports and answers in advance.
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

App drawer is a different application (Launcher.apk) and this application gets to decide how it draws the presentation. So unless this application exposes a way to affect its display, your app running in different process cannot do much.

The only option you have, as you have already found out, is to recompile the Launcher app and replace it on the device. Or, choose a different Launcher altogether.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is it possible to change the black background color of android app drawer programmatically?