Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Hakan Kahraman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic