[TUT] How to fix big "back" button with small navigation bar - Xperia SP Android Development

Hey guys! To developers or whoever this may concern:
As you know, the back button does not scale nice with the small DPI navbar mods. You have to patch the SystemUI.apk for that as well. Here's how:
You have to edit the SystemUI.apk as well to fix that.
0. Decompile the SystemUI.apk
1. Go to res/layout/navigation_bar.xml
2. Delete
Code:
android:scaleType="center"
from
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_back" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
and
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_back_land" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
3. Recompile and push to system/app. Reboot. Done!
Thank me if this helped!

Cool work mate. Finally you found it... Great.... I have spend my whole 8 Thanks at today in Xperia S forum.. Sorry :laugh::laugh::laugh::laugh:

This should be in themes and apps forum
Sent from my C5302 using XDA Premium 4 mobile app

Thanks a lot for this! That huge back button was driving me insane.

Its very good
I needed a lot
Thanks

I can not test..
navbar lost, wp black screen,
how to let as expected in 4.4.4 rom kitkat

vandiaz_sairavinz said:
I can not test..
navbar lost, wp black screen,
how to let as expected in 4.4.4 rom kitkat
Click to expand...
Click to collapse
U need a deodexed rom

Rajeev said:
U need a deodexed rom
Click to expand...
Click to collapse
What xperianze 4.4.4 deodex rom yet?

vandiaz_sairavinz said:
What xperianze 4.4.4 deodex rom yet?
Click to expand...
Click to collapse
Then u must done something wrong..

Related

EPIC BLUE THEME PULLDOWN TOGGLES for Eclipse 2.1

Is there a way to change the order of the pulldown toggles in this theme? This is what I've done so far:
1)I've decompiled the SystemUI.apk file
2)Modified the status_bar_expanded.xml file to reorder the toggles the way that I wanted them.
3)Deleted the proper files that were modified
4)Recompiled & signed it.
5)Replaced the modified SystemUI.apk file back into the Epic Blue zip file
6)Installed in recovery (wiping cache & dalvik cache)
The pulldown toggles remain in their original order, but other modifications that I made took effect. Any help would be GREATLY appreciated!! I have done this before even with Epic Blue for 2.0.X with great results.
dkool1 said:
Is there a way to change the order of the pulldown toggles in this theme? This is what I've done so far:
1)I've decompiled the SystemUI.apk file
2)Modified the status_bar_expanded.xml file to reorder the toggles the way that I wanted them.
3)Deleted the proper files that were modified
4)Recompiled & signed it.
5)Replaced the modified SystemUI.apk file back into the Epic Blue zip file
6)Installed in recovery (wiping cache & dalvik cache)
The pulldown toggles remain in their original order, but other modifications that I made took effect. Any help would be GREATLY appreciated!! I have done this before even with Epic Blue for 2.0.X with great results.
Click to expand...
Click to collapse
Hmm. Are you using apkmanager to do this? I've had problems with it when having to delete files that were modified so I always do the option to not save additional files.(if that makes sense). Anyway I'm curious so I'm going to try it out for myself and let you know how it goes.
EDIT: Same thing happened here. I change the order in the xml but it stayed the same. There must be more to it since the scrolling toggles were added. If I figure it out I'll let you know.
---------- Post added at 09:51 PM ---------- Previous post was at 09:02 PM ----------
OK, here's what I found. The toggles in eclipse 2.1 are positioned using relative layout. Which means that each of the FrameWork Layout sections are pointing to the id that it is to the right of. So if we move the FrameWork Layout sections it won't matter. What is important is what the "android:layout_toRightOf" value is set to. For example if you look at the gps button you see that it is alway to the right of the blue tooth button.
Code:
android:layout_toRightOf="@id/bt_bttn"
Code:
<FrameLayout android:id="@id/gps_bttn" android:layout_width="fill_parent" android:layout_height="65.0dip" android:layout_weight="1.0" android:layout_toRightOf="@id/bt_bttn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_icon" android:layout_width="72.099976dip" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:src="@drawable/quickpanel_icon_gps_off" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="11.0dip" android:textStyle="bold" android:textColor="#ffdfdfdf" android:gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_text" android:paddingTop="35.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_gps_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_gps_btn_status_icon" android:paddingLeft="2.2999878dip" android:paddingRight="2.2999878dip" android:layout_width="fill_parent" android:layout_height="5.299988dip" android:layout_marginBottom="4.0dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
So changing the value of the layout_toRightO in each of the FrameLayout sections relative to the others is what you need to do to change the order of the toggles. I haven't tried it out yet but that should be what you're looking for. If you get to try it before I do let me know if it works.
Oh, Here's a tutorial that explains relative layout that I found http://developer.android.com/resources/tutorials/views/hello-relativelayout.html
Edit again: This method works. I just moved the flashlight right after the sound button.
You da Man!! Major Props to you!!
THANK YOU THANK YOU THANK YOU!!
Thanks. Glad to help.
Sent from my DROID X2 using Tapatalk
Has anyone had trouble with the flashlight toggle on the status bar sticking? It seems to stay for a little while and then goes back to the original status bar ....
I haven't, but I don't use the flashlight toggle enough to make a fair assessment. It hasn't stuck for me.

[GUIDE]Moving Power Widget to Bottom Like MIUI[CM7]

Hello guys, on this thread i will share my guide to you all (themers, member etc)
So, here we go..​
A. Explanation :
1. You must know how to compile/decompile
2. You must know how to edit xml/smali/baksmali
3. You must know how to use apktool/apkmanager/toolAlite or something else
4. You must know how to use notepad++/Sublime
B. Explanation :
1. Pull SystemUI.apk from your ROM (i suggest you. systemui must be clean).
2. Decompile it and open status_bar_expanded.xml from /res/layout/here
3. Find this line :
Code:
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
4. And change to this line :
Code:
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="0.0px" android:layout_height="0.0px" />
5. Save
C. Explanation :
1. Open status_bar_tracking.xml
2. Find this line :
Code:
<com.android.systemui.statusbar.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
3. Paste this line at the bottom :
Code:
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
4. Save and compile it then push to /system/app
Note :
- You can paste <com.android.systemui.statusbar.powerwidget.PowerWidget line after or before this line <com.android.systemui.statusbar.CloseDragHandle
Click to expand...
Click to collapse
Happy Theming!!
petrukgrinder said:
Hello guys, on this thread i will share my guide to you all (themers, member etc)
So, here we go..​
Happy Theming!!
Click to expand...
Click to collapse
Nice Tutor....
thanks master...
... click thanks for u....:fingers-crossed:
Ariefuno Recca said:
Nice Tutor....
thanks master...
... click thanks for u....:fingers-crossed:
Click to expand...
Click to collapse
your welcome uno
Send from my fvckin fingers
petrukgrinder said:
your welcome uno
Send from my fvckin fingers
Click to expand...
Click to collapse
Wkwkwk..... I Have Hammer, Maybe u can used it to Hit u're finger...
(JUST KID MASTER) LOL:laugh:
master, i have question about ROM, I'M port ROM stock to Cusker, but still Stuck in logo kernel? why....
I tried your tut and everything seemd great (when I was compiling, etc.) and now In my status bar I have 2 power widgets xD one on the bottom and second on the top xD
What should I do ? xd
BlackLie said:
I tried your tut and everything seemd great (when I was compiling, etc.) and now In my status bar I have 2 power widgets xD one on the bottom and second on the top xD
What should I do ? xd
Click to expand...
Click to collapse
remove the power widget on top.
how to do that? you can try it :
- first u must find and sure the line is power widget on top of page layout
- on the line of power widget make a 0.0px on android:layout_width & android:layout_height
- recompile ur systemui and u done with it.
Its work but i got problem when combined with your floating statusbar guide.how to get power widget on bottom the png not overlap like this:
Sent from my GT-S5360

Enable Torch Light options in Settings>Display

Hi, This mod for i9190 to enable hidden torch light options in settings > display settings menu. Flash with CWM. no wipe data or cache. or unzip secsettings.apk copy and paste system/app with file manger.
Here is XXUAMF7 Deodexed Roms. : http://www.mediafire.com/?bkw2hms8fxd82f7
Here is XXUAMF7 Odexed Roms. : http://www.mediafire.com/?jz13w3wj4h5e6lz
Is this feature really "hidden"? Never knew.
Could you please give source on what you modded so that us lte users and duos can mod it? Thanks
Here is how to
Decompile SecSettings.apk
Goto res/xml/display_settings.xml
Apply Changes Below (Red)
Code:
<PreferenceCategory android:title="@string/tts_general_section_title" android:key="general" />
<PreferenceScreen android:title="@string/wallpaper" android:key="wallpaper" android:fragment="com.android.settings.WallpaperSettings" />
<PreferenceScreen android:title="@string/led_indicator_settings" android:key="led_indicator_settings" android:fragment="com.android.settings.LedIndicatorSettings" />
[COLOR="Red"]<PreferenceScreen android:title="@string/torchlight_settings" android:key="torchlight" android:fragment="com.android.settings.torchlight.TorchlightSettings" />[/COLOR]
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
<CheckBoxPreference android:title="@string/multi_window_title" android:key="key_multi_window" android:summary="@string/multi_window_summary" android:widgetLayout="@33751061" />
Compile SecSettings.apk !
Hello, thank you for the tip, fonctione great on my sfr rom France
Thenk you.
Spitya-Tapitalk
Thanks BRO. AWESOME WORK keep it up
Sent from my GT-I9105P using Tapatalk
Thank you very much... It worked in Turkish version...
Why is Samsung hidden this kind of tricks (or options)?
Torch also for I9195?
Hi.
Awesome.
Do I require root for this?
Did somebody already modify for I9195?
I had tried this torch using Wanam Xposed and found out that after using torch the phone never goes into deep sleep.
I am using torch from wanam exposed on gt-i9195 and I don't have any deep sleep issues.
junkyde said:
I am using torch from wanam exposed on gt-i9195 and I don't have any deep sleep issues.
Click to expand...
Click to collapse
I have had it don't know why.
I have had it with my Note 2 and S4 Mini.
Eline sağlık
RedFlagTR said:
Eline sağlık
Click to expand...
Click to collapse
An easy way to enable torch is to use the dedicated widget preinstalled named "Torch" or "Assistive light"...

[ROM] - Droidwin v2 Lollipop Holo Theme - I8552

{
"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"
}
11-28-2014 NEW UPDATE RELEASE
WHAT IS NEW?
SETTINGS MOD
Lollipop Holo Blue themed colors, icons, headers, prepared to recieve CM themes
Advanced Menu Preferences with
CM Theme Chooser
Xposed Installler
Root Permissions
Launcher Settings
Refresh about settings informations
SYSTEMUI
New Toggle Buttons L BALLS Blue
Erase lines dividers and stats
Erase Toggle text
Reorder toogle buttons
Transparent headers
Transparent notifications
Text colors HOLO
StatusBar On close remake light theme
Mod Quick Panel Settings with Blue Balls
APPS & FEATURES
New Launcher Lollipop version 3.0 Beta Apex
Lollipop Keyboards
New Themes, icon Packs default
L Sounds
Lollipop Wallpapers
Frameworks MOD to recieve CM Themes on
Settings, AOSP lock, contacts, dialer and some UI
XPOSED
Any themes mods CM, TW native on theme chooser
AOSP Lockscreen
Advanced Power Menu
Android L and other themes
I was update some google apps like search, gmail, youtube
Mirror: Drive
Mirror: 4Shared
INSTALL INSTRUCTIONS
Read original Thread
Now let’s step by step installation
# Remembering that the option and responsibility to change the firmware of your mobile device/smartphone is exclusively your free choice, not being responsible for Universo Android, its representative and/or the Developer any damage which may perform or cause incorrect procedures or lack of knowledge. If you do not agree to the terms and conditions above or has no idea how to perform, please do not proceed
Prerequisites for installation
STOCK ROM BASEBAND BUBUANF1 or AndroWin Blue KK / White Installed
ROOT & CWM 6.0.4.5 installed
Supersu Installed
6 Class minimal SDCard by 8GB type)
RESUME STEPS on cwm 6.0.4.5
Transfer zips to sdcard and boot recovery
1- wipe data factory /reset
2- wipe cache particion
3- Wipe advanced dalvik
4- Install zip choose DroidWinKK_v2.zip
Resume next on Aroma
5- FIRST Reboot now
6- on setup use jump until load homescreen and power off device
7- Start boot on recovery again
DON'T WIPE
8- install zip choose Androwin package 2.0.zip
9- SECOND Reboot and enjoy L version
DROIDWIN PREFRENCES CONFIGURATION
THEME CHOOSER: Is important In Theme chooser setup, choice and apply on settings/style app " to 3 tab Menu " view, must be the only way to works this functionallity activity because was defined by me to work on SecSettings Menu function "Droidwin preferences Mode".
So if you like the CM Styles view, you must works opening HK.apk on drawer icon shortcut
XPOSED: Click on Xposed Installer Menu, install de framework , on mudules mark checbox to allow activation
XDAevDB Information
UniandroidMod, ROM for the Samsung Galaxy Grand Quattro
Enjoy !!
Contributors
mjraogr, serajr, For support Guides: On XML editons thanks to ocoot, On SystemUI editions thanks to joehanh88
Source Code: http://wp.me/p4JDOC-rv
Thanks To Mappz
Thanks To Andro Does
ROM OS Version: 4.1.x Jelly Bean
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Baseband BUBUANF1 - July 2014
Based On: TW Deodex with AOSP Mod
Version Information
Status: Stable
Current Stable Version: Androwin 1.0 Uninadr
Stable Release Date: 2014-11-05
Current Beta Version: AndroWin White
Beta Release Date: 2014-09-11
Created 2014-11-09
Last Updated 2014-11-30
mjraogr said:
11-28-2014 NEW UPDATE RELEASE
WHAT IS NEW?
SETTINGS MOD
Lollipop Holo Blue themed colors, icons, headers, prepared to recieve CM themes
Advanced Menu Preferences with
CM Theme Chooser
Xposed Installler
Root Permissions
Launcher Settings
Refresh about settings informations
SYSTEMUI
New Toggle Buttons L BALLS Blue
Erase lines dividers and stats
Erase Toggle text
Reorder toogle buttons
Transparent headers
Transparent notifications
Text colors HOLO
StatusBar On close remake light theme
Mod Quick Panel Settings with Blue Balls
APPS & FEATURES
New Launcher Lollipop version 3.0 Beta Apex
Lollipop Keyboards
New Themes, icon Packs default
L Sounds
Lollipop Wallpapers
Frameworks MOD to recieve CM Themes on
Settings, AOSP lock, contacts, dialer and some UI
XPOSED
Any themes mods CM, TW native on theme chooser
AOSP Lockscreen
Advanced Power Menu
Android L and other themes
I was update some google apps like search, gmail, youtube
Mirror: Drive
Mirror: 4Shared
INSTALL INSTRUCTIONS
Read original Thread
Now let’s step by step installation
# Remembering that the option and responsibility to change the firmware of your mobile device/smartphone is exclusively your free choice, not being responsible for Universo Android, its representative and/or the Developer any damage which may perform or cause incorrect procedures or lack of knowledge. If you do not agree to the terms and conditions above or has no idea how to perform, please do not proceed
Prerequisites for installation
STOCK ROM BASEBAND BUBUANF1 or AndroWin Blue KK / White Installed
ROOT & CWM 6.0.4.5 installed
Supersu Installed
6 Class minimal SDCard by 8GB type)
RESUME STEPS on cwm 6.0.4.5
Transfer zips to sdcard and boot recovery
1- wipe data factory /reset
2- wipe cache particion
3- Wipe advanced dalvik
4- Install zip choose DroidWinKK_v2.zip
Resume next on Aroma
5- FIRST Reboot now
6- on setup use jump until load homescreen and power off device
7- Start boot on recovery again
DON'T WIPE
8- install zip choose Androwin package 2.0.zip
9- SECOND Reboot and enjoy L version
DROIDWIN PREFRENCES CONFIGURATION
THEME CHOOSER: Is important In Theme chooser setup, choice and apply on settings/style app " to 3 tab Menu " view, must be the only way to works this functionallity activity because was defined by me to work on SecSettings Menu function "Droidwin preferences Mode".
So if you like the CM Styles view, you must works opening HK.apk on drawer icon shortcut
XPOSED: Click on Xposed Installer Menu, install de framework , on mudules mark checbox to allow activation
XDAevDB Information
UniandroidMod, ROM for the Samsung Galaxy Grand Quattro
Enjoy !!
Contributors
mjraogr, serajr, For support Guides: On XML editons thanks to ocoot, On SystemUI editions thanks to joehanh88
Source Code: http://wp.me/p4JDOC-rv
Thanks To Mappz
Thanks To Andro Does
ROM OS Version: 4.1.x Jelly Bean
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Baseband BUBUANF1 - July 2014
Based On: TW Deodex with AOSP Mod
Version Information
Status: Stable
Current Stable Version: Androwin 1.0 Uninadr
Stable Release Date: 2014-11-05
Current Beta Version: AndroWin White
Beta Release Date: 2014-09-11
Created 2014-11-09
Last Updated 2014-11-30
Click to expand...
Click to collapse
10x so much
manojkumar8552 said:
10x so much
Click to expand...
Click to collapse
Thank u @manojkumar8552
I'm studying and working to evolve more. I Learn a lot with yours knowledge , @serajr too and Jaspreet
Soon i ll up the V3 version, working hard to fix some modifications , even in difficulty soon get it to cover peoples that does not use sd card class 6
I am unifying root in the same flash, replace the deodex version to clean without Init.d and create 2 apps for each repository and another to call the activity of Phone AOSP , which in previous versions do with script shortcuts in the data folder
mjraogr said:
Thank u @manojkumar8552
I'm studying and working to evolve more. I Learn a lot with yours knowledge , @serajr too and Jaspreet
Soon i ll up the V3 version, working hard to fix some modifications , even in difficulty soon get it to cover peoples that does not use sd card class 6
I am unifying root in the same flash, replace the deodex version to clean without Init.d and create 2 apps for each repository and another to call the activity of Phone AOSP , which in previous versions do with script shortcuts in the data folder
Click to expand...
Click to collapse
try to make systemUI.apk like samsung touchwiz kitkat !!!
kitkat systemUI of touchwiz rom is slightly different than aosp in tinted status bar !!!
manojkumar8552 said:
try to make systemUI.apk like samsung touchwiz kitkat !!!
kitkat systemUI of touchwiz rom is slightly different than aosp in tinted status bar !!!
Click to expand...
Click to collapse
Yep
Exactly stoped on this point. I m did mod UI AOSP look with blue ball and my dificult was find location to change statusbar header color like i did on brightness background cause isn't bg or bg.9 images. and can't find xmls and smali position .
Time ago i was talk about it with @serajr to try find away and do it togheter. The toogles bg and settings btn bg i know how, but left black color, set as black with #ff000000 code on tw_statusbar_header_dual.xml
regards
MJ
mjraogr said:
Yep
Exactly stoped on this point. I m did mod UI AOSP look with blue ball and my dificult was find location to change statusbar header color like i did on brightness background cause isn't bg or bg.9 images. and can't find xmls and smali position .
Time ago i was talk about it with @serajr to try find away and do it togheter. The toogles bg and settings btn bg i know how, but left black color, set as black with #ff000000 code on tw_statusbar_header_dual.xml
regards
MJ
Click to expand...
Click to collapse
Hi bro... first of all, another awesome work from yours, congrats! :good:
Below is snippet from Blurred System UI xposed module in which it hooks initLayout method from QuickSettingButton.smali file.
PHP:
Class<?> QuickSettingButton = XposedHelpers.findClass("com.android.systemui.statusbar.policy.quicksetting.QuickSettingButton", Xposed.getXposedClassLoader());
try {
// samsung
// QuickSettingButton - método initLayout existe ?
Method initLayout = XposedHelpers.findMethodExact(QuickSettingButton, "initLayout", int.class, int.class, int.class, int.class, int.class, int.class, int.class);
XposedBridge.hookMethod(initLayout, new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
// seta o background
View view = (View) param.thisObject;
if (view != null)
view.setBackground(new ColorDrawable(Color.TRANSPARENT));
}
});
} catch (NoSuchMethodError e) {
e.printStackTrace();
}
I don't know if that helps you (I hope so), but it can be a clue where you need to take a look and apply your magic.
mjraogr said:
Yep
Exactly stoped on this point. I m did mod UI AOSP look with blue ball and my dificult was find location to change statusbar header color like i did on brightness background cause isn't bg or bg.9 images. and can't find xmls and smali position .
Time ago i was talk about it with @serajr to try find away and do it togheter. The toogles bg and settings btn bg i know how, but left black color, set as black with #ff000000 code on tw_statusbar_header_dual.xml
regards
MJ
Click to expand...
Click to collapse
i dnt hve much idea abt this.
otherwise i made one like this systemui.apk
http://forum.xda-developers.com/gal...osmic-rom-smooth-fast-stylish-kitkat-t2909037 :- Buddy See this rom ! looking cool. If You Can.Than Plz Try to Port this into 8552 or make it for quatrro.
its a just theming as i see !!
Best Of Luck.
serajr said:
Hi bro... first of all, another awesome work from yours, congrats! :good:
Below is snippet from Blurred System UI xposed module in which it hooks initLayout method from QuickSettingButton.smali file.
PHP:
Class QuickSettingButton = XposedHelpers.findClass("com.android.systemui.statusbar.policy.quicksetting.QuickSettingButton", Xposed.getXposedClassLoader());try {// samsung// QuickSettingButton - método initLayout existe ?Method initLayout = XposedHelpers.findMethodExact(QuickSettingButton, "initLayout", int.class, int.class, int.class, int.class, int.class, int.class, int.class);XposedBridge.hookMethod(initLayout, new XC_MethodHook() {@Override protected void afterHookedMethod(MethodHookParam param) throws Throwable {// seta o backgroundView view = (View) param.thisObject;if (view != null)view.setBackground(new ColorDrawable(Color.TRANSPARENT));}});} catch (NoSuchMethodError e) {e.printStackTrace();}
I don't know if that helps you (I hope so), but it can be a clue where you need to take a look and apply your magic.
Click to expand...
Click to collapse
Right BRO
Tks one more time
I 'll study and follow this to try , by the way yesterday i installed yours blurred module on xposed and work on my UI. The results its effect change until top toogles bg and the reduced transparence default.
MJ
Sent from my GT-I8552 using XDA Free mobile app
manojkumar8552 said:
i dnt hve much idea abt this.
otherwise i made one like this systemui.apk
http://forum.xda-developers.com/gal...osmic-rom-smooth-fast-stylish-kitkat-t2909037 :- Buddy See this rom ! looking cool. If You Can.Than Plz Try to Port this into 8552 or make it for quatrro.
its a just theming as i see !!
Best Of Luck.
Click to expand...
Click to collapse
@manojkumar8552
I want to try this...
Put the button with activity that calls the quick settins expanded.
I found this way putting lock screen and home button
Code hara74 quote
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
[COLOR="Cyan"] <com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
My idea is to replace the blue line with the command by calling the ActionMAIN, will it work,? (the doubt if it works Since I don't have the button registry smali files)
My sugestion.... Use the Id "back" to access my quick panel expanded activity
Replace first blue line to line below and on drawables.xml set png ic_quickpanel or just replace the ic_sysbar.. image
Code:
<[COLOR="Red"]com.mappz.quicksettings.ToggleServiceStarter[/COLOR] android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/[COLOR="Red"]ic_quickpanel[/COLOR]" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
mjraogr said:
@manojkumar8552
I want to try this...
Put the button with activity that calls the quick settins expanded.
I found this way putting lock screen and home button
Code hara74 quote
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
[COLOR="Cyan"] <com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
My idea is to replace the blue line with the command by calling the ActionMAIN, will it work,? (the doubt if it works Since I don't have the button registry smali files)
My sugestion.... Use the Id "back" to access my quick panel expanded activity
Replace first blue line to line below and on drawables.xml set png ic_quickpanel or just replace the ic_sysbar.. image
Code:
<[COLOR="Red"]com.mappz.quicksettings.ToggleServiceStarter[/COLOR] android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/[COLOR="Red"]ic_quickpanel[/COLOR]" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
Click to expand...
Click to collapse
sry buddy.but i dont have idea much in applications.
i am going to learn All basic of apps and c prpgramming as exams over at 6th Jan.
will guide me for application.
with together we will make cool things soon :highfive:
No problem bro
Good luck to ur exams
MJ
Sent from my GT-I8552 using XDA Free mobile app
Droidwin update release - jun 2015
Droidwin update release - jun 2015
Hello people
This month , i ll update the DROIDWIN version for V3.2 5.0 Mod
News: This version come with Material Lollipop Theme like Droidwin v67 stuffs
Some features
New UI Design 5.0
New Dialer design
New framework design
New baseband
New enginnes
Waiting for it eagerly !!
Stylix said:
Waiting for it eagerly !!
Click to expand...
Click to collapse
oK @Stylix
I need to finish somethings but until next week is update
This is a UI design

[MOD] [GUIDE] Custom Notif Panel BG [TESTED]

Hello Guyz Long Time No mods Okay whats this guide U can Use my guide For Changing ur SystemUI(notif panel) bg to ur custom bg Sounds intrstng haha I was searching here and there Found 1guide but..Sorry to say That one not work with mine but should work with others So After some experiments I Had Done It Myself Thanks God for giving me life LoL :3
Requirements
-apktool
-notepad++
-brain.jar XD
-Decompile Ur SystemUI
-open res/layout ldpi/tw_status_bar_dual.xml
-find this line
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-now We Are going to modify this line
-Before
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-after
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/argha" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-What i have done here is
i just add this line
android:background="@drawable/argha"
-okay now save the line
-add a Png named argha
NOTE: U CAN USE ANY NAME FOR EXAMPLE SAMSUNG THEN ADD A PNG NAMED SAMSUNG
-it will me more good if ur noob in theming add the png in drawable folder or drawable ldpi
-recompile
-sign
-push
-reboot
Voila!!!!!! u have succesfully Changed the bg
@credits
@ShadeSK (Argha)
@Galaxy Star for inspiring me
Good tutorial
press thankks if you like my work
did u tried it??? if yes plz attach a Image So i can post on my thread
ShadeSK said:
did u tried it??? if yes plz attach a Image So i can post on my thread
Click to expand...
Click to collapse
I vl give a try tomorrow bro :good:
okay boss It will work 100%
Here's a ss from my trend?
Great
Good But
ShadeSK said:
Hello Guyz Long Time No mods Okay whats this guide U can Use my guide For Changing ur SystemUI(notif panel) bg to ur custom bg Sounds intrstng haha I was searching here and there Found 1guide but..Sorry to say That one not work with mine but should work with others So After some experiments I Had Done It Myself Thanks God for giving me life LoL :3
Requirements
-apktool
-notepad++
-brain.jar XD
-Decompile Ur SystemUI
-open res/layout ldpi/tw_status_bar_dual.xml
-find this line
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-now We Are going to modify this line
-Before
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-after
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/argha" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-What i have done here is
i just add this line
android:background="@drawable/argha"
-okay now save the line
-add a Png named argha
NOTE: U CAN USE ANY NAME FOR EXAMPLE SAMSUNG THEN ADD A PNG NAMED SAMSUNG
-it will me more good if ur noob in theming add the png in drawable folder or drawable ldpi
-recompile
-sign
-push
-reboot
Voila!!!!!! u have succesfully Changed the bg
@credits
@ShadeSK (Argha)
@Galaxy Star for inspiring me
Click to expand...
Click to collapse
Gravity Box Jb LAtest Version HAd THis Option.......And Also For Transperency...any How it is great....may be helpful for rom makers
Thanks Btw Its for Themers & rom makers only hehe
Haha..worked like charm for me...
bittooshubham said:
Haha..worked like charm for me...
Click to expand...
Click to collapse
Thanks for feedback
Sent from my MotoG3 using Tapatalk

Categories

Resources