[Guide/Tutorial][Lollipop 5+]Create Your Xperia Lillipop Theme in Android Studio - Sony Cross-Device Development Themes and Apps

Create Your Xperia Lillipop Theme in Android Studio​
Hi, Will show you how to create Xperia Theme Lollipop using Android Studio
Android Studio should be configured properly and You have to a basic knowledge about the program​​
What we need
1. Android Studio for PC
2. File Manager
3. Notepad ++
4. Installed SDK
5. Tickle My Android The Greatest Android Theming Tool...EVER!! by @Ticklefish
Link
​
[Firstly here to download the files:
Theme_files.zip
com.sonyericsson.uxp.apk
com.android.systemui.apk
android.apk
Unpack somewhere on drive C: or D:
Sorry but my laptop is quite slow
1. How Make new Theme theme ( You need Ready android.zip , You can use my android.zip and you can change it laiter )
Video:
2. How Create ZIP package for theme And How Add it to Studio ( "android.zip" "com.android.systemui.zip" "com.sonyericsson.uxp.zip" )
Video:
Video How Correct Installation On The Phone
TIP:
How works theme accent colors:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
[COLOR="Red"] <color name="somc_color_dark_primary_dark">#ff9c27b0</color>
<color name="somc_color_primary_dark">#ff9c27b0</color>[/COLOR]
[COLOR="DarkOrchid"] <color name="somc_color_accent_dark">#ff7c4dff</color>[/COLOR]
[COLOR="red"] <color name="somc_color_dark_primary_light">#ff9c27b0</color>
<color name="somc_color_primary_light">#ff9c27b0</color>[/COLOR]
[COLOR="DarkOrchid"] <color name="somc_color_accent_light">#ff7c4dff</color>[/COLOR]
</resources>
{
"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"
}
My Themes
[Theme][Sony] Best Theme Collection for All Sony Lollipop 5.0.2. NOT ROOTED Devices
Black Theme Collection for All Sony Lollipop 5.0.2. NOT ROOTED
Credits:
RXS MoonBreakers Team
Thanks for:
@Ticklefish and his Greatest Tool
@SArnab©® for his 4.3 Guide
[Guide/Tutorial][JB 4.3+]Create Your Own Xperia Theme

Part 2
Today I'll show you what can be changed using themes and how to check it out.​
First How do I add new packages Zip​
We Add packages in AndroidManifest.xml between the red fields
One package is mark on green color
Code:
[COLOR="red"] <runtime-skin version="1">[/COLOR]
<asset path="android.zip" target="android">
<laf-version-filter from="1" to="1"/>
</asset>
<asset path="com.sonyericsson.uxp.zip" target="com.sonyericsson.uxp">
<laf-version-filter from="1" to="1"/>
</asset>
[COLOR="SeaGreen"] <asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="2" to="2"/>
</asset> [/COLOR]
<asset path="com.sonyericsson.home.zip" target="com.sonyericsson.home">
<laf-version-filter from="1" to="1"/>
</asset>
[COLOR="Red"] </runtime-skin>[/COLOR]
Package name can be found in
SystemUI.apk / AndroidManifest.xml
Example
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" android:sharedUserId="android.uid.systemui" coreApp="true" [COLOR="SeaGreen"]package="com.android.systemui" [/COLOR]platformBuildVersionCode="21" platformBuildVersionName="5.0.2-1">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_ALL_DOWNLOADS"/>
Application have different laf-version-filter
belongs to change according to the package destination.
Information is located in the file
SystemUI.apk / AndroidManifest.xml
Code:
<asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="[COLOR="RoyalBlue"]2[/COLOR]" to="[COLOR="RoyalBlue"]2[/COLOR]"/>
</asset>
Example:
Code:
</intent-filter>
</activity>
<service android:exported="true" android:name=".doze.DozeService" android:permission="android.permission.BIND_DREAM_SERVICE" android:singleUser="true"/>
<meta-data android:name="com.sonymobile.runtimeskinning.SKIN_PERMISSIONS" android:resource="@xml/somc_skin_permissions"/>
<meta-data android:name="com.sonymobile.runtimeskinning.[COLOR="RoyalBlue"]LAF_VERSION" android:value="2"/>[/COLOR]
<meta-data android:name="com.sonymobile.keyguard.KEYGUARD_PLUGINS" android:resource="@array/somc_keyguard_plugins"/>
Last part 3 important
What can be edited using the .zip package​
Almost every Sony App app has the file
somc_skin_permissions.xml
skin_permissions.xml
It is always in the folder example.apk /xml/somc_skin_permissions.xml
In this file are value that can be edited using Your theme.
If it is not there it is not possible. Why ? I don't know . You need to ask SONY
Here is an example of framework-res.apk
each of these values corresponds to a value in the framework
drawable - drawable
color -color
etc.
More information about it you find here
[Guide] Unlock and Add Permission to Sony Lollipop Theme Engine by Ambor
Code:
<?xml version="1.0" encoding="utf-8"?>
<overlay-resources>
<filter-group group="color">
<filter type="type" value="color" />
</filter-group>
<filter-group group="action-bar">
<filter type="type" value="nine-patch,bitmap" />
<filter type="size" minWidth="1dp" maxWidth="360dp" minHeight="1dp" maxHeight="48dp" />
</filter-group>
<overlay id="@drawable/somc_actionbar_top_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_middle_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_bottom_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_top_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_middle_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_bottom_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_cab_bottom_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_cab_bottom_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_cab_top_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_cab_top_bg_light" filters="action-bar" />
<filter-group group="button-selector">
<filter type="type" value="selector,animated-selector">
<filter type="included" value="false" />
</filter>
<filter type="type" value="nine-patch,bitmap">
<filter type="included" value="true" />
</filter>
<filter type="size" minWidth="20dp" maxWidth="48dp" minHeight="20dp" maxHeight="48dp">
<filter type="included" value="true" />
</filter>
</filter-group>
<overlay id="@drawable/somc_btn_selector_dark" filters="button-selector" />
<overlay id="@drawable/somc_btn_selector_light" filters="button-selector" />
<overlay id="@color/somc_color_btn_ripple_dark" filters="color" />
<overlay id="@color/somc_color_btn_ripple_light" filters="color" />
<overlay id="@color/somc_color_btn_dark" filters="color" />
<overlay id="@color/somc_color_btn_light" filters="color" />
<filter-group group="btn-elevation">
<filter type="size" value="3dp" tolerance="3dp" />
.................
.....
<overlay id="@drawable/somc_btn_dark" filters="button" />
<overlay id="@drawable/somc_btn_normal_dark" filters="button" />
<overlay id="@drawable/somc_btn_pressed_dark" filters="button" />
<overlay id="@drawable/somc_btn_focused_dark" filters="button" />
<overlay id="@drawable/somc_btn_disabled_dark" filters="button" />
<overlay id="@drawable/somc_btn_disabled_focused_dark" filters="button" />
<overlay id="@drawable/somc_btn_light" filters="button" />

resrved

Nice one bro @Ambor ^^
Sent From My Z2 On LP 5.0.2 Full Debloated !

That's the thread we are looking for... knowledge exchange!
Awesome, congrats my friend, very well written and so fuc**** useful!! Hats off!!!

Pandemic said:
Nice one bro @Ambor ^^
Sent From My Z2 On LP 5.0.2 Full Debloated !
Click to expand...
Click to collapse
serajr said:
That's the thread we are looking for... knowledge exchange!
Awesome, congrats my friend, very well written and so fuc**** useful!! Hats off!!!
Click to expand...
Click to collapse
thanks

From which app did you get the first two screen shots?

dipesh1502 said:
From which app did you get the first two screen shots?
Click to expand...
Click to collapse
theme debuger

Omg:fingers-crossed::fingers-crossed:.I was searching this thread since 2 weeks.But MASTER Ambor have prepared it before.:good::good:
Thanks bro.Keep it up

gamzekal said:
Omg:fingers-crossed::fingers-crossed:.I was searching this thread since 2 weeks.But MASTER Ambor have prepared it before.:good::good:
Thanks bro.Keep it up
Click to expand...
Click to collapse
thanks .. I can not wait until you get a lollipop for Z.

Nice guide bro! Very good!:good::good::good:

Different colors in different apps?
Is it possible to theme every app with different colour?
I tried to add another zips with different colours in it and added them to asset part of manifest but it doesn't work
Only colours from android.zip are applied. I have attached my manifest.

veteran29 said:
Is it possible to theme every app with different colour?
I tried to add another zips with different colours in it and added them to asset part of manifest but it doesn't work
Only colours from android.zip are applied. I have attached my manifest.
Click to expand...
Click to collapse
Zip packages only work on stock Sony Apps Only
I tried this on KK (After restarting APP returned to sock settings)
Another problem is that Sony has something changed, and so far only work package android.zip
BUT ONLY value in XML
PNG FILES NOT WORK
Sony made a scrap of Theme Engine.
Sony Applications That trash
You can see that Lollipop did in a big hurry ..

Ambor said:
Another problem is that Sony has something changed, and so far only work package android.zip
BUT ONLY value in XML
PNG FILES NOT WORK
Click to expand...
Click to collapse
So there is no possibility to change for example the navbar icons?

gripfly said:
So there is no possibility to change for example the navbar icons?
Click to expand...
Click to collapse
Yes but only by mod SystemUI.apk

After reboot my theme crashed and became blue-orange
How can i fix it?

Root
Do we need root ?

Batuhanozerr said:
Do we need root ?
Click to expand...
Click to collapse
It's clearly stated in the OP

Amazing guide @Ambor.. Thank you so much!

STRYDER~007 said:
Amazing guide @Ambor.. Thank you so much!
Click to expand...
Click to collapse
thanks

Related

[MOD/GUIDE]Jelly Bean style SystemUI For CM9/ICS ROM[UPDATE 15-10-2012]

I have managed to get CM10 style status bar in CM9 rom
A big thanks To ThilinaC for helping me
Now
what i want to do is to hide the statusbar
UPDATE 15-10-2012
statusbar close on/off pressed and unpressed(thanks To mr.faridcom)
Download link
http://www.mediafire.com/?66eni4a4ib59wyv
{
"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"
}
UPDATE 21-09-2012
-removed center clock
-statusbar hide problem
-some other allingments
DOWNLOAD LINK v2
http://www.mediafire.com/?bivyy24x690ahls
Testing only HDPI
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
MY MODDED suystemui FOR S2 USERS I am ON cm-9-20120916-NIGHTLY-galaxys2 you can use it directly replacing it with yours
http://www.mediafire.com/?y92cz70tgqchter
Now Its Perfect
By tarunagg at 2012-09-18
Uploaded with ImageShack.us
what i want to do is to hide the statusbar clock
DOCUMENTATION:-
What I Did Is
Assuming you know how to decompile and compile
in SystemUI.apk\res\layout\status_bar_expanded.xml
i modified so many things even i dont remeber exactly
if anyone need help in porting PM me
here's my status_bar_expanded.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<RelativeLayout android:background="@drawable/notification_header_bg" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="5.0dip" android:paddingTop="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" android:layout_toRightOf="@id/clock" />
<ImageView android:id="@id/settings_button" android:paddingLeft="250.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentLeft="true" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_toRightOf="@id/settings_button" android:contentDescription="@string/accessibility_clear_all" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
</RelativeLayout>
<LinearLayout android:orientation="vertical" android:background="@drawable/notification_header_bg2" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:background="@drawable/notification_header_bg2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="@dimen/notification_panel_widget_height" />
</LinearLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>
after that dont forget to add all png's from my systemui to yours
and in styles.xml
add
Code:
<style name="TextAppearance.StatusBar.Clock2" parent="@android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">true</item>
</style>
<style name="TextAppearance.StatusBar.Expanded" parent="@android:style/TextAppearance.Small.CalendarViewWeekDayView" />
<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffcccccc</item>
<item name="android:textAllCaps">true</item>
</style>
and in Strings.xml
find "status_bar_date_formatter"
change it to exact
Code:
<string name="status_bar_date_formatter">"%1$s
%2$s"</string>
COMPLETED
Now what i want is to hide the clock while statusbar expended is open
looks nice mind sharing?
mysterio619 said:
looks nice mind sharing?
Click to expand...
Click to collapse
Make a backup
Read some pages
http://forum.xda-developers.com/showthread.php?p=31718198
Sent from my GT-I9100 using xda app-developers app
released for Testing
Testing only
1st mount /system in cwm
http://www.mediafire.com/?3c1scc10q4nkp4y
Let me know it works or not
Updated check op
is this work in ics stock based rom??
Gabrieltan said:
is this work in ics stock based rom??
Click to expand...
Click to collapse
i dont think so
if you know how to use the codes and compile it then you can
Amazing Work!
But when i change theme, maybe is for them or not but status bar disappear.
I tested the Mod Version in a CyanogenMod 9.1.0 Stable obviously this mod is for nightlies?
Very nice work man!
its bcoz you are applying jellubean theme
and if u get anynotification or rebot you will see statusbar again
dark_zhero said:
Amazing Work!
But when i change theme, maybe is for them or not but status bar disappear.
I tested the Mod Version in a CyanogenMod 9.1.0 Stable obviously this mod is for nightlies?
Very nice work man!
Click to expand...
Click to collapse
nitinvaid said:
its bcoz you are applying jellubean theme
and if u get anynotification or rebot you will see statusbar again
Click to expand...
Click to collapse
Yes i Set a System Theme and after set a Jelly Bean Theme and status bar disappear (or any theme) and reboot the phone and now works.
but is tedious
Maybe you have create a Right clock (original) mod?
Regards
And sorry for my Google's Translate English
dark_zhero said:
Yes i Set a System Theme and after set a Jelly Bean Theme and status bar disappear (or any theme) and reboot the phone and now works.
but is tedious
Maybe you have create a Right clock (original) mod?
Regards
And sorry for my Google's Translate English
Click to expand...
Click to collapse
i will create it dont worry but not now
already have two much request
UPDATE 21-09-2012
-removed center clock
-statusbar hide problem
-some other allingments
DOWNLOAD LINK v2
http://www.mediafire.com/?bivyy24x690ahls
nitinvaid said:
UPDATE 21-09-2012
-removed center clock
-statusbar hide problem
-some other allingments
DOWNLOAD LINK v2
http://www.mediafire.com/?bivyy24x690ahls
Click to expand...
Click to collapse
This what im missing in cm10. Thanks sir!
" In Cody, we trust "
Can i have a small request sir? Maybe if you have time can you hide the notification when it is drop down like this..
thanks in advance! Very much appreciated your work!
" In Cody, we trust "
huwande1acruz said:
Can i have a small request sir? Maybe if you have time can you hide the notification when it is drop down like this..
thanks in advance! Very much appreciated your work!
" In Cody, we trust "
Click to expand...
Click to collapse
My friend i am also working on the same do you have any idea how to do that
How to Change clock color in systemUI ?
ararat1824 said:
How to Change clock color in systemUI ?
Click to expand...
Click to collapse
you can not u have to decompile systemui
or use another theme
nitinvaid said:
you can not u have to decompile systemui
or use another theme
Click to expand...
Click to collapse
ok but in systemui Where is the edit which file for change clock color

[How-to] Edit the "About Phone" display

Code:
I am not responsible for your device, please consider before doing this!
Hello all, I'm new to xda-developers and do "almost" nothing recently due to the low-level of dev.
Now I want to share the way you can edit the "About Phone" tab in "Settings"
I'm just tested with my Xperia SL (ROM XZXperience_1) (it SHOULD work with another phone )
Screen Shot:
{
"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"
}
Now what you need:
1. A Rooted Phone (Xperia S, SL prefered) and Root Explorer
2. Your free time (5 - 10 min.)
That's all!
Instructions:
Step 1: BACKUP YOUR PHONE! IT SHOULD WORK NORMALLY, BUT IN CASE OF SOMETHING HAPPEN, I CAN'T GUARANTEE ABOUT THAT
Step 2: Open the Root Explorer, go to system and open the "build.prop" with notepad
Step 3: Under the ############ Updating of the SW Version ##############
Find
1.
Code:
ro.product.model=
this will change the display of "Model number"
2.
Code:
ro.build.version.release=
this will change the display of "Android version"
3.
Code:
ro.build.display.id=
this will change the display of "Build number"
Step 4: Save & Reboot Your Phone
Step 5: Check in "About Phone"
I'm not good at English, so please feel free to fix
Nhưng tiếng việt thì thoải mái nhé
Till-Kruspe said:
It simple really...
decompile your settings.apk...then go to res/xml folder...edit this file device_info_settings.xml and add this line:
Code:
<Preference android:title="@string/[COLOR="Red"]XXXXX[/COLOR]_heading" android:key="[COLOR="red"]XXXXX[/COLOR]_heading" android:summary="@string/[COLOR="red"]XXXXX[/COLOR]_version" style="?android:preferenceInformationStyle" />
Edit the XXXXX to your like...
This is mine setup:
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"]<Preference android:title="@string/android_heading" android:key="android_heading" android:summary="@string/android_version" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"] <Preference android:title="@string/engine_heading" android:key="engine_heading" android:summary="@string/engine_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_heading" android:key="cpu_heading" android:summary="@string/cpu_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/version_heading" android:key="version_heading" android:summary="@string/ziewing_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/date_heading" android:key="date_heading" android:summary="@string/build_date" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"]<Preference android:title="@string/developer_heading" android:key="developer_heading" android:summary="@string/developer_version" style="?android:preferenceInformationStyle" />[/COLOR]
</PreferenceScreen>
The red are mine custom info...
Now go to value folder and edit strings.xml
put this at the bottom of the line:
Code:
<string name="[COLOR="Red"]XXXXX[/COLOR]_heading">[COLOR="red"]XXXXX[/COLOR]</string>
<string name="[COLOR="red"]XXXXX[/COLOR]_version">[COLOR="Red"]XXXXX[/COLOR]</string>
Mine setup:
Code:
<string name="version_heading">ZieWing™ version</string>
<string name="ziewing_version">v3.2 beta-1 coconut</string>
<string name="date_heading">Build date</string>
<string name="build_date">Tue Feb 12 02:36 PST 2013</string>
<string name="cpu_heading">CPU</string>
<string name="cpu_version">ARMv7 Processor rev 2 (v7l)</string>
<string name="android_heading">Codename</string>
<string name="android_version">Ice Cream Sandwich (ICS)</string>
<string name="engine_heading">Engine version</string>
<string name="engine_version">X-CORE™ alpha v1</string>
<string name="developer_heading">Developer</string>
<string name="developer_version">[email protected]</string>
After your satisfied editing it to your like...recompile it and your done...
Hope you understand it...
Click to expand...
Click to collapse
Nice little tutorial, keep the good work
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
reyfista11 said:
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
Click to expand...
Click to collapse
you can googling the Xperia SL and flash again
Nice. knew it before - changed my phone information too
Thanks!
reyfista11 said:
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
Click to expand...
Click to collapse
But why? SL is more powerfull than S, sl has 1.7ghz cpu, s has 1.5ghz cpu...
Sent from my LT26i using xda premium
denslife16 said:
But why? SL is more powerfull than S, sl has 1.7ghz cpu, s has 1.5ghz cpu...
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
Exact same phone, it's just that the SL is overclocked by 200Mhz
Thanks
Thanks!!
I can customize my phone!
It's really work on my Xperia S, now customize some list.
Model number : Special :good:
Android version: Limited edition
Build number: Secret
Anyone else also try it? then what do you edit?
Or this...for rom dev...
Till-Kruspe said:
Or this...for rom dev...
Click to expand...
Click to collapse
Whooah! Would you share how to duo that?
Posted by Xperia™ Ion via xda-premium
ARNOB said:
Whooah! Would you share how to duo that?
Posted by Xperia™ Ion via xda-premium
Click to expand...
Click to collapse
It simple really...
decompile your settings.apk...then go to res/xml folder...edit this file device_info_settings.xml and add this line:
Code:
<Preference android:title="@string/[COLOR="Red"]XXXXX[/COLOR]_heading" android:key="[COLOR="red"]XXXXX[/COLOR]_heading" android:summary="@string/[COLOR="red"]XXXXX[/COLOR]_version" style="?android:preferenceInformationStyle" />
Edit the XXXXX to your like...
This is mine setup:
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"]<Preference android:title="@string/android_heading" android:key="android_heading" android:summary="@string/android_version" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"] <Preference android:title="@string/engine_heading" android:key="engine_heading" android:summary="@string/engine_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_heading" android:key="cpu_heading" android:summary="@string/cpu_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/version_heading" android:key="version_heading" android:summary="@string/ziewing_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/date_heading" android:key="date_heading" android:summary="@string/build_date" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"]<Preference android:title="@string/developer_heading" android:key="developer_heading" android:summary="@string/developer_version" style="?android:preferenceInformationStyle" />[/COLOR]
</PreferenceScreen>
The red are mine custom info...
Now go to value folder and edit strings.xml
put this at the bottom of the line:
Code:
<string name="[COLOR="Red"]XXXXX[/COLOR]_heading">[COLOR="red"]XXXXX[/COLOR]</string>
<string name="[COLOR="red"]XXXXX[/COLOR]_version">[COLOR="Red"]XXXXX[/COLOR]</string>
Mine setup:
Code:
<string name="version_heading">ZieWing™ version</string>
<string name="ziewing_version">v3.2 beta-1 coconut</string>
<string name="date_heading">Build date</string>
<string name="build_date">Tue Feb 12 02:36 PST 2013</string>
<string name="cpu_heading">CPU</string>
<string name="cpu_version">ARMv7 Processor rev 2 (v7l)</string>
<string name="android_heading">Codename</string>
<string name="android_version">Ice Cream Sandwich (ICS)</string>
<string name="engine_heading">Engine version</string>
<string name="engine_version">X-CORE™ alpha v1</string>
<string name="developer_heading">Developer</string>
<string name="developer_version">[email protected]</string>
After your satisfied editing it to your like...recompile it and your done...
Hope you understand it...
Just a great tutorial! You've grown a lot in android dude, congrats!
P.S remember me? - BanorBhai.
Cheers!
Posted by Xperia™ Ion via xda-premium
ARNOB said:
Just a great tutorial! You've grown a lot in android dude, congrats!
P.S remember me? - BanorBhai.
Cheers!
Posted by Xperia™ Ion via xda-premium
Click to expand...
Click to collapse
Thanks...and yeah I know you...
Sent from my WT19i using xda premium
can i quote your tut. to my 1st post ?
Iris Yuga said:
can i quote your tut. to my 1st post ?
Click to expand...
Click to collapse
Sure mate...
Till-Kruspe said:
Sure mate...
Click to expand...
Click to collapse
I'm haveing a bit of a difficulty in your tuttorial, when i edit the device_info_setiings.xml i get all sourts of weird letters " 
  ˙˙˙˙   8 " after that there is no value folder in the apk. I'm using stock deodexed 4.0.4 ROM on Xperia S
beniamin24 said:
I'm haveing a bit of a difficulty in your tuttorial, when i edit the device_info_setiings.xml i get all sourts of weird letters " 
  ˙˙˙˙   8 " after that there is no value folder in the apk. I'm using stock deodexed 4.0.4 ROM on Xperia S
Click to expand...
Click to collapse
Use notepad++ to edit the xml file...did you decompile the apk correctly?...the value folder must be there....
Till-Kruspe said:
Use notepad++ to edit the xml file...did you decompile the apk correctly?...the value folder must be there....
Click to expand...
Click to collapse
I did decompile it correctly,i uploaded my settings .apk, so you can see it, if it works please add your strings and i'll edit them myself
http://www.mediafire.com/?fo1o8vb1wz5s1qw
beniamin24 said:
I did decompile it correctly,i uploaded my settings .apk, so you can see it, if it works please add your strings and i'll edit them myself
http://www.mediafire.com/?fo1o8vb1wz5s1qw
Click to expand...
Click to collapse
Look...it there...
Edit: test it...

[DEV]How to replace navbar icons on stock ROMs [SOLVED!]

I start this thread in order to share with you the information I already collected regarding the theming the navbar keys on stock roms. You should have realized that after Lollipop upgrade there is not even one stock based ROM or theme which contains themed navbar icons. The reason for this is:
1. Apktool RC3 is buggy on LG system apps, including LGSystemUI.apk. There is no way recently to decompile systemui and have access to the source code of the navbars.
2. With the Lollipop upgrade LG changed its approach regarding definition of the navbar icons using Google's new public classes of VectorDrawables.
Code:
java.lang.Object
↳android.graphics.drawable.Drawable
↳android.graphics.drawable.VectorDrawable
VectorDrawables are specific xml files that define vector graphics via vector coordinates.
The three main navbar icons are defined in LGSystemUI.apk as follows:
ic_sysbar_back_button.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="42.0dip" android:width="42.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M124.125,120.827h-76c-1.358,0-2.667-1.789-2.667-4c0-2.209,1.273-4,2.667-4h76c11.045,0,20-8.953,20-20 c0-11.046-8.955-19.999-20-19.999h-96v-8h96c15.463,0,28,12.535,28,27.999C152.125,108.292,139.588,120.827,124.125,120.827z" />
<path android:fillColor="#ffffffff" android:pathData="M45.447,54.302L30.36,66.189c0,0-1.581,1.291-0.553,2.639c-1.028,1.346,0.553,2.639,0.553,2.639 l15.086,11.886c0,0,3.054,2.04,0,5.447c-2.114,2.359-4.366,1.172-5.865,0L17.741,71.466c-1.291-1.074-1.616-2.639-1.616-2.639 s0.326-1.564,1.616-2.639l21.842-17.334c1.499-1.172,3.75-2.359,5.865,0C48.5,52.263,45.447,54.302,45.447,54.302z" />
</vector>
ic_sysbar_home_button.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="48.0dip" android:width="48.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M159.881,87.102l-0.541,1.217c-0.898,2.02-3.264,2.927-5.281,2.027L144.5,86.09c0,14.906,0,28.396,0,28.396 c0,2.209-1.791,4-4,4h-112c-2.209,0-4-1.791-4-4V86.09l-9.559,4.256c-2.018,0.898-4.382-0.009-5.281-2.027l-0.542-1.217 c-0.898-2.02,0.009-4.384,2.027-5.282l70.647-31.455c0.889-0.395,1.839-0.423,2.708-0.178c0.868-0.245,1.818-0.217,2.708,0.178 l70.647,31.455C159.873,82.718,160.781,85.082,159.881,87.102z M32.5,109.154c0,1.27,0.038,1.332,1.333,1.332h101.333 c1.244,0,1.334-0.047,1.334-1.332V82.528l-52-23.152l-52,23.152C32.5,95.766,32.5,109.154,32.5,109.154z" />
</vector>
ic_sysbar_recent_button.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="42.0dip" android:width="42.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M149,51.5H37c-2.209,0-5,1.027-5,3.236c0,0,0,5.764,0,10.764H21c-2.209,0-5,1.027-5,3.236v42.998 c0,2.211,2.791,4.766,5,4.766h112c2.209,0,3-2.555,3-4.766V101.5c8,0,13,0,13,0c2.209,0,3-2.555,3-4.766V54.736 C152,52.527,151.209,51.5,149,51.5z M128,106.402c0,1.285,0.91,2.098-0.333,2.098H26.333c-1.296,0-2.333-0.828-2.333-2.098V74.068 c0-1.27,1.038-0.568,2.333-0.568h101.333c1.243,0,0.333-0.716,0.333,0.568L128,106.402L128,106.402z M144,91.402 c0,1.285,0.91,2.098-0.333,2.098H136V68.736c0-2.209-0.791-3.236-3-3.236H40v-5.432c0-1.269,1.038-0.568,2.333-0.568h101.334 c1.243,0,0.333-0.716,0.333,0.568V91.402L144,91.402z" />
</vector>
I spent many dozen hours on finding/creating vector graphics of Lollipop navbar keys as SVG files. I tried many times and many ways to save the corresponding SVG files and convert them to VectorDrawable using this site: http://inloop.github.io/svg2android/
Used a trick to recompile the new xmls and replaced them in the LGSystemUI.apk with my vrtheme engine. But still no success. When the shape of the icon was OK the size of them was never.
Basically I am fully confused why the virtual canvas of the stock icons is 168x168. I am struggling with the fill and stroke color definition as well.
This is the status quo. I hope by starting this thread that together we can solve the problem and get the working source code of the Lollipop navbars. I look forward for any help.
Please note that skin1980 is already involved in the project and I got from him huge help with his intelligent hints.
This is a development thread please do not post comments and remarks that are not intended to provide professional help.
Merry Xmas to all of you!
Vector codes
REAL SOLUTION
Since the release of 20H software version LG also introduced the Lollipop navbar icons. These are defined in LGSystemUI.apk res/drawables folder by xml files [email protected]_button.xml where @ is the corresponding function name (for example ic_sysbar_back_button.xml.
{
"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"
}
Back button:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M122.132,132c-0.921,0-1.759-0.324-2.435-0.847L44.916,87.979c-0.965-0.499-1.956-0.894-2.525-1.88c-0.338-0.586-0.492-1.221-0.516-1.852c-0.007-0.082-0.004-0.165-0.007-0.247c0.003-0.082,0-0.165,0.007-0.247c0.023-0.632,0.178-1.266,0.516-1.852c0.569-0.987,1.623-1.35,2.525-1.88l74.781-43.175c0.676-0.523,1.514-0.847,2.435-0.847c2.209,0,4,1.791,4,4v88C126.132,130.209,124.341,132,122.132,132zM54.025,84l64.106,37.012V46.988L54.025,84z" />
</vector>
Dual window
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M120,36H48c-6.627,0-12,5.373-12,12v72c0,6.627,5.373,12,12,12h72c6.627,0,12-5.373,12-12V48C132,41.373,126.627,36,120,36zM124,120c0,2.209-1.791,4-4,4H48c-2.209,0-4-1.791-4-4V88h80V120zM124,80H44V48c0-2.209,1.791-4,4-4h72c2.209,0,4,1.791,4,4V80z" />
<path android:fillColor="#ffffffff" android:pathData="M85.871,73.958h-4.795V55.041H76.23v-3.065l9.641-2.01V73.958z" />
<path android:fillColor="#ffffffff" android:pathData="M92.177,118.375h-16.38v-3.147l7.762-8.322c1.143-1.307,1.944-2.395,2.406-3.263c0.461-0.868,0.691-1.687,0.691-2.455c0-1.033-0.267-1.865-0.799-2.497c-0.533-0.632-1.31-0.947-2.332-0.947c-1.131,0-1.979,0.371-2.545,1.112c-0.566,0.741-0.85,1.75-0.85,3.023h-4.812c0-2.252,0.73-4.122,2.192-5.61c1.461-1.489,3.465-2.233,6.014-2.233c2.516,0,4.469,0.632,5.858,1.896s2.085,2.988,2.085,5.174c0,1.473-0.388,2.808-1.162,4.005s-2.101,2.807-3.979,4.828l-4.351,4.746h10.2V118.375z" />
</vector>
Home button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M84,131.916c-26.464,0-47.917-21.453-47.917-47.916c0-26.463,21.453-47.917,47.917-47.917S131.917,57.537,131.917,84C131.917,110.465,110.463,131.916,84,131.916zM84,44.333c-21.908,0-39.667,17.76-39.667,39.667c0,21.908,17.76,39.667,39.667,39.667s39.667-17.76,39.667-39.667C123.667,62.093,105.908,44.333,84,44.333z" />
</vector>
Menu button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M40,54h88c2.209,0,4-1.791,4-4s-1.791-4-4-4H40c-2.209,0-4,1.791-4,4S37.791,54,40,54zM128,80H40c-2.209,0-4,1.791-4,4s1.791,4,4,4h88c2.209,0,4-1.791,4-4S130.209,80,128,80zM128,114H40c-2.209,0-4,1.791-4,4s1.791,4,4,4h88c2.209,0,4-1.791,4-4S130.209,114,128,114z" />
</vector>
Notification down
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M123,44.179H45c-2.209,0-4-1.791-4-4s1.791-4,4-4h78c2.209,0,4,1.791,4,4S125.209,44.179,123,44.179zM51.181,90.828L79,118.647V58.379c0-2.209,1.791-4,4-4s4,1.791,4,4v60.557l28.025-28.026c1.563-1.562,4.096-1.562,5.656,0c1.563,1.563,1.563,4.096,0,5.658L86.59,130.66c-1.018,1.018-2.445,1.359-3.75,1.052c-1.151,0.114-2.342-0.253-3.224-1.134L45.524,96.486c-1.562-1.563-1.562-4.096,0-5.658C47.086,89.267,49.619,89.267,51.181,90.828z" />
</vector>
Notification up
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M123,131.82H45c-2.209,0-4-1.791-4-4s1.791-4,4-4h78c2.209,0,4,1.791,4,4S125.209,131.82,123,131.82zM115.025,77.09L87,49.064v60.556c0,2.209-1.791,4-4,4s-4-1.791-4-4V49.354L51.181,77.172c-1.562,1.563-4.095,1.563-5.657,0c-1.562-1.562-1.562-4.095,0-5.657l34.092-34.092c0.882-0.882,2.073-1.248,3.224-1.134c1.305-0.309,2.733,0.034,3.75,1.052l34.092,34.092c1.563,1.562,1.563,4.095,0,5.657C119.121,78.652,116.588,78.652,115.025,77.09z" />
</vector>
Qmemo button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M87.637,123.2c-19.2,0-43.168,0-43.168,0c-5.523,0-10-4.478-10-10v-66c0-5.523,4.477-10,10-10h66c5.522,0,10,4.477,10,10c0,0,0,23.578,0,42.833c0,7.74-0.167,1.55-0.167,3.667c0,2.116-1.716,3.833-3.833,3.833s-3.832-1.717-3.832-3.833c0-2.117-0.168,1.901-0.168-3.5c0-16.292,0-39,0-39c0-3.313-2.687-6-6-6h-58c-3.313,0-6,2.687-6,6v58c0,3.313,2.688,6,6,6c0,0,22.708,0,39,0c5.402,0-0.117,0.237,2,0.237s3.833,1.717,3.833,3.834s-1.716,3.834-3.833,3.834S95.198,123.2,87.637,123.2z" />
<path android:fillColor="#ffffffff" android:pathData="M102.559,110.938c-3.443-3.053-8.367-8.672-10.938-12.484l-2.563-3.801c-2.572-3.813-1.324-5.215,2.772-3.113l4.082,2.094c4.098,2.102,10.269,6.319,13.711,9.372l22.323,18.669c1.951,1.73,2.128,4.713,0.395,6.661l-0.783,0.881c-1.734,1.947-4.723,2.124-6.675,0.394L102.559,110.938z" />
</vector>
Qslide button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M98,74h26c2.209,0,4-1.791,4-4s-1.791-4-4-4h-16.302l19.515-19.515c1.563-1.562,1.563-4.095,0-5.657c-1.563-1.563-4.095-1.563-5.656,0L102,60.385V44c0-2.209-1.791-4-4-4s-4,1.791-4,4v26C94,72.209,95.791,74,98,74z" />
<path android:fillColor="#ffffffff" android:pathData="M70,94H44c-2.209,0-4,1.791-4,4s1.791,4,4,4h16.301l-19.515,19.516c-1.562,1.563-1.562,4.094,0,5.656c1.563,1.563,4.095,1.563,5.657,0L66,107.615V124c0,2.209,1.791,4,4,4s4-1.791,4-4V98C74,95.791,72.209,94,70,94z" />
<path android:fillColor="#ffffffff" android:pathData="M107.698,102H124c2.209,0,4-1.791,4-4s-1.791-4-4-4H98c-2.209,0-4,1.791-4,4v26c0,2.209,1.791,4,4,4s4-1.791,4-4v-16.385l19.557,19.557c1.563,1.563,4.096,1.563,5.656,0c1.563-1.563,1.563-4.095,0-5.656L107.698,102z" />
<path android:fillColor="#ffffffff" android:pathData="M70,40c-2.209,0-4,1.791-4,4v16.385L46.443,40.829c-1.562-1.563-4.094-1.563-5.657,0c-1.562,1.562-1.562,4.095,0,5.657L60.301,66H44c-2.209,0-4,1.791-4,4s1.791,4,4,4h26c2.209,0,4-1.791,4-4V44C74,41.791,72.209,40,70,40z" />
</vector>
Recent button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M128.041,36.042H39.958c-2.209,0-4,1.791-4,4v87.917c0,2.209,1.791,4,4,4h88.083c2.211,0,4-1.791,4-4V40.042C132.041,37.833,130.252,36.042,128.041,36.042zM123.791,123.041c0,0.553-0.447,1-1,1H44.792c-0.553,0-1-0.447-1-1v-78c0-0.552,0.447-1,1-1h77.999c0.553,0,1,0.448,1,1V123.041z" />
</vector>
Simswitch button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M137.348,121.033h-54.71c-2.569,0-4.653-2.09-4.653-4.668V94.984h-14.7l3.836,3.852c1.558,1.563,1.558,4.096,0,5.656c-0.779,0.781-1.799,1.172-2.82,1.172s-2.042-0.391-2.82-1.172l-10.368-10.41c-1.558-1.563-1.558-4.094,0-5.654l10.369-10.406c1.558-1.563,4.082-1.563,5.64,0c1.558,1.562,1.558,4.095,0,5.656l-3.272,3.285h17.501c2.569,0,4.653,2.09,4.653,4.666v21.352h48.004V67.817l-14.582-12.892H91.881c-2.57,0-4.279-1.465-4.279-4.042c0-2.577,1.709-3.917,4.279-3.917h28.49c1.135,0,2.229,0.416,3.078,1.167l16.979,15.08c1,0.885,1.572,2.16,1.572,3.499v49.653C142,118.943,139.918,121.033,137.348,121.033zM89.988,66.711v6.292h14.457l-3.563-3.576c-1.559-1.561-1.559-4.095,0-5.656c1.559-1.563,4.082-1.563,5.641,0l10.367,10.405c1.559,1.562,1.559,4.094,0,5.656L106.523,90.24c-0.777,0.781-1.801,1.172-2.82,1.172s-2.041-0.391-2.818-1.172c-1.559-1.563-1.559-4.094,0-5.656l3.662-3.677H86.654c-2.569,0-4.653-2.09-4.653-4.667v-8.509L67.605,54.963H33.993v58.017h31.566c2.569,0,4.153,1.434,4.153,4.01s-1.584,4.012-4.153,4.012H30.653c-2.569,0-4.653-2.09-4.653-4.668V51.633c0-2.577,2.083-4.667,4.653-4.667h37.644c1.133,0,2.228,0.416,3.078,1.167l17.04,15.08C89.414,64.098,89.988,65.373,89.988,66.711z" />
</vector>
For all button there is a different code for the transparent version. The above codes are already modified by me because the stock buttons are way too big. See here.
The button size is defined by vector android:height="42.0dip" android:width="42.0dip" and I decreased those values for my Lollipop theme.
In ChupaChups 4.1 you will be able to reduce the navigation bar height which requires the change of the corresponding button height as well.
I hope I helped. Good work with this icons.
Missing codes fixed. We need a proper pathdata for the lollipop icons and the right size definitions.
one might try to rebuild a customized in another lgsystemui with new icons and put them with full apk buttons.
I try this but I'm a little confused. buttons you create are not the photo. I still investigating
forgiveness. My English is the translator of google.
se podria intentar recompilar unos botones customizados en otro lgsystemui con iconos nuevos y meterlos con la apk completa.
yo intente hacer esto pero estoy un poco confuso. los botones que cree no son los de la foto. sigo investigando..
perdon. mi ingles es del traductor de google.
forgive my English.
first.
decompile a LGSystemUI.apk ok kitkat and open ic_sysbar_back.xml
second
decompile framework of kitkat and open values/public
third
decompile framework-res.apk of lollipop and open values/public
ok. ready.
first wanted png that android not use. for example "ic_jog_dial_answer". now, Go to values of lollipop and wanted id public and copy your id. Wanted on public of kitkat and copy your drawable.
Code:
<public type="drawable" name="ic_jog_dial_answer"[COLOR="Red"] id="0x01080371[/COLOR]" />
on lollipop
Code:
<public type="drawable" name="[COLOR="lime"]ic_perm_group_bluetooth[/COLOR]" [COLOR="red"]id="0x0108037[/COLOR]1" />
on kitkat
ok now go to ic_sysbar_back and replace your drawable
Code:
<item android:state_enabled="true" android:state_pressed="false" android:drawable="@[COLOR="Cyan"]*android:[/COLOR]drawable/[COLOR="Lime"]ic_perm_group_bluetooth[/COLOR]" />
<item android:state_enabled="true" android:state_pressed="true" android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
<item android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
</selector>
now recompile your systemui of kitkat and replace ic_sysbar_back on LGsystemUI.apk of lollipop
replace ic_jog_dial_answer.png for your png with this name and copy into framework-res.apk.
now put LGSystemUI.apk into your phone with root explorer and permission.
flash framework-res.apk with the new icons and voila
View attachment 3090021View attachment 3090024
if you want a tutorial in spanish ask to me:good:
edit. if you want test. here have my work.
first put lgsystemui.apk with root explorer and permision
after flash zip keytest.zip
http://www.mediafire.com/download/rabr0kmwv2l8g5g/LGSystemUI.apk
http://www.mediafire.com/download/oeyr76k15vbyye9/keys-test.zip
enjoy
ffalete said:
forgive my English.
first.
decompile a LGSystemUI.apk ok kitkat and open ic_sysbar_back.xml
second
decompile framework of kitkat and open values/public
third
decompile framework-res.apk of lollipop and open values/public
ok. ready.
first wanted png that android not use. for example "ic_jog_dial_answer". now, Go to values of lollipop and wanted id public and copy your id. Wanted on public of kitkat and copy your drawable.
Code:
<public type="drawable" name="ic_jog_dial_answer"[COLOR="Red"] id="0x01080371[/COLOR]" />
on lollipop
Code:
<public type="drawable" name="[COLOR="lime"]ic_perm_group_bluetooth[/COLOR]" [COLOR="red"]id="0x0108037[/COLOR]1" />
on kitkat
ok now go to ic_sysbar_back and replace your drawable
Code:
<item android:state_enabled="true" android:state_pressed="false" android:drawable="@[COLOR="Cyan"]*android:[/COLOR]drawable/[COLOR="Lime"]ic_perm_group_bluetooth[/COLOR]" />
<item android:state_enabled="true" android:state_pressed="true" android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
<item android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
</selector>
now recompile your systemui of kitkat and replace ic_sysbar_back on LGsystemUI.apk of lollipop
replace ic_jog_dial_answer.png for your png with this name and copy into framework-res.apk.
now put LGSystemUI.apk into your phone with root explorer and permission.
flash framework-res.apk with the new icons and voila
View attachment 3090021View attachment 3090024
if you want a tutorial in spanish ask to me:good:
View attachment 3090234View attachment 3090235
edit. if you want test. here have my work.
first put lgsystemui.apk with root explorer and permision
after flash zip keytest.zip
http://www.mediafire.com/download/rabr0kmwv2l8g5g/LGSystemUI.apk
http://www.mediafire.com/download/oeyr76k15vbyye9/keys-test.zip
enjoy
Click to expand...
Click to collapse
Many thanks ffalete. I followed your guide but got the following result:
I am confused with the following steps:
1. When changing the reference in ic_sysbar_(...).xml you said
Code:
android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
I used:
Code:
android:drawable="@drawable/ic_perm_group_bookmarks" />
The * is not required, isn't it?
The navbar icons are 128X128. I put them into the xhdpi folder of framework-res.apk with the name "ic_perm_group_bookmarks".
What am I doing wrong? I had the same problems before the system loads different icons.
Do you know how to change the keys in the appdrawer?
*android: is requiered because this command is for framework.
if you do not put the framework will read
ffalete said:
*android: is requiered because this command is for framework.
if you do not put the framework will read
Click to expand...
Click to collapse
here you have the mod whith your vrtheme.
open the zip and decompile the xml of lgsystemui for compare.:good:
the vrtheme is funtional. you can flash on your phone
Great job! It works. Next step is to make the navbar transparent.
That is already more complicated jejejejeje.
For now we have to settle for this. you know
:laugh::laugh:
ffalete said:
That is already more complicated jejejejeje.
For now we have to settle for this. you know
:laugh::laugh:
Click to expand...
Click to collapse
Can you add up / down buttons and menu?
Here you have[emoji1]
http://www.mediafire.com/download/428x3w987mne9ck/test_navvar2.zip
ffalete said:
Here you have[emoji1]
http://www.mediafire.com/download/428x3w987mne9ck/test_navvar2.zip
Click to expand...
Click to collapse
Can you, please, NavBar botton "Menu" to activate?
According to your instructions, I did not get
There is no need for menu button just longpress recent button.
Is theres a way to resize the Navigation Bar Icons on Lollipop Custom ROM (AHD9.1) its way too big for my liking.
Sent from my LG-D855 using XDA Premium 4 mobile app
jeffzmagboo said:
Is theres a way to resize the Navigation Bar Icons on Lollipop Custom ROM (AHD9.1) its way too big for my liking.
Sent from my LG-D855 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, use ChupaChups4.
OP updated with useful information.
thanks for share my friend just a small question on post 2 why back buttom have different size from the rest?
hugs !
Crash said:
thanks for share my friend just a small question on post 2 why back buttom have different size from the rest?
hugs !
Click to expand...
Click to collapse
Hey, my mistake, fixed.
Kickoff said:
Hey, my mistake, fixed.
Click to expand...
Click to collapse
Don´t worry jus one more question hehe sorry for disturb theres two files for example
ic_sysbar_back_button and ic_sysbar_back_button_trans do we have to change the size on both files or just in the file without the "transparent" ?
Hugs my friend
Both

[Guide][5.1.1]How remove bugs in Sony Xperia SystemUI

Hi Sony Users,
Almost a year waiting for Sony Improves errors in Theme Engine, which have still not been corrected.
I decided to show how remove some bugs in SystemUI
​
Requirements:
- BRAIN (Moust important )
- ApkTool any
- Notepad++
- framework-res.apk
- SemcGenericUxpRes.apk
- SystemUI.apk
Navigation Button Bug:
1. Decompile SystemUI.apk
2. Copy my files to right folder
3. Open SystemUI.apk\res\values\drawables.xml
4. Replice all this lines:
Code:
<item type="drawable" name="somc_navbar_back_btn">@drawable/ic_sysbar_back</item>
<item type="drawable" name="somc_navbar_back_ime_btn">@drawable/ic_sysbar_back_ime</item>
<item type="drawable" name="somc_navbar_home_btn">@drawable/ic_sysbar_home</item>
<item type="drawable" name="somc_navbar_menu_btn">@drawable/ic_sysbar_menu</item>
<item type="drawable" name="somc_navbar_recent_btn">@drawable/ic_sysbar_recent</item>
<item type="drawable" name="somc_navbar_ime_switcher_btn">@drawable/ic_ime_switcher_default</item>
<item type="drawable" name="somc_navbar_back_btn_land">@drawable/ic_sysbar_back_land</item>
<item type="drawable" name="somc_navbar_back_ime_btn_land">@drawable/ic_sysbar_back_ime_land</item>
<item type="drawable" name="somc_navbar_home_btn_land">@drawable/ic_sysbar_home_land</item>
<item type="drawable" name="somc_navbar_menu_btn_land">@drawable/ic_sysbar_menu_land</item>
<item type="drawable" name="somc_navbar_recent_btn_land">@drawable/ic_sysbar_recent_land</item>
This:
Code:
<item type="drawable" name="ic_sysbar_home">@drawable/somc_navbar_home_btn</item>
<item type="drawable" name="ic_sysbar_recent">@drawable/somc_navbar_recent_btn</item>
<item type="drawable" name="ic_sysbar_back">@drawable/somc_navbar_back_btn</item>
<item type="drawable" name="ic_sysbar_menu">@drawable/somc_navbar_menu_btn</item>
<item type="drawable" name="somc_navbar_ime_switcher_btn">@drawable/ic_ime_switcher_default</item>
5. Save File
6. SystemUI.apk\res\layout\
In this files:
navigation_bar.xml
screen_pinning_request_buttons_land.xml
screen_pinning_request_buttons.xml
Change names ( If this names are on other xml files , also need to change it )
Code:
this: to this:
ic_sysbar_back - somc_navbar_back_btn
ic_sysbar_home - somc_navbar_home_btn
ic_sysbar_recent - somc_navbar_recent_btn
ic_sysbar_recent_land - somc_navbar_recent_btn_land
ic_sysbar_home_land - somc_navbar_home_btn_land
ic_sysbar_back_land - somc_navbar_back_btn_land
Exapmple navigation_bar.xml
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/[COLOR="Red"]ic_sysbar_back[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" android:layout_marginStart="@dimen/navigation_key_outer_margin" systemui:keyCode="4" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="red"]ic_sysbar_home[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="red"]ic_sysbar_recent[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" android:layout_marginEnd="@dimen/navigation_key_outer_margin" />
<FrameLayout android:layout_width="@dimen/navigation_side_padding" android:layout_height="fill_parent" android:layout_weight="0.0">
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/[COLOR="RoyalBlue"]somc_navbar_back_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" android:layout_marginStart="@dimen/navigation_key_outer_margin" systemui:keyCode="4" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]somc_navbar_home_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]somc_navbar_recent_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" android:layout_marginEnd="@dimen/navigation_key_outer_margin" />
<FrameLayout android:layout_width="@dimen/navigation_side_padding" android:layout_height="fill_parent" android:layout_weight="0.0">
7. Save File
8. From SystemUI.apk\res\
Remowe all PNG Files
ic_sysbar_home.png
ic_sysbar_recent.png
ic_sysbar_back.png
ic_sysbar_menu.png
FROM ALL FOLDERS
/drawable-hdpi
/drawable-xhdpi
/drawable-xxhdpi
etc.
9. Done
Volume control Bug:
1. Open SystemUI.apk\res\layout\ status_bar_toggle_slider.xml
Change this
Code:
<com.android.systemui.settings.ToggleSeekBar android:id="@id/slider" android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:thumb="[COLOR="red"]@drawable/ic_brightness_thumb[/COLOR]" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_brightness" android:paddingStart="20.0dip" android:paddingEnd="20.0dip" android:layout_toEndOf="@id/toggle" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" android:splitTrack="false" />
To this:
Code:
<com.android.systemui.settings.ToggleSeekBar android:id="@id/slider" android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:thumb="[COLOR="RoyalBlue"]@android:drawable/somc_seekbar_thumb_selector_dark[/COLOR]" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_brightness" android:paddingStart="20.0dip" android:paddingEnd="20.0dip" android:layout_toEndOf="@id/toggle" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" android:splitTrack="false" />
2. Save and done
3. Compile and sign app
Creadits:
RXS MoonBreakers Team
My Ready Mod:
[Mod][5.1.1]Theme Accent SystemUI
Screens:
{
"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"
}
Great tut for fixing this bug
Awesome guide bro so easy.. I wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
shehabskull said:
Awesome guide bro so easy.. I am wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Sony: Simplely, this is not bugs.
shehabskull said:
Awesome guide bro so easy.. I am wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
ReadReadz said:
Sony: Simplely, this is not bugs.
Click to expand...
Click to collapse
For Sony lot of stuff is not BUG
Ambor, you forgot to add somc_seekbar_thumb_selector_dark file, when i've tried to do 'Volume control Bug' it misses this file when building
edi194 said:
Ambor, you forgot to add somc_seekbar_thumb_selector_dark file, when i've tried to do 'Volume control Bug' it misses this file when building
Click to expand...
Click to collapse
You need add this:
@android:drawable/somc_seekbar_thumb_selector_dark
Red mean that file is in framework-res.apk
Ok, sorry for mistake. Everything is working on C6603 with stock 5.1 ^^
Cool guide
Nice Tut!
But I have some requests for further modding/fixing bugs:
Is it possible to remove the (for me annoying) status bar theme color tint that is present in apps like chrome?
Thanks in Advance!!
anyone else tried dis tut??? nav bar still changes wen editing quicksettings & in album!
whalesplaho said:
anyone else tried dis tut??? nav bar still changes wen editing quicksettings & in album!
Click to expand...
Click to collapse
For Z2 try my
http://forum.xda-developers.com/cro...od-theme-accent-systemui-navi-button-t3216761
Nice Guide - Thank you!
Ambor said:
For Z2 try my
http://forum.xda-developers.com/cro...od-theme-accent-systemui-navi-button-t3216761
Click to expand...
Click to collapse
am using a modded systemui buddy... please help!
ReadReadz said:
Sony: Simplely, this is not bugs.
Click to expand...
Click to collapse
And Sony's right. Those are not bugs, just stylistic choices. Speaking as a graphic designer here, Sony theme may not be my favourite, as a matter of taste, but it is fully functional. Bugs are things that shouldn't work, which is not the case. The OP is theming stuff, which is okay, but not fixing a single thing.
whalesplaho said:
am using a modded systemui buddy... please help!
Click to expand...
Click to collapse
Check this step again
8. From SystemUI.apk\res\
Remowe all PNG Files
ic_sysbar_home.png
ic_sysbar_recent.png
ic_sysbar_back.png
ic_sysbar_menu.png
Renmazuo said:
And Sony's right. Those are not bugs, just stylistic choices. Speaking as a graphic designer here, Sony theme may not be my favourite, as a matter of taste, but it is fully functional. Bugs are things that shouldn't work, which is not the case. The OP is theming stuff, which is okay, but not fixing a single thing.
Click to expand...
Click to collapse
I see that you're an expert on the subject. You say I got a reply from Sony, you do not work for them?
This is one of the absurdities of Sony Theme Engine, which is full of them. Sony piecemeal it improves (Lollipop almost a year)
I will not explain, because I would not understand. How would you like to blurt it out find another topic.
Ambor said:
I see that you're an expert on the subject. You say I got a reply from Sony, you do not work for them?
This is one of the absurdities of Sony Theme Engine, which is full of them. Sony piecemeal it improves (Lollipop almost a year)
I will not explain, because I would not understand. How would you like to blurt it out find another topic.
Click to expand...
Click to collapse
Hello brother
I have tried ur tutorial but not working for me. I have followed all correctly. And only Brightness slider is working as per ur tutorial. And u mean delete pngs from SystemUI/res ? Is it SystemUI/res/drawable-xxhdpi folder ?
Any help. ?
I think something is missing in ur tutorial..
EDIT
===
I have tried ur modded apk also. But still i can't find any difference in album . Only other things changed.. Pls take a look at this..
First one is ur modded apk and second one is un modded pure Z2 apk
Files must delete from all folders
/drawable-hdpi
/drawable-xhdpi
/drawable-xxhdpi
etc.

[Tut][MM][Easy] Making Card Style Settings.apk For MarshMallow + Extra !

Hi people !
I wanna just share my TUT howto add card view settings from old
Xperia X Settings into our Settings of Marshmallow after a alot investigation
and test with fails but now with succes.
Screenshot:
{
"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"
}
Steps:
1: Decompile Settings.apk
2: Download attached file then extract and merge into yours
3: Open /res/values/colors.xml, add this values:
Code:
<color name="dashboard_background_color">@drawable/dashboard_background</color>
<color name="dashboard_category_background_color">@drawable/dashboard_category_background</color>
Open /res/layout/dashboard_category.xml, on 2nd line, change to this value
Code:
android:background="?android:colorBackground"
Into this:
Code:
android:background="@drawable/dashboard_category_background"
4: Now as you can see menu divider lines are going out of card from right side. So to fix that.
In /res/layout/dashboard_tile.xml
In line:
Code:
<View android:id="@id/tile_divider" android:background="?android:dividerVertical" android:layout_width="fill_parent" android:layout_height="1.0dip" />
Add android:layout_marginRight="8.0dip"
Then It will look like this
Code:
<View android:id="@id/tile_divider" android:background="?android:dividerVertical" android:layout_width="fill_parent" [COLOR="red"]android:layout_marginRight="8.0dip"[/COLOR] android:layout_height="1.0dip" />
.. Extra Option ..
.. Background Of The Card Accords To Theme ..
Here is howto:
In dashboard_background.xml
DONT copy all - Just compare red lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<padding android:top="72.0dip" />
[COLOR="red"]<solid android:color="@android:color/somc_color_primary_light" />[/COLOR]
</shape>
</item>
<item>
<shape>
<padding android:top="-72.0dip" />
[COLOR="red"]<solid android:color="#80ffffff" />[/COLOR]
</shape>
</item>
<item>
<shape>
<solid android:color="#00000000" />
</shape>
</item>
</layer-list>
Now in dashboard_category_background.xml
* DONT * copy all - Just compare red lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<padding android:left="6.0dip" android:top="8.0dip" android:right="6.0dip" android:bottom="0.0dip" />
<solid android:color="#00000000" />
</shape>
</item>
<item>
<shape>
<padding android:left="1.0dip" android:top="1.0dip" android:right="1.0dip" android:bottom="1.0dip" />
<solid android:color="#03000000" />
<corners android:radius="6.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="1.0dip" android:top="1.0dip" android:right="1.0dip" android:bottom="1.0dip" />
<solid android:color="#07000000" />
<corners android:radius="5.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="0.0dip" android:top="0.0dip" android:right="0.0dip" android:bottom="1.0dip" />
<solid android:color="#09000000" />
<corners android:radius="4.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="0.0dip" android:top="0.0dip" android:right="0.0dip" android:bottom="1.0dip" />
<solid android:color="#09000000" />
<corners android:radius="3.0dip" />
</shape>
</item>
<item>
<shape>
<corners android:radius="2.0dip" />
[COLOR="red"]<solid android:color="@android:color/somc_color_background_light" />[/COLOR]
</shape>
</item>
</layer-list>
- save all changes, recompile, sign, push
- done
...: Credits :...
@idid idamrep: For his guide for LP
RXS Bro @Bloodlvst: For his help
RXS Sister @Marília de Oliveira: For investigations
RXS Bro @Mohitash: For Corrections + Extra Option
-------------------
*** Note !! ***
Don`t hesitate to press the thanks for this guide !!
**********************
​
Res
Awsom bro.. Keep up the good work
Rajeev said:
Awsom bro.. Keep up the good work
Click to expand...
Click to collapse
Thanks my RXS bro @Rajeev ^^
22 views means 22 downloads !
and just 3 thanks -__-"
wow amazing lazy ones, any feedback ?
well atleast for me this works
@Pandemic Looks cool bro..!!
Thanks for the tutorial...
i have a bug i think.... my settings work like before and now i have card style, but the color behind cards doesn't change... i tried different themes but still the same
Metall Boy said:
i have a bug i think.... my settings work like before and now i have card style, but the color behind cards doesn't change... i tried different themes but still the same
Click to expand...
Click to collapse
Hm weird i explained exactly how i did it @Metall Boy
Any screenshot and info like which device, fw, odex or deodexed ?
You people can have issue but i dunno it without any info and the most MM users have odexed rom what is pretty carbage in my eyes because less modificaction due the arm folders.
Pandemic said:
Hm weird i explained exactly how i did it @Metall Boy
Any screenshot and info like which device, fw, odex or deodexed ?
You people can have issue but i dunno it without any info and the most MM users have odexed rom what is pretty carbage in my eyes because less modificaction due the arm folders.
Click to expand...
Click to collapse
here is the screenshot, as you can see i have cards now, but the color behind them doesn't change im using stock based MM rom (see my signature)
Metall Boy said:
here is the screenshot, as you can see i have cards now, but the color behind them doesn't change im using stock based MM rom (see my signature)
Click to expand...
Click to collapse
@Metall Boy
Hmm oke weird and you are sure you have no arm folder in the system/settings folder ?
If not well give me some days i think on monday i fixed it, no pc these days but after the weekend i have, but probarly i forgot something... What an idiot i am :silly: .
Pandemic said:
@Metall Boy
Hmm oke weird and you are sure you have no arm folder in the system/settings folder ?
If not well give me some days i think on monday i fixed it, no pc these days but after the weekend i have, but probarly i forgot something... What an idiot i am :silly: .
Click to expand...
Click to collapse
I dont have any arm folder, I'm using deodexed rom thank you for your time and for this great tutorial
Metall Boy said:
I dont have any arm folder, I'm using deodexed rom thank you for your time and for this great tutorial
Click to expand...
Click to collapse
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^
Pandemic said:
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^
Click to expand...
Click to collapse
yes of course we can wait, no problem thanks again!
Nice man
@Pandemic
My setting app had gone after following your guide. Help me please.
My Z5d MM 6.0.1 rooted, deodexed.
devilmaycry2020 said:
@Pandemic
My setting app had gone after following your guide. Help me please.
My Z5d MM 6.0.1 rooted, deodexed.
Click to expand...
Click to collapse
@devilmaycry2020
Thats weird and i dunno if you read my replies but i need to add some missing lines in the 1st post, which FW you use ?
Pandemic said:
@devilmaycry2020
Thats weird and i dunno if you read my replies but i need to add some missing lines in the 1st post, which FW you use ?
Click to expand...
Click to collapse
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.
devilmaycry2020 said:
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.
Click to expand...
Click to collapse
You signed apk?
devilmaycry2020 said:
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.
Click to expand...
Click to collapse
Please read this my friend
V
V
V
Pandemic said:
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^
Click to expand...
Click to collapse
It will be fixed like i said on Monday
Patients.
Kuciak said:
You signed apk?
Click to expand...
Click to collapse
Yes, define absolutely. i signed it. i mod many thing app no problem.

Categories

Resources