[Guide][TUT] Honami style Tab indicators - Sony Cross-Device General

Let's see what I'll teaching you today​
Preview:
Defaul---------------------------------------------------------------------------------------------------Honami
{
"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"
}
All right,here we go
1.Download resources View attachment 2884731
put folder file into res
forget about styles.txt
2.Goto framework-res\res\values open styles.xml
search code
HTML:
[HTML] <style name="Widget.Holo.TabWidget" parent="@style/Widget.TabWidget">
An whole section replace (befour </style>)
HTML:
<style name="Widget.Holo.TabWidget" parent="@style/Widget.TabWidget">
<item name="divider">@null</item>
<item name="tabStripLeft">@null</item>
<item name="tabStripRight">@null</item>
<item name="tabStripEnabled">false</item>
<item name="measureWithLargestChild">true</item>
<item name="showDividers">none</item>
<item name="dividerPadding">8.0dip</item>
<item name="tabLayout">@layout/semc_tab_indicator_holo_dark</item>
</style>
seems like:
search code
HTML:
<style name="Widget.Holo.Tab" parent="@style/Widget.Holo.ActionBar.TabView">
An whole section replace (befour </style>)
HTML:
<style name="Widget.Holo.Tab" parent="@style/Widget.Holo.ActionBar.TabView">
<item name="background">@drawable/semc_tab_indicator_holo_dark</item>
<item name="layout_width">0.0dip</item>
<item name="minWidth">80.0dip</item>
<item name="layout_weight">1.0</item>
</style>
search code
HTML:
<style name="Widget.Holo.Light.Tab" parent="@style/Widget.Holo.Light.ActionBar.TabView">
An whole section replace (befour </style>)
HTML:
<style name="Widget.Holo.Light.Tab" parent="@style/Widget.Holo.Light.ActionBar.TabView">
<item name="background">@drawable/semc_tab_indicator_holo_light</item>
<item name="layout_width">0.0dip</item>
<item name="minWidth">80.0dip</item>
<item name="layout_weight">1.0</item>
</style>
search code
HTML:
<style name="Widget.ActionBar.TabBar" parent="@style/Widget" />
An whole section replace (befour </style>)
HTML:
<style name="Widget.ActionBar.TabBar" parent="@style/Widget" />
<style name="Widget.Holo.ActionBar.TabView" parent="@style/Widget.ActionBar.TabView">
<item name="background">@drawable/semc_tab_indicator_holo_dark</item>
<item name="paddingLeft">@dimen/somc_actionbar_tab_padding</item>
<item name="paddingRight">@dimen/somc_actionbar_tab_padding</item>
</style>
Well,Then goto last line,befour </resources>
add code
HTML:
<style name="Widget.Holo.Light.TabWidget" parent="@style/Widget.Holo.TabWidget">
<item name="tabLayout">@layout/semc_tab_indicator_holo_light</item>
</style>
<style name="Widget.Holo.Light.ActionBar.TabView" parent="@style/Widget.Holo.ActionBar.TabView">
<item name="background">@drawable/semc_tab_indicator_holo_light</item>
</style>
<style name="Widget.DeviceDefault.TabText" parent="@style/Widget.Holo.TabText" />
seems like:
Well ,done ,about Decompile i don't wanna crap , replace what file you have changed to original app
enjoy it
Like it , how about press thanks:highfive:
If you like honami styles framework , more detail visit Ambor's post
Over here http://forum.xda-developers.com/cro...z2-framework-to-cm11-15-t2836856/post54584204

ljg211314 said:
Let's see what I'll teaching you today​
Preview:
Defaul---------------------------------------------------------------------------------------------------Honami
All right,here we go
1.download resources View attachment 2880418
put folder file into res
forget about styles.xml
2.goto framework-res\res\values open styles.xml
search code
HTML:
<style name="Widget.Holo.TabWidget" parent="@style/Widget.TabWidget">
An whole section replace (befour </style>)
HTML:
<style name="Widget.Holo.TabWidget" parent="@style/Widget.TabWidget">
<item name="divider">@null</item>
<item name="tabStripLeft">@null</item>
<item name="tabStripRight">@null</item>
<item name="tabStripEnabled">false</item>
<item name="measureWithLargestChild">true</item>
<item name="showDividers">none</item>
<item name="dividerPadding">8.0dip</item>
<item name="tabLayout">@layout/semc_tab_indicator_holo_dark</item>
</style>
seems like:
search code
HTML:
<style name="Widget.Holo.Tab" parent="@style/Widget.Holo.ActionBar.TabView">
An whole section replace (befour </style>)
HTML:
<style name="Widget.Holo.Tab" parent="@style/Widget.Holo.ActionBar.TabView">
<item name="background">@drawable/semc_tab_indicator_holo_dark</item>
<item name="layout_width">0.0dip</item>
<item name="minWidth">80.0dip</item>
<item name="layout_weight">1.0</item>
</style>
search code
HTML:
<style name="Widget.Holo.Light.Tab" parent="@style/Widget.Holo.Light.ActionBar.TabView">
An whole section replace (befour </style>)
HTML:
<style name="Widget.Holo.Light.Tab" parent="@style/Widget.Holo.Light.ActionBar.TabView">
<item name="background">@drawable/semc_tab_indicator_holo_light</item>
<item name="layout_width">0.0dip</item>
<item name="minWidth">80.0dip</item>
<item name="layout_weight">1.0</item>
</style>
search code
HTML:
<style name="Widget.ActionBar.TabBar" parent="@style/Widget" />
An whole section replace (befour </style>)
HTML:
<style name="Widget.ActionBar.TabBar" parent="@style/Widget" />
<style name="Widget.Holo.ActionBar.TabView" parent="@style/Widget.ActionBar.TabView">
<item name="background">@drawable/semc_tab_indicator_holo_dark</item>
<item name="paddingLeft">@dimen/somc_actionbar_tab_padding</item>
<item name="paddingRight">@dimen/somc_actionbar_tab_padding</item>
</style>
Well,Then goto last line,befour </resources>
add code
HTML:
<style name="Widget.Holo.Light.TabWidget" parent="@style/Widget.Holo.TabWidget">
<item name="tabLayout">@layout/semc_tab_indicator_holo_light</item>
</style>
<style name="Widget.Holo.Light.ActionBar.TabView" parent="@style/Widget.Holo.ActionBar.TabView">
<item name="background">@drawable/semc_tab_indicator_holo_light</item>
</style>
<style name="Widget.DeviceDefault.TabText" parent="@style/Widget.Holo.TabText" />
seems like:
Well ,done ,about Decompile i don't wanna crap , replace what file you have changed to original app
enjoy it
Like it , how about press thanks:highfive:
Click to expand...
Click to collapse
awesome :laugh: .
just a suggestion , maybe make a tutorial for theming whole framework to honami style ?

XT-107 said:
awesome :laugh: .
just a suggestion , maybe make a tutorial for theming whole framework to honami style ?
Click to expand...
Click to collapse
It's complicated ! and so much file to edit , just use it will be much better:angel:

preview nothing ?

help me,please i got error
..
.
.

nice work bro thanks:good::good::good:

jaguelos said:
help me,please i got error
..
.
.
Click to expand...
Click to collapse
Bro probably missing file in the layoutfolder semc_tab_indicator_holo_light in framework-res.apk
if you an my files must add i folder color this files
semc_widget_text_color_dark.xml
semc_widget_text_color_light.xml
this is files from my Z2 framework-res.apk
semc_tab_indicator_holo_light.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:layout_height="?actionBarSize" style="@android:style/Widget.DeviceDefault.Light.Tab"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_vertical" android:id="@id/icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textColor="@color/semc_widget_text_color_tabs_light" android:layout_gravity="center_vertical" android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.DeviceDefault.TabText" />
</LinearLayout>
semc_tab_indicator_holo_dark.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:layout_height="?actionBarSize" style="@android:style/Widget.DeviceDefault.Tab"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_vertical" android:id="@id/icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textColor="@color/semc_widget_text_color_tabs_dark" android:layout_gravity="center_vertical" android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.DeviceDefault.TabText" />
</LinearLayout>

gamzekal said:
nice work bro thanks:good::good::good:
Click to expand...
Click to collapse
Thanks:highfive:

Ambor said:
Bro probably missing file in the layoutfolder semc_tab_indicator_holo_light in framework-res.apk
if you an my files must add i folder color this files
semc_widget_text_color_dark.xml
semc_widget_text_color_light.xml
this is files from my Z2 framework-res.apk
semc_tab_indicator_holo_light.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:layout_height="?actionBarSize" style="@android:style/Widget.DeviceDefault.Light.Tab"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_vertical" android:id="@id/icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textColor="@color/semc_widget_text_color_tabs_light" android:layout_gravity="center_vertical" android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.DeviceDefault.TabText" />
</LinearLayout>
semc_tab_indicator_holo_dark.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:layout_height="?actionBarSize" style="@android:style/Widget.DeviceDefault.Tab"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_vertical" android:id="@id/icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textColor="@color/semc_widget_text_color_tabs_dark" android:layout_gravity="center_vertical" android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.DeviceDefault.TabText" />
</LinearLayout>
Click to expand...
Click to collapse
Indeed ! there is on thing I've missed,sorry!! semc_tab_indicator_holo_light.xml
it's in res\layout
Now dowmload it View attachment semc_tab_indicator_holo_light.zip

Bro check orginal Z2 framework in It Is in LAYOUT
Even explain to you why there is
See this valiue, this is color text of swithers
<TextView android:textColor="@color/semc_widget_text_color_tabs_dark"
<TextView android:textColor="@color/semc_widget_text_color_tabs_light"
If you add this files in color folder
semc_widget_text_color_tabs_dark.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/@color/somc_theme_accent_color_dark" android:state_activated="true" />
<item android:state_selected="true" android:color="@color/somc_theme_accent_color_dark" />
<item android:state_enabled="false" android:color="#80bebebe" />
<item android:color="#ffffffff" />
</selector>
semc_widget_text_color_tabs_light.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/somc_theme_accent_color_light" android:state_activated="true" />
<item android:state_selected="true" android:color="@color/somc_theme_accent_color_light" />
<item android:state_enabled="false" android:color="#ffbebebe" />
<item android:color="#ff333333" />
</selector>
And add this valiue in color.xml
<color name="somc_theme_accent_color_dark">#ff64c9ff</color>
<color name="somc_theme_accent_color_light">#ff64c9ff</color>
Efect

Nice work! Dude, seems awesome
Sent from my R800i using XDA Free mobile app

@Ambor Bro can you please make a guide about theming Framework-res.apk like Yours z2 framework-res.apk ?
Will be appreciated :laugh:

Black_Eyes said:
@Ambor Bro can you please make a guide about theming Framework-res.apk like Yours z2 framework-res.apk ?
Will be appreciated :laugh:
Click to expand...
Click to collapse
The Honami's theme is defined in SemcGenericUxpRes.apk
About color , ang about @Ambor 's idea is very nice , i think it should work , i'll try...

ljg211314 said:
The Honami's theme is defined in SemcGenericUxpRes.apk
About color , ang about @Ambor 's idea is very nice , i think it should work , i'll try...
Click to expand...
Click to collapse
look
link

Awesome !!:thumbup: doesn't working on ICS ?because my device still have not a perfect CM 11
Sent from my R800i using XDA Free mobile app

nice and simple tutorial :fingers-crossed:

Hi!! Bro could you share to me a flasheable zip of your System Font?? Thanks!!

Touchwiz
Hi all.
I know this is z2 and yea.
But is there somebody that is willing to share some info or TUT on theming the 4.4.2 touchwiz framework-res?
if so please share.
Thanks in advance. :good:

Related

[Q] How to remove clock from status bar?

I tried to search for answers. All i can found didn't work. Can somebody help me to remove the clock from the status bar? Thanks! :fingers-crossed:
ps: I'm using Stock Deodexed Rom
Is it a stock rom? If it is, then you cant remove it without modifying your SystemUI .apk.
If on the other hand, it is a custom rom, you have to specify which rom you are using, and whether it has statusbar greper enabled, or is it using EDT Tweaks...
Please Be More Specific!!
oh sorry about that. I'm currently in a Stock Deodexed Rom.
Zius said:
I tried to search for answers. All i can found didn't work. Can somebody help me to remove the clock from the status bar? Thanks! :fingers-crossed:
ps: I'm using Stock Deodexed Rom
Click to expand...
Click to collapse
An eazy way would be to go to uot and select status bar text color Alfa to 0%...
{
"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"
}
=========HOLO-UBUNTU========theme
but the clock is still there? will it leave a huge space on the top right corner?
decompile systemui with apktool...find status_bar.xml..edit with notepad ++ or whatever app...
find this n delete
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="10.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textSize="26.5dip" android:textStyle="bold" android:textColor="#0033b5e5" android:gravity="left|center" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
I can't find that line. Is that coming from a custom rom because all i can find is this.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
Zius said:
I can't find that line. Is that coming from a custom rom because all i can find is this.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
Click to expand...
Click to collapse
i have edit for u...just paste this on ur status_bar.xml and recompile them
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
my systemUI force close.
Zius said:
my systemUI force close.
Click to expand...
Click to collapse
can u give me ur original n edited systemui
The original is the systemui from the deodexed rom that i flashed. The edited is the one i'm using right now.
try this and report back to me whether it work or not
View attachment SystemUI.apk
same as the other ones. systemui force close.
just a question. In Hyperion 8 is there an option to hide the clock?
Zius said:
same as the other ones. systemui force close.
just a question. In Hyperion 8 is there an option to hide the clock?
Click to expand...
Click to collapse
try to reflash ur rom and use systemui that i gave to u..
in hyperion 8 i use same method which is edit status_bar.xml
Thanks for the help!

[guide][dev]adding slideable mods to statusbar and apps>

Hello Guys .Hope You Are Fine..
I found this slidiable function in calculator app and integrated in my theme..
and now i want to share this mod with you ..
I will Guide You how to make it work in some apps like statusbar.dialer,etc
So Lets Start
PREPARATION..
+Knowledge of editing xmls
+Apktool or apkmanager
+My zip<in attachments
METHOD.
+Download attached zip.
+Decompile Your App In Which U want To use This Mod
+Extract Provided Zip in smali folder of your app.
+Now go to ids.xml and add this code above</resources>.
Code:
<item type="id" name="panelswitch">false</item>
+Now open ststus_bar_expande.xml
+If you want to add this mod in clock panel and brightness panel.
then add this code
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
add clock panel here
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
brightness panel here
</LinearLayout>
</com.android.san.PanelSwitcher>
+Now decompile Your app
+Thats it.
+Now you can slide clock panel left to use brightness panel.
NOTE
Remember to place your panels between two layouts as in above code.
Use this guide to mod other apps also.
CREDITS
DEV of calculater app
Me​
This is what iam talking about on sliding...
This is my theme
{
"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"
}
Let me see if I got this right with this mod for example on statusbar_expanded on your screenshot we can just swipe to get a second view?
Sent from my H100 using xda app-developers app
thirdzcee said:
Let me see if I got this right with this mod for example on statusbar_expanded on your screenshot we can just swipe to get a second view?
Sent from my H100 using xda app-developers app
Click to expand...
Click to collapse
Yes
Sent from my GT-S5360 using Tapatalk 2
working like a charm bro.,.. thanks for this :good::good::good:
Thats nice .
Dont just say thanks press it too.
Sent from my GT-S5360 using Tapatalk 2
Wow greats thanks Dev
Post some ss guys
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Thats nice .
Dont just say thanks press it too.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
already did.:good::good::good:
thirdzcee said:
already did.:good::good::good:
Click to expand...
Click to collapse
bro need help how to make it on quicksettings by just sliding..it will be great..
Edit: Can I make it like for example my first layout would be the standard status bar expanded with WIFI, BT, etc toggles then as I slide it to the left it would be the Quicksettings Panel?? Then Vice Versa from quicksettings back to standard status bar expanded??.I manage to have make it swipe but somehow Quicksettings (LIDROIDS) doesnt appear..its just black panel..
greedisgood99999 said:
bro need help how to make it on quicksettings by just sliding..it will be great..
Edit: Can I make it like for example my first layout would be the standard status bar expanded with WIFI, BT, etc toggles then as I slide it to the left it would be the Quicksettings Panel?? Then Vice Versa from quicksettings back to standard status bar expanded??.I manage to have make it swipe but somehow Quicksettings (LIDROIDS) doesnt appear..its just black panel..
Click to expand...
Click to collapse
Anything is possible with it
Check out mine
https://www.youtube.com/watch?v=rTrcnqYJAOw&feature=youtube_gdata_player
Send me your statusbarexpanded.xml and ill analyze it later to see whats missing
Sent from my GT-I9070 using xda app-developers app
deleted
---------- Post added at 09:16 AM ---------- Previous post was at 08:36 AM ----------
thirdzcee said:
Anything is possible with it
Check out mine
https://www.youtube.com/watch?v=rTrcnqYJAOw&feature=youtube_gdata_player
Send me your statusbarexpanded.xml and ill analyze it later to see whats missing
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Sorry bro need to delete my last post it gives me FC..here is my unmodded systemui statusbar expanded..it has the Quicksettings by SpaceCaker i want to be slidable..if possible..thanks..
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/stat_power_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="center" android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/carrier_label_gemini" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height">
<com.android.systemui.statusbar.phone.CarrierLabelGemini android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="center" android:id="@id/carrier1" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
<ImageView android:layout_gravity="center" android:id="@id/carrier_divider" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/gemini_carrier_divider" />
<com.android.systemui.statusbar.phone.CarrierLabelGemini android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="center" android:id="@id/carrier2" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
</LinearLayout>
<com.spacecaker.SpaceLayOut android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_space" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<FrameLayout android:id="@id/toolBarSwitchPanel" android:background="@drawable/stat_power_bg" android:layout_width="fill_parent" android:layout_height="103.0dip" android:layout_marginTop="48.0dip">
<include layout="@layout/toolbar_view" />
<include layout="@layout/toolbar_indicator" />
</FrameLayout>
<LinearLayout android:orientation="horizontal" android:background="@drawable/stat_power_bg" android:layout_width="fill_parent" android:layout_height="35.0dip" android:layout_marginTop="151.0dip">
<include layout="@layout/adi_brightness" />
<TextView android:textSize="20.0dip" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/notification_title" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:text="@string/status_bar_latest_events_title" android:layout_weight="1.0" />
</LinearLayout>
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="@dimen/scroll_view_margin_top" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</FrameLayout>
</com.spacecaker.SpaceLayOut>
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:id="@id/closeImg" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
thirdzcee said:
Anything is possible with it
Check out mine
https://www.youtube.com/watch?v=rTrcnqYJAOw&feature=youtube_gdata_player
Send me your statusbarexpanded.xml and ill analyze it later to see whats missing
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
sir can you send me your statusbar expanded,i can compare with my file,i still not know how it work
greedisgood99999 said:
deleted
---------- Post added at 09:16 AM ---------- Previous post was at 08:36 AM ----------
Sorry bro need to delete my last post it gives me FC..here is my unmodded systemui statusbar expanded..it has the Quicksettings by SpaceCaker i want to be slidable..if possible..thanks..
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/stat_power_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="center" android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/carrier_label_gemini" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height">
<com.android.systemui.statusbar.phone.CarrierLabelGemini android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="center" android:id="@id/carrier1" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
<ImageView android:layout_gravity="center" android:id="@id/carrier_divider" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/gemini_carrier_divider" />
<com.android.systemui.statusbar.phone.CarrierLabelGemini android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="center" android:id="@id/carrier2" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
</LinearLayout>
<com.spacecaker.SpaceLayOut android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_space" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<FrameLayout android:id="@id/toolBarSwitchPanel" android:background="@drawable/stat_power_bg" android:layout_width="fill_parent" android:layout_height="103.0dip" android:layout_marginTop="48.0dip">
<include layout="@layout/toolbar_view" />
<include layout="@layout/toolbar_indicator" />
</FrameLayout>
<LinearLayout android:orientation="horizontal" android:background="@drawable/stat_power_bg" android:layout_width="fill_parent" android:layout_height="35.0dip" android:layout_marginTop="151.0dip">
<include layout="@layout/adi_brightness" />
<TextView android:textSize="20.0dip" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/notification_title" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:text="@string/status_bar_latest_events_title" android:layout_weight="1.0" />
</LinearLayout>
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="@dimen/scroll_view_margin_top" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</FrameLayout>
</com.spacecaker.SpaceLayOut>
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:id="@id/closeImg" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
Click to expand...
Click to collapse
okay so first of all you need toreplace these lines
Code:
<com.spacecaker.SpaceLayOut android:layout_width="fill_parent" android:layout_height="fill_parent">
with
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
and this one
Code:
</com.spacecaker.SpaceLayOut>
with
Code:
</com.android.san.PanelSwitcher>
then move
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
above
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
</LinearLayout>
so it would look like this
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
remove these
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_space" />
</LinearLayout>
and enclose everything inside a frame layout so it would look like this
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<FrameLayout android:layout_height="fill_parent" android:layout_width="fill_parent">
all the other lines in between
</FrameLayout>
</com.android.san.PanelSwitcher>
at this point it should be simple now basing on the layout from the OP as a guide your layout should now look like with the line we removed earlier added back to the area of the 2nd view
(look at the red thats what changed here)
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
[COLOR="Red"] THE FRAMELAYOUT AND EVERYTHING IN BETWEEN[/COLOR]
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="[COLOR="Red"]fill_parent[/COLOR]" android:baselineAligned="false">
[COLOR="Red"] <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_space" />
</LinearLayout>[/COLOR]
</LinearLayout>
</com.android.san.PanelSwitcher>
thats it, and you should be able to get the view by swiping on the clock area since the smali doesnt allow us to swipe on a scrollview like the togges or the notification AND PLEASE DONT TOUCH ANYTHING OUTSID THE
com.android.san.PanelSwitcher LINES ... ALL THE EDITS ARE DONE INSIDE OR IN BETWEEN THESE LINES ONLY, THE REST WERE UNTOUCHED
PS i shortened the codes on purpose but explained the changes one by one so youll be able to do it yourself, i dont like spoon feeding :laugh:
---------- Post added at 06:41 PM ---------- Previous post was at 06:31 PM ----------
billy_cater said:
sir can you send me your statusbar expanded,i can compare with my file,i still not know how it work
Click to expand...
Click to collapse
follow on the guide i posted for greedisgood
the principle is still the same, all you have to do is analyze the layout of the xml, i cant send the file anymore because i have i no longer have my old phone, i have a different phone now and for me to get that SystemUI ill have to download my full rom
thirdzcee said:
okay so first of all you need toreplace these lines
Code:
<com.spacecaker.SpaceLayOut android:layout_width="fill_parent" android:layout_height="fill_parent">
with
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
and this one
Code:
</com.spacecaker.SpaceLayOut>
with
Code:
</com.android.san.PanelSwitcher>
then move
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
above
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
</LinearLayout>
so it would look like this
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
remove these
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_space" />
</LinearLayout>
and enclose everything inside a frame layout so it would look like this
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<FrameLayout android:layout_height="fill_parent" android:layout_width="fill_parent">
all the other lines in between
</FrameLayout>
</com.android.san.PanelSwitcher>
at this point it should be simple now basing on the layout from the OP as a guide your layout should now look like with the line we removed earlier added back to the area of the 2nd view
(look at the red thats what changed here)
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
[COLOR="Red"] THE FRAMELAYOUT AND EVERYTHING IN BETWEEN[/COLOR]
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="[COLOR="Red"]fill_parent[/COLOR]" android:baselineAligned="false">
[COLOR="Red"] <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_space" />
</LinearLayout>[/COLOR]
</LinearLayout>
</com.android.san.PanelSwitcher>
thats it, and you should be able to get the view by swiping on the clock area since the smali doesnt allow us to swipe on a scrollview like the togges or the notification AND PLEASE DONT TOUCH ANYTHING OUTSID THE
com.android.san.PanelSwitcher LINES ... ALL THE EDITS ARE DONE INSIDE OR IN BETWEEN THESE LINES ONLY, THE REST WERE UNTOUCHED
PS i shortened the codes on purpose but explained the changes one by one so youll be able to do it yourself, i dont like spoon feeding :laugh:
---------- Post added at 06:41 PM ---------- Previous post was at 06:31 PM ----------
follow on the guide i posted for greedisgood
the principle is still the same, all you have to do is analyze the layout of the xml, i cant send the file anymore because i have i no longer have my old phone, i have a different phone now and for me to get that SystemUI ill have to download my full rom
Click to expand...
Click to collapse
alright thanks to this..will try now..the how to on OP is too difficult to analyze for newbies like me..but so far i made it for sliding that's it..lol..
BTW, any solution to enable DUAL SWIPING on Spacecaker 4.2.2 Quicksettings bro??
EDIT: Bro its perfect..thanks to this..I just modify some of your codes you've given rearranged it and works perfectly..btw, is there a solution to this..once I slide to my next panel then closed status bar expanded then open it again it goes back to may second panel..how to make back to first panel again after closing status bar expanded??.is this keycode or what??.thanks..this is so awesome..i want to add volume slider as well after the second panel which will be the third panel..will experiment it..thanks to this..totally awesome..
CM9??
Will it work on cm9?
OJ said:
Will it work on cm9?
Click to expand...
Click to collapse
Yes
Sent from my GT-S5360 using Tapatalk 2

[Q] How to edit the colour of the right-upper clock?

How to edit the colour of the right-upper clock? Which xml files I need to edit? from System-UI or framework-res or others?
SystemUI.apk
res/layout/status_bar.xml
edit hexadecimal value for the clock colour
marcussmith2626 said:
SystemUI.apk
res/layout/status_bar.xml
edit hexadecimal value for the clock colour
Click to expand...
Click to collapse
i opened it I cant manage to find it. what does the bold text mean?
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
RoyaLKurTx3 said:
i opened it I cant manage to find it
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Click to expand...
Click to collapse
Try adding
android:textColor="#ffffffff"
Change the #hex code to colour you want #ffffffff equals white
you can also easily change it if your rom has EDT Tweaks
marcussmith2626 said:
Try adding
android:textColor="#ffffffff"
Change the #hex code to colour you want #ffffffff equals white
Click to expand...
Click to collapse
thx, i will try that on my phone and see will make it ics colour #FF33B5E5
RoyaLKurTx3 said:
thx, i will try that on my phone and see will make it ics colour #FF33B5E5
Click to expand...
Click to collapse
If you're using a stock based custom rom some have EDT Tweaks somewhere in it's settings you can also set clock colour that way if it's set up to
marcussmith2626 said:
Try adding
android:textColor="#ffffffff"
Change the #hex code to colour you want #ffffffff equals white
you can also easily change it if your rom has EDT Tweaks
Click to expand...
Click to collapse
marcussmith2626 said:
If you're using a stock based custom rom some have EDT Tweaks somewhere in it's settings you can also set clock colour that way if it's set up to
Click to expand...
Click to collapse
I'm using this: http://forum.xda-developers.com/showthread.php?t=2118569
I did: <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:textColor="#ff33b5e5" />
and it didnt work :/
RoyaLKurTx3 said:
I did: <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:textColor="#ff33b5e5" />
and it didnt work :/
Click to expand...
Click to collapse
You will need to use edt tweaks then - search your rom settings
normally in settings you will have rom name settings & it will be in there
(the apk edt.apk or similar will be in system/app)
if not search xda to learn how to put edt tweaks into your rom
marcussmith2626 said:
You will need to use edt tweaks then - search your rom settings
normally in settings you will have rom name settings & it will be in there
(the apk edt.apk or similar will be in system/app)
if not search xda to learn how to put edt tweaks into your rom
Click to expand...
Click to collapse
I found this: http://forum.xda-developers.com/showthread.php?t=2372440&highlight=edt+tweaks
but it looks bad. Cant change the colour. Any help? I also need to remove the "1" of the SIM 1 on the GT-S6102.
I also found this: http://forum.xda-developers.com/showthread.php?t=1123830
but is it for gt-s6102 too?
RoyaLKurTx3 said:
I also found this: http://forum.xda-developers.com/showthread.php?t=1123830
but is it for gt-s6102 too?
Click to expand...
Click to collapse
You can't use that SystemUI.apk - you need to follow the porting guide and incorporate the smali code into your SystemUI.apk to use with edt tweaks
evo-x4 for galaxy y GT-S5360 uses that mod
marcussmith2626 said:
You can't use that SystemUI.apk - you need to follow the porting guide and incorporate the smali code into your SystemUI.apk to use with edt tweaks
evo-x4 for galaxy y GT-S5360 uses that mod
Click to expand...
Click to collapse
I added the correct (I placed it correctly) smali code, pushed it to system/app and did the permissions. I rebooted and it started fc. you know why?
RoyaLKurTx3 said:
I added the correct (I placed it correctly) smali code, pushed it to system/app and did the permissions. I rebooted and it started fc. you know why?
Click to expand...
Click to collapse
Either smali not compatible or mistakes made
use the smali files from evo-x4 SystemUI.apk (for personal use)
also if you copied the status_bar.xml from that threads SystemUI.apk to yours it will force close as it's not for our device
contact the developer of evo-x4 - he will be able to help you with it if he has time
marcussmith2626 said:
Either smali not compatible or mistakes made
use the smali files from evo-x4 SystemUI.apk (for personal use)
also if you copied the status_bar.xml from that threads SystemUI.apk to yours it will force close as it's not for our device
contact the developer of evo-x4 - he will be able to help you with it if he has time
Click to expand...
Click to collapse
ah ok. I will copy status_bar.xml from evo-x4 (although I have GT-S6102) and see what happens, if it force closes, than I will do edt tweaks.
no luck. didnt let me recompile. this edt tweaks is hard ._.
Here:
status_bar.xml of evo-x4:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.b16h22.statusbar.StatusBar android:id="@id/status_bar" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="4.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.BatteryText android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textColor="#00000000" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
<com.android.systemui.statusbar.BatteryBar android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.StatusBarView>
my current staus-bar.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
You can't just copy and paste status_bar.xml - I meant for you to compare so you know what changes you need to make for your own or to find a guide
you would of got compile errors because the @iD values are different & would need changing in the values.xml
marcussmith2626 said:
You can't just copy and paste status_bar.xml - I meant for you to compare so you know what changes you need to make for your own or to find a guide
you would of got compile errors because the @iD values are different & would need changing in the values.xml
Click to expand...
Click to collapse
I don't want to sound selfish or anything, but can you give me the code for the system_bar.xml? I cant manage it and I gave you both the codes above. Please? :fingers-crossed:
RoyaLKurTx3 said:
I don't want to sound selfish or anything, but can you give me the code for the system_bar.xml? I cant manage it and I gave you both the codes above. Please? :fingers-crossed:
Click to expand...
Click to collapse
Here is what I would do
Take BatteryText*.smali & Clock*.smali from evo-x4 SystemUI.apk and paste into yours (all files * represent different numbers and parts)
Copy the lines starting
<com.android.systemui.statusbar.BatteryText
From evo-x4 status_bar.xml copy & paste into yours above the line starting
com.android.systemui.statusbar.Clock
Replace your lines starting
Com.android.systemui.statusbar.clock
with the one from evo-x4 (it maybe the same though can't see it all on phone)
So the line for battery is above clock
Compile and push to system or flash with flashable zip
install the edt tweaks apk
See if you can use it to change colour

[TUTORIAL][KK/JB 4.3][STOCK_ROM] Transparent Framework

Transparent framework for Xperia KK/JB 4.3 Stock Rom (Update For Theme.Holo.Light)
This mod affect to Settins.apk, Conversations.apk and SemcPhone.apk
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"
}
Tested work on:
- Sony Xperia SP (JB 4.3)
- Sony Xperia Z (KK)
- Sony Xperia Z1 (KK)
I get the basic tutorial of thread by ZduneX25
REQUIREMENTS:
- Advance Apktool, you can get it here http://forum.xda-developers.com/showthread.php?t=2639400
- Notepad++
- 7zip
- Root Explorer
- A deodex rom
- Framework-res.apk​
1. Decompile Framework-res.apk
2. Open /res/value/drawable.xml with Notepad++ add the following lines:
Code:
<item type="drawable" name="kalel_background_white">#a6ffffff</item>
<item type="drawable" name="kalel_background">#80000000</item>
Save drawable.xml
3. Open /res/value/styles.xml with Notepad++
a. Find : <style name="Theme.Holo" parent="@style/Theme"> edit line
Code:
<item name="windowShowWallpaper">false</item>
To :
Code:
<item name="windowShowWallpaper">true</item>
do the same for
Code:
<style name="Theme.Holo.Light" parent="@style/Theme.Light">
b. Find: <style name="Theme.DeviceDefault" parent="@style/Theme.Holo"> edit:
Code:
<item name="windowBackground">@drawable/kalel_background</item>
find : <style name="Theme.DeviceDefault.Light" parent="@style/Theme.Holo.Light"> edit:
Code:
<item name="windowBackground">@drawable/kalel_background_white</item>
c. Add this code
Code:
<item name="windowShowWallpaper">false</item>
under this lines:
Code:
- <style name="Theme.NoTitleBar" parent="@style/Theme">
- <style name="Theme.Black" parent="@style/Theme">
- <style name="Theme.Light" parent="@style/Theme">
- <style name="Theme.Translucent" parent="@style/Theme">
- <style name="Theme.NoDisplay" parent="@style/Theme">
- <style name="Theme.Panel" parent="@style/Theme">
- <style name="Theme.WallpaperSettings" parent="@style/Theme">
- <style name="Theme.Holo.Dialog" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.Dialog" parent="@style/Theme.Holo.Light">
- <style name="Theme.Holo.Panel" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.Panel" parent="@style/Theme.Holo.Light">
- <style name="Widget.ListPopupWindow" parent="@style/Widget">
- <style name="Widget.Holo.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.Holo.Spinner" parent="@style/Widget.Spinner.DropDown">
- <style name="Widget.Holo.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Widget.Holo.Light.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.Holo.Light.Spinner" parent="@style/Widget.Holo.Spinner">
- <style name="Widget.Holo.Light.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Theme.Holo.Light.NoActionBar" parent="@style/Theme.Holo.Light">
- <style name="Theme.Holo.Light.DarkActionBar" parent="@style/Theme.Holo.Light">
- <style name="Theme.DeviceDefault.Dialog" parent="@style/Theme.DeviceDefault">
- <style name="Theme.DeviceDefault.Panel" parent="@style/Theme.DeviceDefault">
- <style name="Theme.DeviceDefault.Light.Panel" parent="@style/Theme.DeviceDefault.Light">
- <style name="Widget.DeviceDefault.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.DeviceDefault.Spinner" parent="@style/Widget.Holo.Spinner.DropDown">
- <style name="Widget.DeviceDefault.ListPopupWindow" parent="@style/Widget.Holo.ListPopupWindow">
- <style name="Widget.DeviceDefault.Light.AutoCompleteTextView" parent="@style/Widget.AutoCompleteTextView">
- <style name="Widget.DeviceDefault.Light.Spinner" parent="@style/Widget.DeviceDefault.Spinner">
- <style name="Widget.DeviceDefault.Light.ListPopupWindow" parent="@style/Widget.ListPopupWindow">
- <style name="Widget.WebTextView" parent="@style/Widget">
- <style name="Widget.GenericQuickContactBadge" parent="@style/Widget">
- <style name="Widget.QuickContactBadge.WindowSmall" parent="@style/Widget.QuickContactBadge">
- <style name="Widget.QuickContactBadge.WindowMedium" parent="@style/Widget.QuickContactBadge">
- <style name="Widget.TextSuggestionsPopupWindow" parent="@style/Widget">
- <style name="Widget.Holo.PopupWindow.ActionMode" parent="@style/Widget.Holo.PopupWindow">
- <style name="Widget.Holo.Light.PopupWindow.ActionMode" parent="@style/Widget.Holo.Light.PopupWindow">
- <style name="Widget.DeviceDefault.PopupWindow.ActionMode" parent="@style/Widget.Holo.PopupWindow.ActionMode">
- <style name="Theme.Dialog.NoFrame" parent="@style/Theme.Dialog">
- <style name="Theme.ExpandedMenu" parent="@style/Theme.Holo">
- <style name="Theme.Holo.Light.CompactMenu" parent="@style/Theme.Holo.Light">
- <style name="Theme.Toast" parent="@style/Theme.Dialog">
- <style name="Theme.Holo.Dialog.NoFrame" parent="@style/Theme.Holo.Dialog">
- <style name="Theme.DeviceDefault.Dialog.NoFrame" parent="@style/Theme.DeviceDefault.Dialog">
For sample:
4. Save styles.xml
5. edit file (semc_ab_solid_light_holo.9.png) this setings header transparency with photoshop or other program. (sample on attachment)
6. Recompile and sign Framework-res.apk
7. Copy Framework-res.apk to /system/framework zip installer (sample on attachment)
8. Install Zip in Recovery
Done
Thanks To; (if I forgot someone, please remember me)
- BDFreak
- Frogy Furnetral
- ZduneX25
- dickey
- All android users
Do With Your Own Risk
awesome kk.... nice guide....
ronii ahmad said:
awesome kk.... nice guide....
Click to expand...
Click to collapse
Useful tutorial. I want to ask why everytime I want to decompile or compile framework it's always error. Framework from stock rom.
can i use this for other devices, like Samsung, LG, etc ?
Awsome I'll try this on my xperia z
Sent from my C6603 using XDA Premium 4 mobile app
Whenever i enter the command in command prompt i get this error "java is not recognized as internal or external command,operable program or batch file"
How to fix this?
@kalel2012
Thanks a lot. Working fine on my L.
I'll wait for the Xposed module
Sent from my C6833 using Tapatalk
fails to compile
Xperia Z
4.3
10.4.1.B.0.101
Congratulations!!! Now on Xda portal
it is not possible to provide direct modual like xposed in this case???
Could you please be more clear on step 6. it seems a bit confusing. Thanks for tutorial
Edit: OK got the answer myself. need to push new build folder things to original Framework-res.apk
+1 Thanx.
it works on my MT6589 Cross a88
will wait another great tutorial from you suhu. _/|\_
zhalx said:
+1 Thanx.
it works on my MT6589 Cross a88
will wait another great tutorial from you suhu. _/|\_
Click to expand...
Click to collapse
How you forced translucent UI?
lukakas said:
How you forced translucent UI?
Click to expand...
Click to collapse
where translucent UI sir?
zhalx said:
where translucent UI sir?
Click to expand...
Click to collapse
I mean translucent statusbar.
No working Xperia Z 4.3 . I just get a Background Transperant when watching video
Please fix it
lukakas said:
I mean translucent statusbar.
Click to expand...
Click to collapse
oo, i follow this guide by Adi sir.
http://forum.xda-developers.com/showthread.php?t=2234355
nasheich said:
can i use this for other devices, like Samsung, LG, etc ?
Click to expand...
Click to collapse
not tested another devices
henry chip said:
No working Xperia Z 4.3 . I just get a Background Transperant when watching video
Please fix it
Click to expand...
Click to collapse
i think you need to edit semcvideo.apk

[Guide]How to Center Clock & IOS System Icons StatusBar

{
"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"
}
What do we need:
- apktool
- Notepad++
- the mind
Decompile MiuiSystemUI.apk
go to res/layout/status_bar_simple.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.SimpleStatusBar android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.phone.BatteryIndicator android:layout_gravity="top" android:id="@id/battery_indicator" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/battery_indicator" android:scaleType="fitXY" />
<RelativeLayout android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="3.0dip" android:paddingEnd="3.0dip">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
<LinearLayout android:gravity="start|center" android:id="@id/notification_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_toEndOf="@id/clock">
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/notification_more_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
</LinearLayout>
<com.android.systemui.statusbar.phone.StatusBarIcons android:gravity="end|center" android:id="@id/statusbar_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentEnd="true">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.NetworkSpeedView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:gravity="end|center" android:id="@id/network_speed_view" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_marginEnd="3.0dip" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center_vertical" android:id="@id/signal_cluster_container" android:layout_width="0.0dip" android:layout_height="fill_parent" android:baselineAligned="false" android:layout_weight="1.0">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" layout="@layout/signal_cluster_view" />
<include android:id="@id/signal_cluster2" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" layout="@layout/signal_cluster_view" />
</LinearLayout>
<ImageView android:id="@id/battery_charging_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.phone.BatteryStatusIconView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="center" android:id="@id/battery_num" android:paddingBottom="@dimen/statusbar_battery_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="1.0dip" android:layout_marginEnd="3.0dip" />
</com.android.systemui.statusbar.phone.StatusBarIcons>
</RelativeLayout>
</com.android.systemui.statusbar.phone.SimpleStatusBar>
change to :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.SimpleStatusBar android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.phone.BatteryIndicator android:layout_gravity="top" android:id="@id/battery_indicator" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/battery_indicator" android:scaleType="fitXY" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="left" android:paddingRight="3.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<LinearLayout android:gravity="center_vertical" android:id="@id/signal_cluster_container" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<include android:id="@id/signal_cluster2" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<com.android.systemui.statusbar.NetworkSpeedView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:gravity="center|left" android:id="@id/network_speed_view" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="3.0dip" android:layout_marginRight="3.0dip" android:singleLine="true" />
<LinearLayout android:gravity="center|right" android:id="@id/notification_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/notification_more_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
</LinearLayout>
<LinearLayout android:gravity="right" android:layout_gravity="right" android:paddingLeft="3.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.StatusBarIcons android:gravity="end|center" android:id="@id/statusbar_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentEnd="true">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:id="@id/battery_charging_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="center" android:id="@id/battery_num" android:paddingBottom="@dimen/statusbar_battery_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="1.0dip" android:layout_marginEnd="3.0dip" />
<com.android.systemui.statusbar.phone.BatteryStatusIconView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.phone.StatusBarIcons>
</LinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.phone.SimpleStatusBar>
recompile MiuiSystemUi
Done
thanks man but just question the notification icon is on left or right?
left
Wew, Noice!
Lemme add this to index
how to positioning wifi icon on the right signal icon?
like this screenshot
Hi, i'm also interested in this question
how to positioning wifi icon on the right signal icon?
Click to expand...
Click to collapse
, i suppose some lines of code must change places but can you tell which? And how to hide wifi speed in this code?
What if I want only centered clock and everything else normal (wifi on right side). Can you please highlight the exact section that has to do with the clock. Is it even possible to only center the clock?
Hello @S3V3N its possible to get a flashable zip for center clock? I can't live without centre clock lol.
sachin n said:
Hello @S3V3N its possible to get a flashable zip for center clock? I can't live without centre clock lol.
Click to expand...
Click to collapse
+1 would be very nice
Msimatch
There is a app on playstore for that.
https://play.google.com/store/apps/details?id=com.zapperbyte.miuistatusbarpro
i need root?
Yes
Wysłane z mojego LG-H870 przy użyciu Tapatalka
Bro is there any flashable zip file for this
I am Unable To do thaT
Is there any Flashable zip file
sachin n said:
Hello @S3V3N its possible to get a flashable zip for center clock? I can't live without centre clock lol.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.zapperbyte.miuistatusbarpro enjoy
Wysłane z mojego LG-H870 przy użyciu Tapatalka
My Device is Redmi 2 prime . Support or not?

Categories

Resources