240 DPI In Jellybean off centered lockscreen fix? - Samsung Galaxy Nexus

Is there a way to fix the off centered lockscreen that occurs when your dpi is modded to 240 in Jellybean roms? I'm a little ocd and it kills me ahaha

For some reason, this seems to be really low on devs' priorities lists..
It bugs the hell out of me too, and I opened a thread about it a few days ago, including how I think it can be fixed (I'm not a dev, but I stumbled across a potential fix)
http://forum.xda-developers.com/showthread.php?t=1758873&highlight=lockscreen+center+mod
Nobody seems to care!! AARGH

Yeah, i saw that post too but i have no idea hw to fix it. And yeah ive posted in many different roms about it but i never get a reply. :/ I guess no one does care atm.

kingsley404 said:
Yeah, i saw that post too but i have no idea hw to fix it. And yeah ive posted in many different roms about it but i never get a reply. :/ I guess no one does care atm.
Click to expand...
Click to collapse
bump

If someone will get me that file name I will make the changes now and test, this is also driving me crazy, I am looking into it as I type lol

ok, i found the .xml file to change with the code I need to change, however changing it does nothing.
the file name is "keyguard_screen_unlock_portrait", found here "framework-res.apk\res\layout"
again the changes do nothing, even after clearing cache nothing happens. They only thing I was able to get to change was moving the "charging text" to the left of the screen. I am not a dev so I have no idea why this is not working.

Moose0704 said:
ok, i found the .xml file to change with the code I need to change, however changing it does nothing.
the file name is "keyguard_screen_unlock_portrait", found here "framework-res.apk\res\layout"
again the changes do nothing, even after clearing cache nothing happens. They only thing I was able to get to change was moving the "charging text" to the left of the screen. I am not a dev so I have no idea why this is not working.
Click to expand...
Click to collapse
Thats strange. Hmmmm this is killing me!

WOO HOO!! I've done it!!!
I finally got the lockscreen circle centered!!! now I can stop going crazy and really enjoy this ROM!!!!
Before:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After:

How? thats sick!

kingsley404 said:
How? thats sick!
Click to expand...
Click to collapse
Lots and lots of trial and error between two .xml files, that took like 4 hours lol

Haha thats awesome! Would you mind sharing what you changed? haha

kingsley404 said:
Haha thats awesome! Would you mind sharing what you changed? haha
Click to expand...
Click to collapse
Absolutely!
I tried to make a flashable zip but it did not work, so here is the framework-res.apk I edited
framework-res.apk
Maybe someone here can make a flashable zip with this.

Awesome! I'm kind of a noob, how could i apply that without flashing it then?

kingsley404 said:
Awesome! I'm kind of a noob, how could i apply that without flashing it then?
Click to expand...
Click to collapse
You and I both, I used the tool from this thread to push it back to my phone:
TickleMyAndroid
You have to put that file in the out folder then prepare it for push then push it to the phone, you have to boot into recover and mount the internal card then push and reboot, its really easy with that tool, and tonight was the firat time I have ever used it lol so trust me it is easy

Awesome! I'm going to flash beta 2 of liquid and try this! Thanks!

kingsley404 said:
Awesome! I'm going to flash beta 2 of liquid and try this! Thanks!
Click to expand...
Click to collapse
You are welcome! I am very happy myself! lol

Nice work! If you could please post the xml specific changes you did I'd like to try this myself on Slim Bean which by default runs on 240 dpi. Cheers
Sent from my Galaxy Nexus using Tapatalk 2

kitecarl said:
Nice work! If you could please post the xml specific changes you did I'd like to try this myself on Slim Bean which by default runs on 240 dpi. Cheers
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I do not remember exactly what I changed but I will post the code here for you to have. Remember it was like 3 to 4 hours worth of making changes, I do not remember what worked lol
This code is for: "keyguard_screen_tab_unlock"
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/root" android:gravity="center_horizontal"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_marginTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin" android:layout_marginBottom="12.0dip" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin" android:layout_gravity="right"
>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/timeDisplayBackground" android:layout_marginBottom="6.0dip" android:singleLine="true" android:ellipsize="none" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textAppearance="?textAppearanceMedium" android:textColor="@color/lockscreen_clock_background"
/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/timeDisplayForeground" android:layout_marginBottom="6.0dip" android:singleLine="true" android:ellipsize="none" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textAppearance="?textAppearanceMedium" android:textColor="@color/lockscreen_clock_foreground" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground"
/>
</com.android.internal.widget.DigitalClock>
<LinearLayout android:orientation="horizontal" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin" android:layout_gravity="right"
>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/date" android:singleLine="true" android:ellipsize="marquee" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAppearance="?textAppearanceMedium"
/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/alarm_status" android:singleLine="true" android:ellipsize="marquee" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAppearance="?textAppearanceMedium" android:layout_marginLeft="16.0dip" android:drawablePadding="4.0dip"
/>
</LinearLayout>
<TextView android:id="@id/status1" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin" android:layout_gravity="right" android:singleLine="true" android:ellipsize="marquee" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAppearance="?textAppearanceMedium" android:drawablePadding="4.0dip"
/>
<RelativeLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@id/weather_panel" android:paddingTop="4.0dip"
>
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/weather_image" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:src="@drawable/ic_dialog_alert"
/>
<RelativeLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toLeftOf="@id/weather_image" android:padding="4.0dip"
>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/weather_city" android:gravity="right" android:singleLine="true" android:ellipsize="marquee" android:textSize="14.0sp" android:textColor="?textColorPrimary" android:textStyle="bold" android:layout_alignParentRight="true"
/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/weather_condition" android:gravity="right" android:singleLine="true" android:ellipsize="marquee" android:textSize="12.0sp" android:textColor="?textColorPrimary" android:layout_alignParentRight="true" android:layout_below="@id/weather_city"
/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/update_time" android:gravity="right" android:textSize="6.0sp" android:textColor="?textColorSecondary" android:layout_alignParentRight="true" android:layout_below="@id/weather_condition"
/>
</RelativeLayout>
<RelativeLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/weather_temps_panel" android:layout_centerVertical="true" android:layout_toRightOf="@id/weather_image"
>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/weather_temp" android:textSize="20.0sp" android:textColor="?textColorPrimary" android:layout_centerHorizontal="true"
/>
<View android:layout_width="44.0dip" android:layout_height="1.0dip" android:id="@id/weather_divider" android:layout_below="@id/weather_temp" android:background="@drawable/divider_horizontal_dark"
/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/weather_low_high" android:textSize="12.0sp" android:textColor="?textColorPrimary" android:paddingTop="2.0dip" android:layout_centerHorizontal="true" android:layout_below="@id/weather_divider"
/>
</RelativeLayout>
</RelativeLayout>
<Space android:layout_gravity="fill" />
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/emergencyCallButton" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:layout_gravity="right" android:drawablePadding="4.0dip" android:drawableLeft="@drawable/lockscreen_emergency_button" android:text="@string/lockscreen_emergency_call" android:visibility="gone" style="?android:attr/buttonBarButtonStyle"
/>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="302.0dip"
>
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@id/calendar_panel" android:gravity="center_vertical" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:minHeight="28.0dip"
>
<ImageView android:layout_width="36.0dip" android:layout_height="wrap_content" android:gravity="center" android:layout_gravity="center_vertical" android:src="@drawable/ic_lock_idle_calendar"
/>
<View android:layout_width="1.0dip" android:layout_height="fill_parent" android:paddingTop="6.0dip" android:background="@drawable/divider_horizontal_dark" android:paddingBottom="6.0dip"
/>
<RelativeLayout android:layout_width="0.0dip" android:layout_height="wrap_content" android:paddingTop="6.0dip" android:paddingLeft="4.0dip" android:paddingBottom="6.0dip" android:layout_weight="1.0"
>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/calendar_event_title" android:singleLine="true" android:ellipsize="marquee" android:textSize="14.0sp" android:textColor="?textColorPrimary" android:fadingEdge="horizontal"
/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/calendar_event_details" android:singleLine="true" android:ellipsize="marquee" android:textSize="12.0sp" android:textColor="?textColorSecondary" android:layout_alignLeft="@id/calendar_event_title" android:layout_below="@id/calendar_event_title" android:fadingEdge="horizontal" android:marqueeRepeatLimit="marquee_forever" android:scrollHorizontally="true" android:focusable="true" android:focusableInTouchMode="true"
/>
</RelativeLayout>
</LinearLayout>
<com.android.internal.widget.multiwaveview.GlowPadView android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/unlock_widget" android:gravity="left" android:focusable="true" android:layout_alignParentBottom="true" android:targetDrawables="@array/lockscreen_targets_with_camera" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:handleDrawable="@drawable/ic_lockscreen_handle" android:outerRingDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/glowpadview_target_placement_radius" android:innerRadius="@dimen/glowpadview_inner_radius" android:snapMargin="@dimen/glowpadview_snap_margin" android:feedbackCount="1" android:vibrationDuration="20" android:glowRadius="@dimen/glowpadview_glow_radius" android:pointDrawable="@drawable/ic_lockscreen_glowdot"
/>
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@id/carrier" android:gravity="center_horizontal" android:layout_marginBottom="12.0dip" android:singleLine="true" android:ellipsize="marquee" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAppearance="?textAppearanceMedium" android:textColor="?textColorSecondary" android:layout_alignParentBottom="true"
/>
</RelativeLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:gravity="center_horizontal" android:weightSum="2.0" style="?android:attr/buttonBarStyle"
>
<Button android:layout_width="0.0dip" android:layout_height="wrap_content" android:id="@id/emergencyCallButton" android:layout_gravity="center_horizontal" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:drawablePadding="0.0dip" android:drawableLeft="@drawable/lockscreen_emergency_button" android:text="@string/lockscreen_emergency_call" android:visibility="gone" android:layout_weight="1.0" style="?android:attr/buttonBarButtonStyle"
/>
</LinearLayout>
<include android:layout_width="0.0dip" android:layout_height="0.0dip" android:id="@id/transport" android:layout_gravity="fill" android:layout_row="0" android:layout_column="0" android:layout_rowSpan="5" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control"
/>
</GridLayout>
This code is for: "keyguard_screen_unlock_portrait"
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_horizontal" android:id="@id/root"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_marginTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin" android:layout_marginBottom="@dimen/keyguard_lockscreen_status_line_clockfont_bottom_margin" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin" android:layout_gravity="center_horizontal"
>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/timeDisplayBackground" android:singleLine="true" android:ellipsize="none" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textAppearance="?textAppearanceMedium" android:textColor="@color/lockscreen_clock_background"
/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/timeDisplayForeground" android:singleLine="true" android:ellipsize="none" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textAppearance="?textAppearanceMedium" android:textColor="@color/lockscreen_clock_foreground"
/>
</com.android.internal.widget.DigitalClock>
<LinearLayout android:orientation="horizontal" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin" android:layout_gravity="center_horizontal"
>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/date" android:singleLine="true" android:ellipsize="marquee" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAppearance="?textAppearanceMedium"
/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/alarm_status" android:singleLine="true" android:ellipsize="marquee" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAppearance="?textAppearanceMedium" android:layout_marginLeft="16.0dip" android:drawablePadding="4.0dip"
/>
</LinearLayout>
<TextView android:id="@id/status1" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin" android:layout_gravity="center_horizontal" android:singleLine="true" android:ellipsize="marquee" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAppearance="?textAppearanceMedium" android:drawablePadding="4.0dip"
/>
<Space android:layout_gravity="fill" />
<com.android.internal.widget.LockPatternView android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/lockPattern" android:layout_marginBottom="4.0dip" android:layout_marginRight="8.0dip" android:layout_gravity="center_horizontal" android:layout_marginLeft="8.0dip"
/>
<TextView android:id="@id/carrier" android:layout_gravity="center_horizontal" android:singleLine="true" android:ellipsize="marquee" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAppearance="?textAppearanceMedium"
/>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:gravity="center_horizontal" android:weightSum="2.0" style="?android:attr/buttonBarStyle"
>
<Button android:layout_width="0.0dip" android:layout_height="wrap_content" android:id="@id/emergencyCallButton" android:layout_gravity="center_horizontal" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:drawablePadding="0.0dip" android:layout_weight="1.0" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" style="?android:attr/buttonBarButtonStyle"
/>
<Button android:layout_width="0.0dip" android:layout_height="wrap_content" android:id="@id/forgotPatternButton" android:layout_gravity="center_horizontal" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:drawablePadding="0.0dip" android:layout_weight="1.0" android:text="@string/lockscreen_forgot_pattern_button_text" android:drawableLeft="@drawable/lockscreen_forgot_password_button" style="?android:attr/buttonBarButtonStyle"
/>
</LinearLayout>
<include android:layout_width="0.0dip" android:layout_height="0.0dip" android:id="@id/transport" android:layout_gravity="fill" android:layout_row="0" android:layout_column="0" android:layout_rowSpan="4" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control"
/>
<RelativeLayout android:layout_width="0.0dip" android:layout_height="0.0dip" android:id="@id/faceLockAreaView" android:layout_marginBottom="4.0dip" android:layout_gravity="fill" android:layout_row="4" android:layout_column="0" android:layout_rowSpan="1" android:layout_columnSpan="1" android:visibility="invisible" android:background="@drawable/intro_bg"
>
<View android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@id/spotlightMask" android:background="@color/facelock_spotlight_mask"
/>
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@id/cancel_button" android:padding="5.0dip" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:src="@drawable/ic_facial_backup"
/>
</RelativeLayout>
</GridLayout>

After a day of trying i couldnt get that app to work haha, i hope someone is able to make a flashable zip

A flashable zip. Would be very nice, I too have a mild ocd and the lock screen not being centered bothers the hell out of me..=/

Related

[HOW TO] ☆ NEW Center Clock ☆ bug free ☆ for themers and everyone

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SGNII JB THEMES ☆ SGSIII JB THEMES ☆ SGSIII ICS THEMES ☆ NEXUS PRIME JB THEME ☆ NEW CENTER CLOCK GUIDE ☆ JB TRANSPARENT STATUSBAR GUIDE
- - - - - - - - - - - -
​Hi everyone!
I decided to share my godsend how to make center clock which works like a stock one i.e. w/o known issues
The solution is very easy: we only need to divide our statusbar (tw_status_bar.xml) inside LinearLayout android:id="@id/icons" into 3 LinearLayouts with existent android:id and defined android:layout_weight:
1. LinearLayout with android:layout_weight="1.0"
2. We must create new LinearLayout with android:id="@id/clock" and with unspecified android:layout_weight (i.e. "0" by default)
3. LinearLayout with android:id="@id/statusIcons" and android:layout_weight="1.0"
4. Edit layouts by your design
For example my NEW Center Clock:
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">
[COLOR="Green"]<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">[/COLOR]
[COLOR="Blue"]<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="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" 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" android:alpha="0.7" android:scaleX="0.85" android:scaleY="0.85" />
<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>[/COLOR]
[COLOR="Red"] <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/clock">
<com.android.systemui.statusbar.policy.Clock android:gravity="center" android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ffbebebe" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>[/COLOR]
[COLOR="Blue"]<LinearLayout android:gravity="center|right" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:id="@id/statusIcons">
<LinearLayout android:gravity="center|right" 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="#ffbebebe" 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>[/COLOR]
[COLOR="green"]</LinearLayout>[/COLOR]
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="2.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>
And ofc it could be ported to any devices like Nexus Prime for example - [MOD] NEW Center Clock ☆ for RasBeanJelly and by request ☆
Enjoy! And if you have any questions, you can always ask me
If you like it you can always Rate (★★★★★) this Thread, Press Thanks button or simply buy me a beer! :good: and don't forget about credits
Thank you my friend .You are precious to the community among others.
siberian tiger said:
Thank you my friend .You are precious to the community among others.
Click to expand...
Click to collapse
Thanks, my friend!!! And enjoy!
Excellent Idea to share it with the community. :good:
lichti1901 said:
Excellent Idea to share it with the community. :good:
Click to expand...
Click to collapse
Thanks, my friend!
Hey mate,
Need some help with your clock mod to integrating it into my mod.
I edited (I think correctly) my tw_status_bar.xml file.
Here is a full copy of it :
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">
<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="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" 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" android:alpha="0.7" android:scaleX="0.85" android:scaleY="0.85" />
<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" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/clock">
<com.android.systemui.statusbar.policy.Clock android:gravity="center" android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff33b5e5" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="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="#ff33b5e5" 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>
The problem is that it don't work for me (clock is still stock to right), any idea of where is the problem ?
Many thanks!
AndroidGX said:
Hey mate,
Need some help with your clock mod to integrating it into my mod.
I edited (I think correctly) my tw_status_bar.xml file.
Here is a full copy of it :
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">
<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="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" 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" android:alpha="0.7" android:scaleX="0.85" android:scaleY="0.85" />
<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" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/clock">
<com.android.systemui.statusbar.policy.Clock android:gravity="center" android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff33b5e5" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="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="#ff33b5e5" 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>
The problem is that it don't work for me (clock is still stock to right), any idea of where is the problem ?
Many thanks!
Click to expand...
Click to collapse
I'll be at home soon and look at this
raubkatze said:
I'll be at home soon and look at this
Click to expand...
Click to collapse
Ok thanks
I tried till now many placements, without any success. Clock is full left or just left to the wifi icon. Strange
'laters
AndroidGX said:
Ok thanks
I tried till now many placements, without any success. Clock is full left or just left to the wifi icon. Strange
'laters
Click to expand...
Click to collapse
The problem is:
1. you set 4 LinearLayout inside LinearLayout android:id="@id/icons" instead 3
2. you forgot to set correct android:layout_weight
3. you didn't set correct android:gravity inside LinearLayout android:id="@id/statusIcons"
Here's correct xml with your colour:
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">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="2.0dip" android:paddingRight="2.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="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" 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" android:alpha="0.7" android:scaleX="0.85" android:scaleY="0.85" />
<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" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:id="@id/clock">
<com.android.systemui.statusbar.policy.Clock android:gravity="center" android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff33b5e5" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:gravity="center|right" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:id="@id/statusIcons">
<LinearLayout android:gravity="center|right" 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="#ff33b5e5" 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>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="2.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>
Enjoy!
raubkatze said:
The problem is:
1. you set 4 LinearLayout inside LinearLayout android:id="@id/icons" instead 3
2. you forgot to set correct android:layout_weight
3. you didn't set correct android:gravity inside LinearLayout android:id="@id/statusIcons"
Click to expand...
Click to collapse
Your corrected version works like a charm
Many thanks for your time!
I go release Center clock add-on for my mod and I will investigate some time to check the differences between my old one and your corrected.
I'am still a bit noob on all those layouts design modding hehe, that's why I didn't do exactly what I always wanted to do like carrier at bottom, etc.
Maybe if I have an advice to give you is to make like some people did in their tutorials: like "search line : xxx" then delete xxxx, add xxxx exactly right after xxxx, (with showing all textx or lines), etc etc, should be more much more "noob proof" for people like me
Thanks again mate, I go add into my first post :good:
@raubkatze
This change work fine for me
Off topic!!
do you know how to modify transparent status bar on lock screen
i hope you once again taught me
AndroidGX said:
Your corrected version works like a charm
Many thanks for your time!
I go release Center clock add-on for my mod and I will investigate some time to check the differences between my old one and your corrected.
I'am still a bit noob on all those layouts design modding hehe, that's why I didn't do exactly what I always wanted to do like carrier at bottom, etc.
Maybe if I have an advice to give you is to make like some people did in their tutorials: like "search line : xxx" then delete xxxx, add xxxx exactly right after xxxx, (with showing all textx or lines), etc etc, should be more much more "noob proof" for people like me
Thanks again mate, I go add into my first post :good:
Click to expand...
Click to collapse
You're welcome! And thanks for your advice! But for some reasons it is not possible to make such tutorial... There is general princip to make center clock bug free and I described it but every theme has its own design (not only images) and it's necessary to add, edit etc. layout parameters to make it work properly. So in this case we need to make it individually... unfortunatelly.
Btw you can always use google sources, for example LinearLayout.LayoutParams
raubkatze said:
You're welcome! And thanks for your advice! But for some reasons it is not possible to make such tutorial... There is general princip to make center clock bug free and I described it but every theme has its own design (not only images) and it's necessary to add, edit etc. layout parameters to make it work properly. So in this case we need to make it individually... unfortunatelly.
Btw you can always use google sources, for example LinearLayout.LayoutParams
Click to expand...
Click to collapse
No worries I understand, and thanks for your link, looks pretty interesting, I will read it :good:
leamoor said:
@raubkatze
This change work fine for me
Off topic!!
do you know how to modify transparent status bar on lock screen
i hope you once again taught me
Click to expand...
Click to collapse
Statusbar on lockscreen will transparent if you set it transparent on homescreen BUT... lockscreen wallpapers has its own resolution and this as far as I understand causes the problem with transparency. To be honest I didn't look for source yet... perhaps later
AndroidGX said:
No worries I understand, and thanks for your link, looks pretty interesting, I will read it :good:
Click to expand...
Click to collapse
Yeah read it, it's really useful. Btw, just a short tip-off, xml works as well as html
raubkatze said:
Statusbar on lockscreen will transparent if you set it transparent on homescreen BUT... lockscreen wallpapers has its own resolution and this as far as I understand causes the problem with transparency. To be honest I didn't look for source yet... perhaps later
Click to expand...
Click to collapse
Thank you for you reply!
My home screen status bar has mod to transparent,
but on lock screen it changed back to black
so,we need to modify lockscreen wallpaper to get the status bar transparent,
right?
anyway,you are really good guy:D
leamoor said:
Thank you for you reply!
My home screen status bar has mod to transparent,
but on lock screen it changed back to black
so,we need to modify lockscreen wallpaper to get the status bar transparent,
right?
anyway,you are really good guy:D
Click to expand...
Click to collapse
If you try to drop down notification bar on lockscreen you'll see statusbar is transparent
We need modify Lockscreen. When I have time I'll look at source.
which smali file I have to modify???
espaciosalter20 said:
which smali file I have to modify???
Click to expand...
Click to collapse
Sorry but what for? This mod only based on xml
raubkatze said:
Sorry but what for? This mod only based on xml
Click to expand...
Click to collapse
Yes i know, but I ask in order to decompile proper file to make changes...(i know I have to decompile systemui.apk and then what?)
Enviado desde mi MB525 usando Tapatalk 2

Big photo when calling modded apk's

BIG PHOTO WHEN CALLING MODDED APK'S
DESCRIPTION
I've created this thread to avoid squeezing your brain with lost files in old tutorial xD plus I've created a flashable zips as always avoiding the f****** installation process too (copy/paste,permissions...) and do it easy, quick and safe for all members
Simply you'll get a big contact photo when calling. Based in Stock Android 2.3.6 .apk's
WORKING IN STOCK ROMS
WORKING IN CM7 TOO
2 VERSIONS ONLY FOR STOCK
280 pixel (Stock Layouts)
320 pixel (ICS Layouts)
ADDED CM7 "BPWC"
INSTRUCTIONS
1. Download the chosen file.
2. Boot into recovery.
3. Install from sdcard
4. Flash it
6. Done!, reboot system now
SCREENSHOTS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CREDITS:
PAROVOZ!
Cryss
HELLYEAH!
I test it, works fine !
Big thanx
Finally you got a solution to ur prob
OP: Good work mate! Including this in index
-asdf-
Cryss said:
I test it, works fine !
280px screen here :d
Click to expand...
Click to collapse
:good:
a couple of screenshots is just what I need!
Big call screen for all CM7 roms modded by me, first post !
Cryss said:
Ics screen come in 5 min.
Just a tip, maybe we can edit 280 one to 320, looks better i guess
Ics call screen 320px
I modd one from cm7 roms, can i upload it?
Click to expand...
Click to collapse
well, if you want upload it, it'll add in OP
Cryss said:
Here is big call screen for all CM7 roms modded by me !
Post it at first post then i edit this post to have a nice thread
Click to expand...
Click to collapse
Done!
The famous call_card_person_info.xml file xDDD
Code:
[B][COLOR="Blue"]call_card_person_info.xml[/COLOR][/B]
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/callCardPersonInfo" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="280.0dip">
<ImageView android:id="@id/photo" android:layout_width="280.0dip" android:layout_height="280.0dip" android:scaleType="fitCenter" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />
<Button android:textAppearance="?android:textAppearanceMedium" android:textColor="?android:textColorPrimary" android:gravity="bottom|center" android:id="@id/manageConferencePhotoButton" android:background="@drawable/picture_conference" android:layout_width="280.0dip" android:layout_height="280.0dip" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />
</RelativeLayout>
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="28.0sp" android:textStyle="bold" android:gravity="center_horizontal" android:id="@id/name" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-60.0dip" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceLarge" android:textStyle="bold" android:textColor="@color/incall_phoneNumber" android:gravity="center_horizontal" android:id="@id/conferenceCallCount" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="25.0dip" android:layout_marginTop="-6.0dip" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-6.0dip">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textStyle="bold" android:textColor="#ff00ff00" android:id="@id/label" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textStyle="bold" android:textColor="@color/incall_phoneNumber" android:id="@id/phoneNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</LinearLayout>
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/callTypeLabel" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/socialStatus" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</LinearLayout>
Viper The Ripper said:
The famous call_card_person_info.xml file xDDD
Click to expand...
Click to collapse
Yeah, i know, maybe we can try edit width from 280 to 320, to fit to screen
Viper The Ripper said:
The famous call_card_person_info.xml file xDDD
Code:
[B][COLOR="Blue"]call_card_person_info.xml[/COLOR][/B]
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/callCardPersonInfo" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="280.0dip">
<ImageView android:id="@id/photo" android:layout_width="280.0dip" android:layout_height="280.0dip" android:scaleType="fitCenter" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />
<Button android:textAppearance="?android:textAppearanceMedium" android:textColor="?android:textColorPrimary" android:gravity="bottom|center" android:id="@id/manageConferencePhotoButton" android:background="@drawable/picture_conference" android:layout_width="280.0dip" android:layout_height="280.0dip" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />
</RelativeLayout>
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="28.0sp" android:textStyle="bold" android:gravity="center_horizontal" android:id="@id/name" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-60.0dip" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceLarge" android:textStyle="bold" android:textColor="@color/incall_phoneNumber" android:gravity="center_horizontal" android:id="@id/conferenceCallCount" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="25.0dip" android:layout_marginTop="-6.0dip" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-6.0dip">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textStyle="bold" android:textColor="#ff00ff00" android:id="@id/label" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textStyle="bold" android:textColor="@color/incall_phoneNumber" android:id="@id/phoneNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</LinearLayout>
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/callTypeLabel" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/socialStatus" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</LinearLayout>
Click to expand...
Click to collapse
can u highlight with red colorcode whats changed ?
Sent from my S500 using xda app-developers app
SpaceCaker said:
can u highlight with red colorcode whats changed ?
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
Code:
call_card_person_info.xml
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/callCardPersonInfo" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="[COLOR="Red"]280.0dip[/COLOR]">
<ImageView android:id="@id/photo" android:layout_width="[COLOR="Red"]280.0dip[/COLOR]" android:layout_height="[COLOR="Red"]280.0dip[/COLOR]" android:scaleType="fitCenter" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />
<Button android:textAppearance="?android:textAppearanceMedium" android:textColor="?android:textColorPrimary" android:gravity="bottom|center" android:id="@id/manageConferencePhotoButton" android:background="@drawable/picture_conference" android:layout_width="[COLOR="Red"]280.0dip[/COLOR]" android:layout_height="[COLOR="Red"]280.0dip[/COLOR]" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />
</RelativeLayout>
<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="28.0sp" android:textStyle="bold" android:gravity="center_horizontal" android:id="@id/name" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-60.0dip" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceLarge" android:textStyle="bold" android:textColor="@color/incall_phoneNumber" android:gravity="center_horizontal" android:id="@id/conferenceCallCount" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="25.0dip" android:layout_marginTop="-6.0dip" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-6.0dip">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textStyle="bold" android:textColor="#ff00ff00" android:id="@id/label" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0sp" android:textStyle="bold" android:textColor="@color/incall_phoneNumber" android:id="@id/phoneNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</LinearLayout>
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/callTypeLabel" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="?android:textColorSecondary" android:ellipsize="end" android:id="@id/socialStatus" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="1.0" />
</LinearLayout>
Done !
Not working
I am using galaxy i5510 with gingerbread 2.3.6.I installed the zip file using cwm recovery.Got installation completed msg.But it didnt make any difference.
the cwm recovery in my phone
http://forum.xda-developers.com/showthread.php?p=38966059
Can i try the ics theme by just copying corresponding zip file to sd and repeating the whole procedure??PLEASE HELP
Ajith1264 said:
I am using galaxy i5510 with gingerbread 2.3.6.I installed the zip file using cwm recovery.Got installation completed msg.But it didnt make any difference.
the cwm recovery in my phone
http://forum.xda-developers.com/showthread.php?p=38966059
Can i try the ics theme by just copying corresponding zip file to sd and repeating the whole procedure??PLEASE HELP
Click to expand...
Click to collapse
I don't know about i5510... It works fine in GT-s5830 even it is a GT-s5830 thread, be careful or you'll damage your device
Viper The Ripper said:
I don't know about i5510... It works fine in GT-s5830 even it is a GT-s5830 thread, be careful or you'll damage your device
Click to expand...
Click to collapse
thanks for your fast reply.Not going for any adventures as its a 5830 thread,thanks for mentioning that
...
It does work on my SGA/CM7, but photos are distorted - they are too wide... (they are scaled to fit the screen horizontally, but it does make them look distorted that way)
Does this work on the s5830i? Just asking because this section is shared between the Ace and Ace i and I can never tell! Lol thanks guys!
Sent from my GT-S5830i using xda app-developers app
N8tR1X said:
Does this work on the s5830i? Just asking because this section is shared between the Ace and Ace i and I can never tell! Lol thanks guys!
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
I can't guarantee it'll work because I tested it in GT-s5830... do a backup first and try it if you want. Proceed with caution and report after that
supervixen said:
It does work on my SGA/CM7, but photos are distorted - they are too wide... (they are scaled to fit the screen horizontally, but it does make them look distorted that way)
Click to expand...
Click to collapse
LOL! xDDD
Viper The Ripper said:
I can't guarantee it'll work because I tested it in GT-s5830... do a backup first and try it if you want. Proceed with caution and report after that
Click to expand...
Click to collapse
Thanks for the heads up dude! :thumbup:
I think I'll leave it for now, only recently flashed a ROM and don't fancy risking a soft brick or worse a hard brick! Lol
Sent from my GT-S5830i using xda app-developers app
N8tR1X said:
Thanks for the heads up dude! :thumbup:
I think I'll leave it for now, only recently flashed a ROM and don't fancy risking a soft brick or worse a hard brick! Lol
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
I never force anyone so

[MOD] Switched SystemUI Status Bar! (4.3 JWR DEODEX) [Useful for left handed :)]

Hello, this is what I did :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For this I modified signal_cluster_view.xml and status_bar.xml files from res/layout folder in SystemUI.apk
signal_cluster_view.xml:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2.0dip">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="end|bottom|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="1.5dip" android:layout_marginRight="2.0dip">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_centerVertical="true" android:layout_alignParentEnd="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
status_bar.xml:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<ImageView android:id="@id/notification_lights_out" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" android:paddingStart="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="6.0dip">
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="0dip" android:layout_weight="1" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center_vertical" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="2.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip" android:layout_marginLeft="2.0dip" >
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="2.0dip" />
<ImageView android:id="@id/battery" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.policy.CircleBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" android:layout_marginLeft="1.5dip"/>
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="right" >
<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" android:gravity="right" />
<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_alignParentEnd="true" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginEnd="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="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingEnd="10.0dip">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" 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 attach SystemUI.apk. Remember that I have tested this with Android 4.3 JWR rom (deodex)
Thanks!! Fantastic! What did u exactly change on those files?
luiseteyo said:
Thanks!! Fantastic! What did u exactly change on those files?
Click to expand...
Click to collapse
well, as first step I changed the order of status_bar layouts....
Then, in order to rearrange system_icon_area (wifi, data...) I modified signal_cluster view...
And as last step changed the gravity of notification_icon_area and system_icon_area layouts and added some margins to these icons in order to have a better look
iOS Style Status Bar?
Do you know how to make iOS style stat. bar?
For Example:
Signal---WiFi---BT---Clock---Notification---Battery
I want to use it in MIUI v5 but I can't find the guide for this.
I think it can be made by modding your code.
Thanks.(Sorry for my bad English
hw0603 said:
Do you know how to make iOS style stat. bar?
For Example:
Signal---WiFi---BT---Clock---Notification---Battery
I want to use it in MIUI v5 but I can't find the guide for this.
I think it can be made by modding your code.
Thanks.(Sorry for my bad English
Click to expand...
Click to collapse
Well, i think so... However you would do a great favor if upload some screenshot, so I can use it as an example
Like This!
Thank you for reply^^
hw0603 said:
Like This!
Thank you for reply^^
Click to expand...
Click to collapse
Well, I could try ut... But i need some time until the weekend, i have to study
bamsbamx said:
Well, I could try ut... But i need some time until the weekend, i have to study
Click to expand...
Click to collapse
Thanks, can you please tell me a guide for that when you have time?
Today is our contry's holiday lol
Sent from my Nexus 4 using Tapatalk 4
hw0603 said:
Thanks, can you please tell me a guide for that when you have time?
Today is our contry's holiday lol
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Wow that envy hahahah!!!
Well, there are a lot of SystemUI modding guides out there... I recommend you using APKTool for that. Also you need some android development knowledges
You can use this tutorial as base, this is compatible with latest JB versions... http://forum.xda-developers.com/showthread.php?t=1814441
Good luck
bamsbamx said:
Wow that envy hahahah!!!
Well, there are a lot of SystemUI modding guides out there... I recommend you using APKTool for that. Also you need some android development knowledges
You can use this tutorial as base, this is compatible with latest JB versions... http://forum.xda-developers.com/showthread.php?t=1814441
Good luck
Click to expand...
Click to collapse
Thanks!
Sent from my Nexus 4 using Tapatalk 4
Please do ios status bar
Sent from my Nexus 4 using xda app-developers app
Is everything the opposite? I.e swiping off notifications and stuff? Or just the icons?
leiros said:
Is everything the opposite? I.e swiping off notifications and stuff? Or just the icons?
Click to expand...
Click to collapse
Just the icons

[GUIDE] AOKP like toggles [UPDATE]

Hey Guys, In this guide I am going to show you how to make the stock statusbar toggles look like AOKP toggles.
Preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Requirements:
SystemUI.apk from your ROM
Know how to decompile/recompile
If you want your toggles to be like how they are in the 1st preview then follow the 1st method
or
If you want your toggles to be like how they are in the 2nd preview then follow the 2nd method
Let's start
1. Decompile your SystemUI.apk
2. Go to res/layout/
Open quickpanel_quick_settings.xml
1st Method
3. Replace the whole code with this code
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.quickpanel.QuickSettingsView android:orientation="horizontal" android:id="@id/quickpanel_quick_settings" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginRight="5.0dip">
<FrameLayout android:layout_width="fill_parent" android:layout_height="30.0px" android:layout_marginLeft="5.0dip" android:layout_marginRight="5.0dip" android:layout_weight="1.0">
<ImageView android:id="@id/quickpanel_wifi_btn_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/quickpanel_icon_wifi_off" android:scaleType="fitXY" />
<com.android.systemui.statusbar.quickpanel.WifiSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:id="@id/quickpanel_wifi_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingLeft="50.0dip" android:paddingTop="10.0dip" android:paddingBottom="3.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_wifi_text" />
</FrameLayout>
<ImageView android:background="#1fffffff" android:layout_width="fill_parent" android:layout_height="0.5dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="30.0px" android:layout_marginLeft="5.0dip" android:layout_marginRight="5.0dip" android:layout_weight="1.0">
<ImageView android:id="@id/quickpanel_data_btn_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/quickpanel_icon_data_off" android:scaleType="fitXY" />
<com.android.systemui.statusbar.quickpanel.DataConnectionSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:id="@id/quickpanel_data_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingLeft="50.0dip" android:paddingTop="10.0dip" android:paddingBottom="3.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_dc_text" />
</FrameLayout>
<ImageView android:background="#1fffffff" android:layout_width="fill_parent" android:layout_height="0.5dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="30.0px" android:layout_marginLeft="5.0dip" android:layout_marginRight="5.0dip" android:layout_weight="1.0">
<ImageView android:id="@id/quickpanel_bt_btn_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/quickpanel_icon_bluetooth_off" android:scaleType="fitXY" />
<com.android.systemui.statusbar.quickpanel.BluetoothSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:id="@id/quickpanel_bt_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingLeft="50.0dip" android:paddingTop="10.0dip" android:paddingBottom="3.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_bluetooth_text" />
</FrameLayout>
<ImageView android:background="#1fffffff" android:layout_width="fill_parent" android:layout_height="0.5dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="30.0px" android:layout_marginLeft="5.0dip" android:layout_marginRight="5.0dip" android:layout_weight="1.0">
<ImageView android:id="@id/quickpanel_gps_btn_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/quickpanel_icon_gps_off" android:scaleType="fitXY" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:id="@id/quickpanel_gps_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingLeft="50.0dip" android:paddingTop="10.0dip" android:paddingBottom="3.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_gps_text" />
</FrameLayout>
<ImageView android:background="#1fffffff" android:layout_width="fill_parent" android:layout_height="0.5dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="30.0px" android:layout_marginLeft="5.0dip" android:layout_marginRight="5.0dip" android:layout_weight="1.0">
<ImageView android:id="@id/quickpanel_rotation_btn_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/quickpanel_icon_rotation_off" android:scaleType="fitXY" />
<com.android.systemui.statusbar.quickpanel.AutoRotationSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:id="@id/quickpanel_rotation_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingLeft="50.0dip" android:paddingTop="10.0dip" android:paddingBottom="3.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_rotation_text" />
</FrameLayout>
<ImageView android:background="#1fffffff" android:layout_width="fill_parent" android:layout_height="0.5dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="30.0px" android:layout_marginLeft="5.0dip" android:layout_marginRight="5.0dip" android:layout_weight="1.0">
<ImageView android:id="@id/quickpanel_sound_btn_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/quickpanel_icon_sound_on_on" android:scaleType="fitXY" />
<com.android.systemui.statusbar.quickpanel.SoundSettingButton android:textSize="13.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="left" android:id="@id/quickpanel_sound_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingLeft="50.0dip" android:paddingTop="10.0dip" android:paddingBottom="3.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_silent_text" />
</FrameLayout>
<ImageView android:background="#1fffffff" android:layout_width="fill_parent" android:layout_height="0.5dip" />
</LinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.quickpanel.QuickSettingsView>
4. Go to res/drawable-ldpi and delete these files
Code:
quickpanel_icon_bluetooth_off
quickpanel_icon_bluetooth_on
quickpanel_icon_data_off
quickpanel_icon_data_on
quickpanel_icon_gps_off
quickpanel_icon_gps_on
quickpanel_icon_rotation_off
quickpanel_icon_rotation_on
quickpanel_icon_silent_off
quickpanel_icon_sound_on_on
quickpanel_icon_sound_vibration_on
quickpanel_icon_vibration_off
quickpanel_icon_wifi_off
quickpanel_icon_wifi_on
5. Download Sys_Resources.zip
Extarct it and copy all the files to res/drawable-ldpi
2nd method
3. Replace the whole code with this code
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.quickpanel.QuickSettingsView android:orientation="horizontal" android:id="@id/quickpanel_quick_settings" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<FrameLayout android:layout_width="wrap_content" android:layout_height="40.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:src="@drawable/quickpanel_icon_wifi_off" />
<com.android.systemui.statusbar.quickpanel.WifiSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_wifi_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingTop="63.0dip" android:paddingBottom="0.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/quickpanel_wifi_text" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="40.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_data_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:src="@drawable/quickpanel_icon_data_off" />
<com.android.systemui.statusbar.quickpanel.DataConnectionSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_data_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingTop="63.0dip" android:paddingBottom="0.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/quickpanel_dc_text" />
</FrameLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<FrameLayout android:layout_width="wrap_content" android:layout_height="40.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:src="@drawable/quickpanel_icon_bluetooth_off" />
<com.android.systemui.statusbar.quickpanel.BluetoothSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_bt_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingTop="63.0dip" android:paddingBottom="0.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/quickpanel_bluetooth_text" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="40.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:src="@drawable/quickpanel_icon_gps_off" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_gps_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingTop="63.0dip" android:paddingBottom="0.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/quickpanel_gps_text" />
</FrameLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<FrameLayout android:layout_width="wrap_content" android:layout_height="40.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:src="@drawable/quickpanel_icon_rotation_off" />
<com.android.systemui.statusbar.quickpanel.AutoRotationSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_rotation_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingTop="63.0dip" android:paddingBottom="0.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/quickpanel_rotation_text" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="40.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:src="@drawable/quickpanel_icon_sound_on_on" />
<com.android.systemui.statusbar.quickpanel.SoundSettingButton android:textSize="0.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_sound_btn_text" android:background="@drawable/quickpanel_button_selector_bg" android:paddingTop="63.0dip" android:paddingBottom="0.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/quickpanel_silent_text" />
</FrameLayout>
</LinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.quickpanel.QuickSettingsView>
4. Go to res/drawable-ldpi and delete these files
Code:
quickpanel_icon_bluetooth_off
quickpanel_icon_bluetooth_on
quickpanel_icon_data_off
quickpanel_icon_data_on
quickpanel_icon_gps_off
quickpanel_icon_gps_on
quickpanel_icon_rotation_off
quickpanel_icon_rotation_on
quickpanel_icon_silent_off
quickpanel_icon_sound_on_on
quickpanel_icon_sound_vibration_on
quickpanel_icon_vibration_off
quickpanel_icon_wifi_off
quickpanel_icon_wifi_on
5. Download Sys_Resources1.zip
Extarct it and copy all the files to res/drawable-ldpi
6. Recompile your SystemUI.apk
Push it into system/app
Set proper permissions(rw-r--r--)
If you want to move the toggles then follow this guide by @mariozawa
Credits:
b16h22
Reseved 01
Reserved
Nice,i think its cooler when you make a all in one thread for all your guides so its easy to find one,thanx anyway.:thumbup:
MANY GREEEETZ!!!
-CALIBAN666- said:
Nice,i think its cooler when you make a all in one thread for all your guides so its easy to find one,thanx anyway.:thumbup:
MANY GREEEETZ!!!
Click to expand...
Click to collapse
Thanks for your suggestion but i have already done that, When you click 'MY WORKS' in my signature you will be redirected to a post where you can find all my apps, guides, icons, etc. with their links.
Looks like OP is on Fire ..Great work buddy ..
Good to see you on our team(GFX bandits)
Mr.Gentleman said:
Looks like OP is on Fire ..Great work buddy ..
Good to see you on our team(GFX bandits)
Click to expand...
Click to collapse
+1
Nice work M.S
This is what im looking for :victory:
Great Job Bro Please Can You B Able To Provide me Moded with Aokp status bar...i dnt knw recompiling-Decompiling
Himan Boro said:
Great Job Bro Please Can You B Able To Provide me Moded with Aokp status bar...i dnt knw recompiling-Decompiling
Click to expand...
Click to collapse
Sorry, I don't have the modded statusbar. Actually, I mod the statusbar only for the preview, after that I delete it.
Nice mod sir!!!!!!!!!!
Ok...Anybuddy Provide me that Please
Cool guide bro
Sent from my GT-S5360 using Tapatalk 2
OP Updated with 2 methods.. Check it out!
C00L :victory:
Thanks for the Guide !!
hi sir good day @MuSaddiq
i want to ask to you 2 question hope you didnt bored answerin it
first
i have two layout of statusbar (aosp statusbar by marcus) and i want to apply your aokp toogles to the first layout which includes notification (lets say first layout). how did i put it there and how did i know it is first layout or second layout
second
does this applicable to aosp too ?
TIA sir any help is appreciated :fingers-crossed::highfive:
Mranggapo said:
hi sir good day @MuSaddiq
i want to ask to you 2 question hope you didnt bored answerin it
first
i have two layout of statusbar (aosp statusbar by marcus) and i want to apply your aokp toogles to the first layout which includes notification (lets say first layout). how did i put it there and how did i know it is first layout or second layout
second
does this applicable to aosp too ?
TIA sir any help is appreciated :fingers-crossed::highfive:
Click to expand...
Click to collapse
Yes, it will work on AOSP too but its little complicated. Can u give me your SystemUI ?
MuSaddiq said:
Yes, it will work on AOSP too but its little complicated. Can u give me your SystemUI ?
Click to expand...
Click to collapse
Im sorry sir, but can you check marcussmith thread in themes section, im attaching my modded apk in there
Its already modded by me, i hope you can correct it . Sorry because im on tablet and my data is in computer
Mranggapo said:
Im sorry sir, but can you check marcussmith thread in themes section, im attaching my modded apk in there
Its already modded by me, i hope you can correct it . Sorry because im on tablet and my data is in computer
Click to expand...
Click to collapse
It's ok, I will use the SystemUI from marcus's thread
MuSaddiq said:
It's ok, I will use the SystemUI from marcus's thread
Click to expand...
Click to collapse
Sorry to disturb you, but if you dont mid. I have modded sir marcus systemui, you can check it rather than creating ones. Ive spent two hours -_-
Appreciate
sent from terminal emulator

[TUT] Merged WiFi & Signal Icons (For LP & MM) - Updated!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm not a big fan of cluttered status bars. I like a very minimalist look. So, with that in mind, I present a short guide to show you how to change your signal and WiFi icons so they look like they're merged together. Hope you like it!
This will work on any rom using "vector drawables" for signal and WiFi icons. That's any stock LP or MM rom, although it may work in 3rd party rom as well.
First, you'll need to decompile your "SystemUI.apk". I'm not going to explain how to do that here, there are plenty of in-depth guides to decompiling on xda. Personally I always use "Tickle My Android", which you can find here: http://forum.xda-developers.com/showthread.php?t=1633333, but you can use any method you want to.
In your decompiled "SystemUI.apk\res\drawable" folder, you should find a collection of XML files with names like "stat_sys_wifi_signal_1.xml" and "stat_sys_signal_4_fully.xml". If you've got those, you can do this mod. If you can't, you might want to take a look at a much older version of this mod here: http://forum.xda-developers.com/xperia-z/themes-apps/mod-merge-wifi-signal-icons-updated-t2276066[/url]
BEFORE TRYING THIS MOD, ALWAYS MAKE SURE YOU MAKE A BACKUP FIRST!​
Download the ZIP file from the attachments, extract it and overwrite the XML files in your drawable folder with the ones in the ZIP. This will change the appearance of the icons.
Next, you'll need to edit "SystemUI.apk\res\layout\signal_cluster_view.xml". This will normally look something like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingEnd="@dimen/signal_cluster_battery_padding"
xmlns:android="[URL]http://schemas.android.com/apk/res/android[/URL]" xmlns:systemui="[URL]http://schemas.android.com/apk/res-auto[/URL]">
<com.android.systemui.statusbar.policy.NetworkTraffic android:id="@id/networkTraffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" />
<ImageView android:id="@id/vpn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_vpn_ic" android:paddingEnd="6.0dip" />
<FrameLayout android:id="@id/ethernet_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneLightTheme" android:id="@id/ethernet" android:layout_width="wrap_content" android:layout_height="wrap_content" systemui:hasOverlappingRendering="false" />
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneDarkTheme" android:id="@id/ethernet_dark" android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.0" systemui:hasOverlappingRendering="false" />
</FrameLayout>
[COLOR=blue]<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">[/COLOR]
[COLOR=blue] <com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneLightTheme" android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" systemui:hasOverlappingRendering="false" />[/COLOR]
[COLOR=blue] <com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneDarkTheme" android:id="@id/wifi_signal_dark" android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.0" systemui:hasOverlappingRendering="false" />[/COLOR]
[COLOR=blue] <com.android.systemui.statusbar.AlphaOptimizedImageView android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" systemui:hasOverlappingRendering="false" />
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneLightTheme" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" systemui:hasOverlappingRendering="false" />
[/COLOR][COLOR=blue][/COLOR][COLOR=blue] </FrameLayout>[/COLOR]
<View android:id="@id/wifi_signal_spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" />
[COLOR=red]<LinearLayout android:id="@id/mobile_signal_group" android:layout_width="wrap_content" android:layout_height="wrap_content" />[/COLOR]
<FrameLayout android:id="@id/no_sims_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/accessibility_no_sims">
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneLightTheme" android:id="@id/no_sims" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_no_sims" systemui:hasOverlappingRendering="false" />
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneDarkTheme" android:id="@id/no_sims_dark" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_no_sims" android:alpha="0.0" systemui:hasOverlappingRendering="false" />
</FrameLayout>
<View android:id="@id/wifi_airplane_spacer" android:visibility="gone" android:layout_width="4.0dip" android:layout_height="4.0dip" />
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Your exact code may differ but you'll normally have some lines representing the WiFi icon and some lines representing the signal icon. All you need to do next is move the WiFi lines to under the signal lines. Like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingEnd="@dimen/signal_cluster_battery_padding"
xmlns:android="[URL]http://schemas.android.com/apk/res/android[/URL]" xmlns:systemui="[URL]http://schemas.android.com/apk/res-auto[/URL]">
<com.android.systemui.statusbar.policy.NetworkTraffic android:id="@id/networkTraffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" />
<ImageView android:id="@id/vpn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_vpn_ic" android:paddingEnd="6.0dip" />
<FrameLayout android:id="@id/ethernet_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneLightTheme" android:id="@id/ethernet" android:layout_width="wrap_content" android:layout_height="wrap_content" systemui:hasOverlappingRendering="false" />
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneDarkTheme" android:id="@id/ethernet_dark" android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.0" systemui:hasOverlappingRendering="false" />
</FrameLayout>
<View android:id="@id/wifi_signal_spacer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" />
[COLOR=red] <LinearLayout android:id="@id/mobile_signal_group" android:layout_width="wrap_content" android:layout_height="wrap_content" />[/COLOR]
[COLOR=blue] <FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">[/COLOR]
[COLOR=blue] <com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneLightTheme" android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" systemui:hasOverlappingRendering="false" />[/COLOR]
[COLOR=blue] <com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneDarkTheme" android:id="@id/wifi_signal_dark" android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.0" systemui:hasOverlappingRendering="false" />[/COLOR]
[COLOR=blue] <com.android.systemui.statusbar.AlphaOptimizedImageView android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" systemui:hasOverlappingRendering="false" />
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneLightTheme" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" systemui:hasOverlappingRendering="false" />
[/COLOR][COLOR=blue][/COLOR][COLOR=blue] </FrameLayout>[/COLOR]
<FrameLayout android:id="@id/no_sims_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/accessibility_no_sims">
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneLightTheme" android:id="@id/no_sims" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_no_sims" systemui:hasOverlappingRendering="false" />
<com.android.systemui.statusbar.AlphaOptimizedImageView android:theme="@style/DualToneDarkTheme" android:id="@id/no_sims_dark" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_no_sims" android:alpha="0.0" systemui:hasOverlappingRendering="false" />
</FrameLayout>
<View android:id="@id/wifi_airplane_spacer" android:visibility="gone" android:layout_width="4.0dip" android:layout_height="4.0dip" />
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Save, recompile and push back to your phone and you should now have rather lovely new, merged icons! Enjoy!
thank you my friend!
woah!
my theming master is back with a bang..... im still using tha old ways!
guess i gat to migrate to tha new way!
thanks
hi @Ticklefish
long time ago...
saw this wonderful mod for a clear and pure statusbar.
Tried it, but miy signa_cluster_view.xml looks horrible different to your tutorial.
I´m on stock LP 5.1.1 with no special mods.
If you have time you can have a look at the xml
Thx
m.
moonryder said:
hi @Ticklefish
long time ago...
saw this wonderful mod for a clear and pure statusbar.
Tried it, but miy signa_cluster_view.xml looks horrible different to your tutorial.
I´m on stock LP 5.1.1 with no special mods.
If you have time you can have a look at the xml
Thx
m.
Click to expand...
Click to collapse
try dis buddy & see....
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingEnd="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
<ImageView android:id="@id/vpn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_vpn_ic" android:paddingEnd="6.0dip" />
<ImageView android:id="@id/ethernet" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<FrameLayout android:id="@id/data_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<ImageView android:id="@id/data_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/volte" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_volte" android:layout_marginEnd="@dimen/status_bar_volte_margin_end" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:id="@id/mobile_signal_cdma" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_3g" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_signal_1x" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/mobile_signal_1x_only" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:orientation="vertical" android:id="@id/mobile_data_voice" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_data" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_signal_voice" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="left" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="end|bottom|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/wifi_airplane_spacer" android:visibility="gone" android:layout_width="4.0dip" android:layout_height="4.0dip" />
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Hey @Ticklefish, any way you could modify this so I could create a toggle in my settings menu so select the use of it?
whalesplaho said:
try dis buddy & see....
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingEnd="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
<ImageView android:id="@id/vpn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_vpn_ic" android:paddingEnd="6.0dip" />
<ImageView android:id="@id/ethernet" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<FrameLayout android:id="@id/data_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<ImageView android:id="@id/data_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/volte" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_volte" android:layout_marginEnd="@dimen/status_bar_volte_margin_end" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:id="@id/mobile_signal_cdma" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_3g" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_signal_1x" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/mobile_signal_1x_only" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:orientation="vertical" android:id="@id/mobile_data_voice" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_data" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_signal_voice" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="left" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="end|bottom|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/wifi_airplane_spacer" android:visibility="gone" android:layout_width="4.0dip" android:layout_height="4.0dip" />
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Click to expand...
Click to collapse
You beat me to it, my friend!
Bloodlvst said:
Hey @Ticklefish, any way you could modify this so I could create a toggle in my settings menu so select the use of it?
Click to expand...
Click to collapse
Now there's an interesting idea.. Unfortunately that's a bit beyond my current skills though..:crying:
Ticklefish said:
You beat me to it, my friend!
Now there's an interesting idea.. Unfortunately that's a bit beyond my current skills though..:crying:
Click to expand...
Click to collapse
Yippppppaaaaa..... Yhu taught me well brov!!!
How yhu been?
whalesplaho said:
try dis buddy & see....
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingEnd="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
<ImageView android:id="@id/vpn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_vpn_ic" android:paddingEnd="6.0dip" />
<ImageView android:id="@id/ethernet" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<FrameLayout android:id="@id/data_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<ImageView android:id="@id/data_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/volte" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_volte" android:layout_marginEnd="@dimen/status_bar_volte_margin_end" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:id="@id/mobile_signal_cdma" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_3g" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_signal_1x" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/mobile_signal_1x_only" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:orientation="vertical" android:id="@id/mobile_data_voice" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_data" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_signal_voice" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="left" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="end|bottom|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/wifi_airplane_spacer" android:visibility="gone" android:layout_width="4.0dip" android:layout_height="4.0dip" />
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Click to expand...
Click to collapse
hi,
tried it but i got recompiling errors
log is attached.
i think there are some values missed, but i don´t know where to add them (´fillColor´ with value '?backgroundColor').
whalesplaho said:
Yippppppaaaaa..... Yhu taught me well brov!!!
How yhu been?
Click to expand...
Click to collapse
I'm good, I'm good. Just keeping busy, you know?
moonryder said:
hi,
tried it but i got recompiling errors
log is attached.
i think there are some values missed, but i don´t know where to add them (´fillColor´ with value '?backgroundColor').
Click to expand...
Click to collapse
Damn. I'd assumed that the fillColor and backgroundColor would be universal. Looks like I was wrong.
Bugger.
Sorry about that, I'll change the code as soon as I get a chance. But, for now, try replacing "?fillColor" with "#ffffffff". And replacing "?backgroundColor" with "#66ffffff".
You'll have to do that in every file, I'm afraid. Again, sorry about that.
Ticklefish said:
I'm good, I'm good. Just keeping busy, you know?
Damn. I'd assumed that the fillColor and backgroundColor would be universal. Looks like I was wrong.
Bugger.
Sorry about that, I'll change the code as soon as I get a chance. But, for now, try replacing "?fillColor" with "#ffffffff". And replacing "?backgroundColor" with "#66ffffff".
You'll have to do that in every file, I'm afraid. Again, sorry about that.
Click to expand...
Click to collapse
i do brov.......
but i dnt have compiling..... fiilcolor or backgroundcolor error!
Ticklefish said:
I'm good, I'm good. Just keeping busy, you know?
Damn. I'd assumed that the fillColor and backgroundColor would be universal. Looks like I was wrong.
Bugger.
Sorry about that, I'll change the code as soon as I get a chance. But, for now, try replacing "?fillColor" with "#ffffffff". And replacing "?backgroundColor" with "#66ffffff".
You'll have to do that in every file, I'm afraid. Again, sorry about that.
Click to expand...
Click to collapse
@Ticklefish
Big thx for the tipp, works like a charm
(changing was no problem with notepad++ using search and replace function )
For all interested users: i attached the "new" merged WiFi and Signal Icons
@whalesplaho
big thx for the modded signal_cluster_view.xml file
works great.
Have fun
moonryder said:
@Ticklefish
Big thx for the tipp, works like a charm
(changing was no problem with notepad++ using search and replace function )
For all interested users: i attached the "new" merged WiFi and Signal Icons
@whalesplaho
big thx for the modded signal_cluster_view.xml file
works great.
Have fun
Click to expand...
Click to collapse
happy to help buddy.... enjoy yur mod!:victory:
moonryder said:
@Ticklefish
Big thx for the tipp, works like a charm
(changing was no problem with notepad++ using search and replace function )
For all interested users: i attached the "new" merged WiFi and Signal Icons
@whalesplaho
big thx for the modded signal_cluster_view.xml file
works great.
Have fun
Click to expand...
Click to collapse
It's good to know it works!
I've replaced the files in the ZIP in the OP now, so it should work for everybody. Thanks for letting me know there was an issue! :highfive:
whalesplaho said:
try dis buddy & see....
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingEnd="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/no_sim" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/status_bar_no_sim_margin_end" />
<ImageView android:id="@id/vpn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_vpn_ic" android:paddingEnd="6.0dip" />
<ImageView android:id="@id/ethernet" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<FrameLayout android:id="@id/data_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="invisible" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<ImageView android:id="@id/data_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/volte" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_volte" android:layout_marginEnd="@dimen/status_bar_volte_margin_end" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:id="@id/mobile_separate" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_separate_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_separate_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
<FrameLayout android:id="@id/mobile_combo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:id="@id/mobile_signal_cdma" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_3g" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_signal_1x" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/mobile_signal_1x_only" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:orientation="vertical" android:id="@id/mobile_data_voice" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_data" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_signal_voice" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="left" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="end|bottom|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/wifi_airplane_spacer" android:visibility="gone" android:layout_width="4.0dip" android:layout_height="4.0dip" />
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
Click to expand...
Click to collapse
Hi dear friend.
I 've tested the systemui sony port for cm12.1 replied. Thank you so much
Ramizcyanogen said:
Hi dear friend.
I 've tested the systemui sony port for cm12.1 replied. Thank you so much
Click to expand...
Click to collapse
Yhu mean it works for ported sony systemuinfor cm12.1?
whalesplaho said:
Yhu mean it works for ported sony systemuinfor cm12.1?
Click to expand...
Click to collapse
yes dear
Ramizcyanogen said:
yes dear
Click to expand...
Click to collapse
Dahs great... All thanks to @Ticklefish
Thanks so much for this! Just did it to my own phone, first time editing system.apk
StruttinSoul said:
Thanks so much for this! Just did it to my own phone, first time editing system.apk
Click to expand...
Click to collapse
Excellent! :good:
Welcome to the world of APK modding..

Categories

Resources