[All Carriers]Touch Wiz Themeing Questions

Search This thread

TeamERA

Senior Member
Nov 2, 2011
586
306
Everywhere
You have the correct framework resources installed?

Ah I forgot to load the framework file, good call man...

And you know whats funny, is Ive found the name/location of this file the hard way, and Ive been told twice before. Either the files are just really wacky this time around, or that file name/location is a curse for me :(. Ive seen it be a single dot.9 patch fill file (really small), and Ive seen it be a bigger image, and Im still looking. But my eyes are killing me now.
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
Minneapolis
Ah I forgot to load the framework file, good call man...

And you know whats funny, is Ive found the name/location of this file the hard way, and Ive been told twice before. Either the files are just really wacky this time around, or that file name/location is a curse for me :(. Ive seen it be a single dot.9 patch fill file (really small), and Ive seen it be a bigger image, and Im still looking. But my eyes are killing me now.

I remember you saying something about that a few months ago on the ET4G. I looked but couldn't find anything that looked like it might be it, more importantly I didn't find anything in the xml files that would point to that.

If you haven't seen it go back to my last post on page 2. That is what I found in the xml files.
 

TeamERA

Senior Member
Nov 2, 2011
586
306
Everywhere
Yeah, well if I remember right it was always a file, not an xml edit. The hard way was to add diff color dots to each black image I came across in drawable-hdpi on the et4g, now xhdpi, but that took forever. I may have to do the same thing. But ill ask around first, maybe tomorrow. Im about to be gettin down for the fourth ;) At home this year, but still fun. So I wont post in anyones theme thread just yet, since Id rather people have fun today :)


Edit, and the thread your thinking of was for the actually notification box, like when you get a text message. But I have had several of those threads also. The one where you helped was an xml edit because it was for cm9 I think.
 

Swiftks

Retired Forum Moderator
Mar 16, 2011
3,741
1,910
The Woodlands, TX
Just the thread I was looking for...

Haven't done a whole lot of ICS themeing (GB use to be so much easier), and especially not with TouchWiz. Anyway, I have the following questions in reference to the screen shot below. Most of these changes, if not all, I believe are in the SystemUI. Any help would be much appreciated. Thanks.


1) How the hell do you get rid of the carrier ID? Also, if I wanted to move it to where the date currently is in the notification menu, how would this be accomplished?

2) How do I change the quick menu toggle color? Is it a hexcode or a png... haven't been able to find it anywhere? Maybe in the framework-res?

3) For future's sake & reference which xml is this color at (the background for the toggles)?

4) How do I right align the date by the settings button?

5) Text color location for this?

6) Background Color for this?

71689693.png



F.Y.I. This apk manager works perfect for decompiling and recompiling the systemui and framework-res, for the SGS3. Don't forget to install your framework-res first.
http://wanamlite.com/forums/showthread.php?tid=30
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
Minneapolis
Ok, I guess it's time for me to dig in. I'll start working on xml's tonight.

2 is tw_quick_panel_off.9.png & tw_quick_panel_on.9.png
 

Bizdady

Senior Member
Jul 24, 2010
2,353
569
818
Just the thread I was looking for...

Haven't done a whole lot of ICS themeing (GB use to be so much easier), and especially not with TouchWiz. Anyway, I have the following questions in reference to the screen shot below. Most of these changes, if not all, I believe are in the SystemUI. Any help would be much appreciated. Thanks.


1) How the hell do you get rid of the carrier ID? Also, if I wanted to move it to where the date currently is in the notification menu, how would this be accomplished?

2) How do I change the quick menu toggle color? Is it a hexcode or a png... haven't been able to find it anywhere? Maybe in the framework-res?

3) For future's sake & reference which xml is this color at (the background for the toggles)?

4) How do I right align the date by the settings button?

5) Text color location for this?

6) Background Color for this?

71689693.png



F.Y.I. This apk manager works perfect for decompiling and recompiling the systemui and framework-res, for the SGS3. Don't forget to install your framework-res first.
http://wanamlite.com/forums/showthread.php?tid=30

I believe 2 and 6 are png files. 3 for sure is a very small .9 dot image

#2 i think is tw_quick_panel_on.9.png

Sent from my Samsung Galaxy SIII using Tapatalk
 

AvatarOfFrost

Senior Member
Apr 11, 2010
671
286
How do I de-compile any of the touchwiz apk's.
ApkManager doesn't work anymore.
Is there anything else fairly simple that we could use to de-compile?

EDIT: saw the post above with the link to the new apkmanager.
thanks.
will give that a try.
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
Minneapolis
@TeamERA:

Found it, and it is an xml. tw_status_bar_tracking.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <FrameLayout [COLOR="Red"]android:background="#ff000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
    <com.android.systemui.statusbar.phone.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_status_bar_close_on" android:scaleType="fitXY" />
    </com.android.systemui.statusbar.phone.CloseDragHandle>
</com.android.systemui.statusbar.phone.TrackingView>
I changed it to #88000000 and it became semi-transparent.

@Swiftks: We don't have the carrier in the status bar on the Sprint version. It's in the location where you want it on yours, same with the date.
 

Bizdady

Senior Member
Jul 24, 2010
2,353
569
818
nicely done shane! Can't wait to try it out lol

Sent from my Samsung Galaxy SIII using Tapatalk
 

TeamERA

Senior Member
Nov 2, 2011
586
306
Everywhere
@TeamERA:

Found it, and it is an xml. tw_status_bar_tracking.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <FrameLayout [COLOR="Red"]android:background="#ff000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
    <com.android.systemui.statusbar.phone.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_status_bar_close_on" android:scaleType="fitXY" />
    </com.android.systemui.statusbar.phone.CloseDragHandle>
</com.android.systemui.statusbar.phone.TrackingView>
I changed it to #88000000 and it became semi-transparent.

@Swiftks: We don't have the carrier in the status bar on the Sprint version. It's in the location where you want it on yours, same with the date.



So whats the color code for 95% transparent?

Edit: actually, Im thinking gimp, what I mean to say is adding 5% transparency.
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
Minneapolis
So whats the color code for 95% transparent?

Edit: actually, Im thinking gimp, what I mean to say is adding 5% transparency.
#F2000000 would be very close.

Think I might have found the location of the carrier id label for those that have it on the status bar.

tw_status_bar.xml
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
 

Moh_Jay

Senior Member
Sep 14, 2010
1,091
191
Could anyone help me on how to revert a transparent status bar (not pull down) back to being 100% non transparent?

Also could anyone tell me what to edit to change the order for which the toggles appear?

"All this knowledge is giving me a raging brainer!"
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
Minneapolis
Could anyone help me on how to revert a transparent status bar (not pull down) back to being 100% non transparent?

Also could anyone tell me what to edit to change the order for which the toggles appear?

"All this knowledge is giving me a raging brainer!"

Why is the status bar not transparent? So far I've found 2 places where you can change the status bar back ground. One is the drawables.xml and the other is in the tw_status_bar.xml.

The toggles is smali. If you would want to tackle that sbrissen or Maddoggin is who I would ask, but you had better have some java and smali experience before even asking them about this.
 

Bizdady

Senior Member
Jul 24, 2010
2,353
569
818
Could anyone help me on how to revert a transparent status bar (not pull down) back to being 100% non transparent?

Also could anyone tell me what to edit to change the order for which the toggles appear?

"All this knowledge is giving me a raging brainer!"

Off top of my head you need to change the color in drawables xml back to black and change the status bar smali back to const 0x4 (transparent line is -0x3).

Ok in StatusBar.smali
Code:
const/16 v16, -0x3
needs to be changed back to
Code:
const/16 v16, 0x4


Sent from my Samsung Galaxy SIII using Tapatalk

---------- Post added at 11:14 PM ---------- Previous post was at 10:17 PM ----------

So got it to stick, went with 50% but it looks a little funny lol

Screenshot_2012-07-04-23-12-07.png
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
Minneapolis
Off top of my head you need to change the color in drawables xml back to black and change the status bar smali back to const 0x4 (transparent line is -0x3).

Ok in StatusBar.smali
Code:
const/16 v16, -0x3
needs to be changed back to
Code:
const/16 v16, 0x4


Sent from my Samsung Galaxy SIII using Tapatalk

---------- Post added at 11:14 PM ---------- Previous post was at 10:17 PM ----------

So got it to stick, went with 50% but it looks a little funny lol

Screenshot_2012-07-04-23-12-07.png

Did you have to adjust the status bar smali or were you able to do it with an alpha adjustment in the drawables.xml?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Since the carriers were split up and the most posts in the original thread came from the AT&T themers, I think we should make that the main thread.
    [All Carriers]Touch Wiz Themeing Questions
    Please post in the thread linked above so we can keep all the info in one thread.

    Thanks,
    Shane


    Since themeing Samsung's TouchWiz UI is not quite as simple as AOSP, and sometimes even device specific, I thought it would be nice to have thread for the themers here to help each other, post tips and things like that so we can all learn and get some killer themes going on this thing.

    Also, (if this gets becomes a sticky) we can keep the themeing question threads to a minimum.

    For those of you that don't know me, I've been themeing Android for about a year and a half now. I started on the Epic 4G then moved over to the Nexus S 4G. I'm always willing to help others at time permits.

    Happy Themeing!

    Since the US carriers were combined into one forum, please note the carrier for you device when posting.

    When people are helping you make sure you use the "Thanks" button to show your appreciation!

    Here are some goodies that have been posted so far.

    Remove Carrier ID from status bar on AT&T rom: Thanks to mrvirginia & deserted1 Here

    Guide to remove Carrier ID / Clock from the status bar by deserted1

    How to center the clock by Swiftks

    Some more status bar mods thanks to freeza

    There are many other tips, hints, how to's, and tools in the thread so please search to help keep the thread clean.
    1
    I found this to work better for making it dissapear,
    Code:
    <com.android.systemui.statusbar.phone.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />

    notice how i changed its width and height, to 0.0dip.. this removes it.

    if i remember correctly you have to find both lines one in statusbar and the other in status extended, the statusbar file is just the lockscreen statusbar from what i have found.

    I did this and it works

    well, if you read back, i added android:visibility="gone" to this line and that made it disappear. but as soon as you extended the status bar, it came back. as far as i can tell, CarrierLabel is only showing up in one xml file other than ids and public iirc. i'll check the expanded really quick...
    edit: yep, not sure how i missed tw_status_bar_expanded... i'll make edits to both and see how that goes.
    edit: 0.0dip put in both worked! it is gone. finally. jeez. i'll post a stock deodexed ATT apk for those that may want it here in a second.
    1
    How do I edit the status bar from being black? I want to make it Grey.
    values/drawables.xml edit
    Code:
    <item type="drawable" name="status_bar_background">#[COLOR="Red"]ff000000[/COLOR]</item>
    1
    change Clock and Date, lockscreen

    Hey, sorry if this was touched on, but I did read the whole thread and then ran a search.

    I'm wondering how I might change the text of the Lockscreen, specifically the clock and date. I want to remove the outline from clock, change the color of date, and remove the drop shadow of all of the text.

    In addition, is there a way to use custom icons on the lock screen?

    I love the ripple lock, but its lack of customization options stinks.
    well, i know that the clock are just images in framework-res in the drawable-xhdpi folder. Shane is prob right in regards to the date in layout.xml of that same file.

    give me a second and i'll find the date colors. i found where they're called in but there wasn't any type of identifier for the text color :confused:
    edit: alright, it took a lot of hunting around to figure this out haha looks like Shane was correct after all.
    res\layout-sw360dp\keyguard_circlelock_clockwidget.xml
    change (line 21)
    <TextView android:textSize="20.0dip" android:textStyle="bold" android:textColor="#fff6f7c9" android:gravity="bottom|center" android:id="@id/zzz_date_month" android:layout_width="fill_parent" android:layout_height="24.0dip" android:layout_marginTop="2.0dip" android:shadowColor="#aa000000" android:shadowDy="2.0" android:shadowRadius="1.0" />

    also, the AM/PM color, i think that is line 18 of this same file as android:textColor="#fff8f8f8"
    edit: and the shadow can be found with this AM/PM line for it, respectively. for this one, you'll need to change shadowDx and shadowDy, as well as radius to 0.0. that'll get rid of shadows

    edit: this post has been updated with the correct file location for making these changes. it does work now
    1
    I've got one question. I'm trying to look for the files to edit the TouchWiz launchers page indicator icons/colors. Basically, those little circles right above the icons for the dock. In MIUI, I use to change them to X's or basically other images. Would anyone be able to point me in the right direction of this?
    They are in the SecLauncher2.apk => res\drawable-xhdpi => 'pageindicator' pngs. ;)