[TUT] Merged WiFi & Signal Icons (For LP & MM) - Updated! - Sony Cross-Device Development Themes and Apps

{
"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..

Related

240 DPI In Jellybean off centered lockscreen fix?

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..=/

[Q] How to remove a transparent dialer

I have the problem which is shown in picture below. I've tried to replace SemcPhone.apk and Contacts.apk with other ones, but there was no effect.
silkoo said:
I have the problem which is shown in picture below. I've tried to replace SemcPhone.apk and Contacts.apk with other ones, but there was no effect.
Click to expand...
Click to collapse
That's awesome
I think the images are part of the frameworks
Pvy
Sent from my Galaxy Nexus using xda premium
Are you using the stock ROM !?
No, its custom AWESOME-4000 ROM
I have got this ad well when I put the xperia t phonebook onto my arc so it could be that you have incompatible dialer with home launcher just try different launcher.
Sent from my X10i using xda premium
I have this problem too..I installed xperia T home and phonebook and dialer ..I think problem is with phonebook.apk or dialler
am2222 said:
I have this problem too..I installed xperia T home and phonebook and dialer ..I think problem is with phonebook.apk or dialler
Click to expand...
Click to collapse
I've tried to replace the dialer - no effect.
silkoo said:
I've tried to replace the dialer - no effect.
Click to expand...
Click to collapse
if you use phonebook from stock rom then it works, ie not transparent
a.
I've the same question: Where can I change the transparent dialer in phonebook.apk? I changed dial_background.png in some folders but it didn't help.
I changed a lot more pictures and .xml strings but still no luck. I didn't find any topic for the sony stock phonebook.apks, so I would be thankful if someone can help!
silkoo said:
I have the problem which is shown in picture below. I've tried to replace SemcPhone.apk and Contacts.apk with other ones, but there was no effect.
Click to expand...
Click to collapse
I'm too trying to search for a solution - For sure it's unrelated to SemcPhone or Contacts apps. Instead it's framework-res.apk. For Xperia 2012 devices after decompile, in able to recompile you have to change background in styles.xml. After recompile my modded framework-res.apk I got the same problem as you (transparent smart dialer). I haven't found (actually don't know) which line called out that background for smartsearch dialer.
accts said:
I'm too trying to search for a solution - For sure it's unrelated to SemcPhone or Contacts apps. Instead it's framework-res.apk. For Xperia 2012 devices after decompile, in able to recompile you have to change background in styles.xml. After recompile my modded framework-res.apk I got the same problem as you (transparent smart dialer). I haven't found (actually don't know) which line called out that background for smartsearch dialer.
Click to expand...
Click to collapse
Upload the de compiled contacts.apk as a zip and I'll look
Pvy
Sent from my Galaxy Nexus using Tapatalk 2
pvyParts said:
Upload the de compiled contacts.apk as a zip and I'll look
Pvy
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
My system app doesn't have the contacts.apk - I do have a contactsimport.apk - Is it the same ? beside as mentioned my was related to framework-res.
accts said:
My system app doesn't have the contacts.apk - I do have a contactsimport.apk - Is it the same ? beside as mentioned my was related to framework-res.
Click to expand...
Click to collapse
Nope. Phonebook.apk ?
Pvy
Sent from my Galaxy Nexus using Tapatalk 2
pvyParts said:
Nope. Phonebook.apk ?
Pvy
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Here is the zip decompiled phonebook.apk - View attachment LT28i_68_phonebook.zip
Finally got around to checking this for yo guys,
Now it is REALLY easy to figure this out so prepare for a spiel.
if there is an image that you need to figure out. somewhere in an app. this is my process of doing it.
first figure out what part of the app it is in (the Dialer in the main activity)
check for a layout that is named Dialer
Code:
/res/layout/dialpad
close enough for me.
look at the xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/dialpad" android:background="@drawable/dial_background" android:layout_width="fill_parent" android:layout_height="@dimen/dialpad_height" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="@dimen/dialpad_button_height" android:baselineAligned="false" android:layout_weight="1.0" android:directionality="none">
<RelativeLayout android:id="@id/one" android:background="@drawable/dial_num_left" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/oneNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_1_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/oneNum" android:layout_centerVertical="true">
<TextView android:id="@id/oneSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_1_txt" style="@style/Dialpad.Label" />
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/dialpad_voicemail_icn" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout android:id="@id/two" android:background="@drawable/dial_num" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:nextFocusDown="@id/five" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/twoNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_2_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/twoNum" android:layout_centerVertical="true">
<TextView android:id="@id/twoSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_2_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/dialpad_label_2_txt" style="@style/Dialpad.Label" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout android:id="@id/three" android:background="@drawable/dial_num" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/threeNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_3_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/threeNum" android:layout_centerVertical="true">
<TextView android:id="@id/threeSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_3_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/dialpad_label_3_txt" style="@style/Dialpad.Label" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="@dimen/dialpad_button_height" android:baselineAligned="false" android:layout_weight="1.0" android:directionality="none">
<RelativeLayout android:id="@id/four" android:background="@drawable/dial_num_left" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/fourNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_4_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/fourNum" android:layout_centerVertical="true">
<TextView android:id="@id/fourSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_4_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/dialpad_label_4_txt" style="@style/Dialpad.Label" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout android:id="@id/five" android:background="@drawable/dial_num" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:nextFocusUp="@id/two" android:nextFocusDown="@id/eight" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/fiveNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_5_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/fiveNum" android:layout_centerVertical="true">
<TextView android:id="@id/fiveSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_5_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/dialpad_label_5_txt" style="@style/Dialpad.Label" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout android:id="@id/six" android:background="@drawable/dial_num" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/sixNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_6_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/sixNum" android:layout_centerVertical="true">
<TextView android:id="@id/sixSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_6_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/dialpad_label_6_txt" style="@style/Dialpad.Label" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="@dimen/dialpad_button_height" android:baselineAligned="false" android:layout_weight="1.0" android:directionality="none">
<RelativeLayout android:id="@id/seven" android:background="@drawable/dial_num_left" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/sevenNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_7_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/sevenNum" android:layout_centerVertical="true">
<TextView android:id="@id/sevenSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_7_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/dialpad_label_7_txt" style="@style/Dialpad.Label" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout android:id="@id/eight" android:background="@drawable/dial_num" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:nextFocusUp="@id/five" android:nextFocusDown="@id/zero" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/eightNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_8_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/eightNum" android:layout_centerVertical="true">
<TextView android:id="@id/eightSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_8_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/dialpad_label_8_txt" style="@style/Dialpad.Label" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout android:id="@id/nine" android:background="@drawable/dial_num" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/nineNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_9_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/nineNum" android:layout_centerVertical="true">
<TextView android:id="@id/nineSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_9_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/dialpad_label_9_txt" style="@style/Dialpad.Label" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="@dimen/dialpad_button_height" android:baselineAligned="false" android:layout_weight="1.0" android:directionality="none">
<RelativeLayout android:id="@id/star" android:background="@drawable/dial_num_special_left" android:paddingLeft="@dimen/dialpad_button_star_or_pound_padding_left" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/starNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_star_margin_top" android:text="@string/general_dialpad_star_txt" style="@style/Dialpad.Star" />
<TextView android:id="@id/starSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_star_txt" android:layout_toRightOf="@id/starNum" android:layout_centerVertical="true" style="@style/Dialpad.Label" />
</RelativeLayout>
<RelativeLayout android:id="@id/zero" android:background="@drawable/dial_num_special" android:paddingLeft="@dimen/dialpad_button_padding_left" android:focusable="true" android:nextFocusUp="@id/eight" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/zeroNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_0_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_toRightOf="@id/zeroNum" android:layout_centerVertical="true">
<TextView android:id="@id/zeroSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_0_txt" style="@style/Dialpad.Label" />
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:layout_marginTop="@dimen/dialpad_lable_plus_margin_top" android:text="@string/dialpad_label_0_txt" android:includeFontPadding="false" style="@style/Dialpad.Plus" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout android:id="@id/pound" android:background="@drawable/dial_num_special" android:paddingLeft="@dimen/dialpad_button_star_or_pound_padding_left" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:directionality="leftToRight">
<TextView android:id="@id/poundNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/general_dialpad_hash_txt" style="@style/Dialpad.Pound" />
<TextView android:id="@id/poundSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/dialpad_search_lable_margin_left" android:text="@string/dialpad_search_label_pound_txt" android:layout_toRightOf="@id/poundNum" android:layout_centerVertical="true" style="@style/Dialpad.Label" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
ok thats long and confusing how the hell...
Click to expand...
Click to collapse
do a find fast for background
First hit is
Code:
<LinearLayout android:orientation="vertical" android:id="@id/dialpad" android:[COLOR="Red"]background[/COLOR]="@drawable/dial_background" android:layout_width="fill_parent" android:layout_height="@dimen/dialpad_height" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android">
find the drawable
Code:
drawable-hdpi/dial_background
check if it is transparent (gimp / firworks / photoshop)
Hells Yeah! problem solvered.
Click to expand...
Click to collapse
in short your images are
Code:
drawable-hdpi/dial_background.png
drawable-mdpi/dial_background.png
drawable-xdpi/dial_background.png
drawable-land-hdpi/dial_background.png
drawable-land-hdpi/dial_background.png
drawable-land-xdpi/dial_background.png
those are the ones you need to change to get rid of the transparent dialer.
follow this process and you will be able to find anything. works the same for images text layouts what ever. if you are slack like me use a program like Astrogrep (windows) / Grep (linux) to search the entire folder for short keywords then narrow the search down from there (dial for example here)
this has been a public service announcement by pvyParts
Pvy.

[H] modding mms.apk

i am trying to mod my mms apk but now i am stuck i want to know if anyone can tell me where or what i need to change to change the maxwidth of my mms "bubble" to 185.0dip here is my message_list_item_recv.xml file also placed it in a attachment. thanks in advance.
<?xml version="1.0" encoding="utf-8"?>
<com.android.mms.ui.MessageListItem androidrientation="horizontal" android:id="@id/msg_list_item_recv" android:background="@color/transparent" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout androidrientation="vertical" android:id="@id/mms_layout_view_parent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<RelativeLayout android:id="@id/message_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<android.widget.QuickContactBadge android:id="@id/avatar" android:layout_width="@dimen/avatar_width_height" android:layout_height="@dimen/avatar_width_height" android:layout_marginLeft="@dimen/avatar_margin_left_right" android:layout_marginTop="@dimen/avatar_margin_top_bottom" android:layout_marginRight="@dimen/avatar_margin_left_right" android:layout_marginBottom="@dimen/avatar_margin_top_bottom" android:layout_alignParentLeft="true" position="left_middle" style="?android:attr/quickContactBadgeStyleWindowSmall" />
<RelativeLayout androidrientation="vertical" android:id="@id/message_block" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/message_block_margin_left_right_noavatar" android:layout_marginRight="@dimen/message_block_margin_left_right_noavatar" android:minHeight="@dimen/avatar_width_height" android:layout_toRightOf="@id/avatar" android:layout_alignParentLeft="true">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="16.0sp" android:textColor="@color/message_recieved" android:autoLink="all" android:linksClickable="false" android:id="@id/text_view" androidaddingLeft="@dimen/message_item_text_padding_left_right" androidaddingTop="@dimen/message_item_text_padding_top" androidaddingRight="@dimen/message_item_text_padding_left_right" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout androidrientation="horizontal" android:id="@id/status_view" androidaddingLeft="@dimen/message_item_text_padding_left_right" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/text_view">
<ImageView android:id="@id/locked_indicator" androidaddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_lock_message_sms" />
<ImageView android:id="@id/delivered_indicator" androidaddingRight="3.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_delivered" />
<ImageView android:id="@id/details_indicator" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_sms_mms_details" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="@color/text_hairline" android:id="@id/date_view" androidaddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ViewStub android:id="@id/mms_layout_view_stub" android:layout="@layout/mms_layout_view" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/status_view" />
</RelativeLayout>
</RelativeLayout>
</LinearLayout>
<ViewStub android:layout_gravity="center_vertical" android:id="@id/mms_downloading_view_stub" android:layout="@layout/mms_downloading_view" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.mms.ui.MessageListItem>

[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

[Q] [Help Needed] Battery Icon from xposed

I want to know how can i track battery using an xposed module, remove the existing battery meter, and add my own battery meter dynamically. I have no idea how to begin with this. I saw some source codes, but couldn't understand how they work. Please provide with some examples or basic ideas to get started with (links also would be very helpful)
The following is the layout file in my ROM (CoolUI8):
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<include android:id="@id/msim_hd_voice_on" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" layout="@layout/hd_voice_on" />
<include android:id="@id/msim_signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" layout="@layout/signal_cluster_view_yulong" />
<com.android.systemui.BatteryViewGroup android:id="@id/battery_field" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="4.0dip">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Text.Style" android:layout_gravity="center_vertical" android:id="@id/battery_level" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/battery_level_padding_end" />
<FrameLayout android:layout_gravity="center_vertical" android:id="@id/battery_group" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/battery_frame" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_battery_frame" android:scaleType="center" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="25.0dip" android:layout_height="12.0dip" />
<ImageView android:id="@id/battery_charge" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="25.0dip" android:src="@drawable/stat_sys_battery_charge_flag" android:scaleType="center" />
</FrameLayout>
</com.android.systemui.BatteryViewGroup>
</LinearLayout>
I have been successful in hiding the existing battery meter (hid the whole FrameLayout with the id: battery_group), but i want to add custom battery meter there... Please reply if you have any information related to this topic

Categories

Resources