You have the correct framework resources installed?wow, because I just got a ton of errors, and I just had to download the 64bit version of java sdk, I forgot to do that when I got the new laptop last week. But this is what I just seen
You have the correct framework resources installed?wow, because I just got a ton of errors, and I just had to download the 64bit version of java sdk, I forgot to do that when I got the new laptop last week. But this is what I just seen
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.
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?
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
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?
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 abode with the link to the new apkmanager.
thanks.
will give that a try.
<?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>
@TeamERA:
Found it, and it is an xml. tw_status_bar_tracking.xml
I changed it to #88000000 and it became semi-transparent.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>
@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.
#F2000000 would be very close.So whats the color code for 95% transparent?
Edit: actually, Im thinking gimp, what I mean to say is adding 5% transparency.
<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" />
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!"
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!"
const/16 v16, -0x3
const/16 v16, 0x4
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.smalineeds to be changed back toCode:const/16 v16, -0x3
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
Wanted to see if someone could help me with this...
I am trying to center my status bar clock, but also have it "disappear" when I get a notification. Just like it does normally. I have the clock centered, but when a notification pops up, only the battery, signal bars, etc. disappear, and the notification text is overlapped on top of the clock. Below is the my current tw_stats_bar.xml (center clock in bold/red):
Code:<?xml version="1.0" encoding="utf-8"?> <com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"> [B][COLOR="red"]<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"> <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" /> </LinearLayout>[/COLOR][/B] <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0"> <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" /> <ImageView android:id="@id/doNotDisturbIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_dnd" /> <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" /> <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" /> </LinearLayout> <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" /> <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent"> <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" /> <TextView android:textSize="12.0dip" android:textColor="#ffa6a6a6" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" /> <ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout> </LinearLayout> <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent"> <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip"> <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" /> <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" /> </ImageSwitcher> <com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0"> <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_old" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" /> <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_new" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" /> </com.android.systemui.statusbar.phone.TickerView> </LinearLayout> </com.android.systemui.statusbar.phone.PhoneStatusBarView>
I have also tried adding android:id="@id/icons as follows, but this results in the clock being centered and disappearing like it should, but all other icons on the right side (signal bars, battery, etc.) not disappearing, and thus they are overlapped with the notification text.
Code:<LinearLayout [B][COLOR="Red"]android:id="@id/icons[/COLOR][/B] android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent"> <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" /> </LinearLayout>
Thanks for your help.
in your first block of text, did you try just centering one of those instead of both? i wanna say the center on the policy.Clock is just centering it in it's block, while LinearLayout center should actually center it on the status bar... (or this could be vice versa)
you shouldn't need to mess with the second block at all since you're just trying to get the clock itself centered.
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff959595" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" />
<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" />
<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" />
<com.android.systemui.statusbar.phone.CarrierLabel android:textSize="@dimen/status_bar_expanded_plmn_text_size" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:paddingLeft="11.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/date" android:layout_alignParentLeft="true" android:layout_centerVertical="true" />
<com.android.systemui.statusbar.phone.CarrierLabel android:textSize="@dimen/status_bar_expanded_plmn_text_size" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:paddingLeft="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_toLeftOf="@id/date" android:layout_alignParentLeft="true" android:layout_centerVertical="true" />