Jump to content


* * * * * 2 votes

Themers' Collaboration


  • Please log in to reply

#11 travp624

travp624

    Themer

  • 1,886 posts

Posted 14 January 2012 - 07:41 AM

View PostFatsix, on 14 January 2012 - 05:56 AM, said:



Here is a quick chart that i threw together for alpha layer % opaque (aka transparency). I can post directions on how to figure out easily if needed, but these are the main values that i use.
Code -- % Opaque
31 ----- 20%
59 ----- 35%
7F ----- 50%
A5 ----- 65%
[color=#282828]CC ----- 80% [
Open windows calculator select view and select programmer mode enter transpancy value as Dec 0-255 then hit Hex it auto converts it giving you the hex transparency value!
Sent from my Galaxy Nexus using RootzWiki

Posted Image

Time to get everyone BAKED

Black Android Kang Everyone Desires


#12 Masterzoltar

Masterzoltar

    Average Android

  • 92 posts

Posted 14 January 2012 - 07:51 AM

Great post. Lots of info. Thanks! Look forward to trying some of this out.
Posted Image

#13 travp624

travp624

    Themer

  • 1,886 posts

Posted 14 January 2012 - 07:51 AM

View Postquinolin, on 14 January 2012 - 07:14 AM, said:

Can you elaborate how this is accomplished? Can this be done in apk multi-tool alone or does this include any steps using apktool (e.g., apktool if framework-res.apk)
This is only true for non-system apps, correct?


Thanks again for getting this thread started, looking forward to seeing the content expanded and refined over time.

The easiest way to do this is exactly how your showing it!

But for those who don't know take the framework-res.apk outta whatever rom your working with and place it in the "other" folder of your apkmultitools. Hold Shift and right click choose open cmd window here and simply type in "apktool if framework-res.apk".

Now when it comes to aosp or stock android there are no apps that really need dependency's. However moto or htc phones do sometimes require this. Moto for example has blur-res.apk or something like that. These dependencies can all be set the same exact way as setting the framework-res.apk.

Also keep in mind when working with different roms be it stock or custom or blur or sense. You need to make sure your using the framework and other dependent apk's for that rom. ie. don't use a blur framework with a sense rom.

Edited by travp624, 14 January 2012 - 07:52 AM.

Posted Image

Time to get everyone BAKED

Black Android Kang Everyone Desires


#14 Fatsix

Fatsix

    Android Master

  • Members
  • 550 posts

Posted 14 January 2012 - 07:52 AM

View Posttravp624, on 14 January 2012 - 07:41 AM, said:

Open windows calculator select view and select programmer mode enter transpancy value as Dec 0-255 then hit Hex it auto converts it giving you the hex transparency value!
Sent from my Galaxy Nexus using RootzWiki

yup.
Decimal v= p(%) x 255 / 100
Hex = profit

Edited by Fatsix, 14 January 2012 - 07:53 AM.

Galaxy Nexus CDMA

#15 poontab

poontab

  • 2,146 posts

Posted 14 January 2012 - 09:22 AM

Stickied

#16 quinolin

quinolin

    Android Beginner

  • Members
  • 52 posts

Posted 14 January 2012 - 09:34 AM

Ok, I just gave this a whirl. Pulled framework-res.apk and systemui.apk from the custom ROM I am currently using. After 'apktool if framework-res.apk', I decompiled the systemui.apk without problems. I went ahead and replaced only 2 png's in the \res\drawable-xhdpi folder (within the project-folder). Started the compiling process, as a system app and used the keep-function. Went into the keep-folder and in there deleted the appropriate png's (representing the ones I had modified in the project folder). Finished compiling without error, so now I have this 'unsignedSystemUI.apk'. I went ahead and opened this apk in 7zip and to see what I have. Looked for my modified png's. There are there - yay - but I noticed that under 'method' it says 'Store' and under 'HostOS' it says 'Unix', whereas for all other files in this folder (which I didn't modify) it says 'Deflate' and 'FAT', respectively.

Not sure what that means and if that has any bearing on being able to actually push that modified SystemUI to the phone. Can someone explain / help?

Thanks in advance.


Edit: If my questions are derailing the thread, I'd gladly take this issue offline via PM or gmail (quinolin@gmail.com).

Edited by quinolin, 14 January 2012 - 10:14 AM.

Beta-Tester for ICSourcery Team

#17 jleech330

jleech330

    Member

  • Members
  • 94 posts

Posted 14 January 2012 - 11:03 AM

Can anyone give me a basic tutorial on how to use apk tools. I am just looking to change some of the systemui.apk and changing some of the icons to different pictures. I have looked for guides on how to do this but cannot find a guide anywhere Thanks!! appreciate any help

#18 Mastur Mynd (OP)

Mastur Mynd

    BAKED out of my mynd

  • 1,191 posts

Posted 14 January 2012 - 01:27 PM

Check the second post. I reserved that post just for apk manager/apk multi-tool

Sent from my Galaxy Nexus using RootzWiki

Posted Image
Samsung Galaxy Nexus - BAKED - Franco


#19 striker1553

striker1553

    Member

  • Members
  • 15 posts

Posted 14 January 2012 - 02:36 PM

this could be a VERY useful tool. I'm involved in online game communities a lot where making game-based themes would be tits. Of course, most games would require the proper permissions, but who knows... the sky really is the limit here isn't it! Thanks Mastur Mynd for the idea!

Edited by striker1553, 14 January 2012 - 02:36 PM.


#20 akellar

akellar

    Android Addict

  • Site Contributor
  • 3,632 posts

Posted 14 January 2012 - 07:57 PM

Here's a great program for mass resizing and/or renaming pngs. http://www.faststone...sizerDetail.htm