[GUIDE][MOD] Lockscreen style Note 4 for Note 3 (new Update post#2) - Galaxy Note 3 Themes and Apps

VN-TEAM present Guide mod Locksceen style Note 4 for Note 3 !
First, This guide only help you to mod lockscreen Note 3 ( Time, clock, alarm, charging like Note4) , Not help you to enable Note4 lockscreen unlock effect or anymore .
Just tested on S5 ported rom Tweaked stock S5 port and My S5 port rom ( not avaiable on XDA) , Galaxy S4 ( 4.4.2) .
However this guide can apply for Note 2, S4, N3 neo... etc running Kitkat 4.4.2 .
{
"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"
}
*Note :
- You must have and basic knowledge about Decompiling and compiling apks .
- Text editor using Notepad ++
- Copy Keyguard.apk from your rom to PC for modding .
1. Move clock from Right to center .
Decompile Keyguard.apk, navigate to > Keyguard.apk/res/layout/Sec_single_clock.xml
Open Sec_single_clock.xml with Notepad++ :
See codes below ( Marked in red zone.)
Change to the whole line with this code:​
Code:
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/keyguard_single_clock" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/kg_singleclock_margin_left" android:layout_marginTop="@dimen/kg_singleclock_margin_top" android:layout_marginRight="@dimen/kg_singleclock_margin_right"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="bottom" android:layout_gravity="center_horizontal" android:orientation="horizontal" android:id="@id/keyguard_single_clock_total" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" android:layout_height="@dimen/kg_singleclock_height">
<com.android.keyguard.sec.SecKeyguardTextClock android:textSize="16.0dip" android:textColor="#ffffffff" android:id="@id/keyguard_single_clock_ampm_kor" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="5.0dip" android:shadowColor="#cc000000" android:textAllCaps="true" android:format12Hour="@string/status_view_ampm_for_12_hours" android:format24Hour="@string/status_view_ampm_for_24_hours" style="@style/keyguard_text_shadow" />
<com.android.keyguard.sec.SecKeyguardTextClock android:textSize="@dimen/kg_singleclock_time_text_size_normal" android:textColor="#ffffffff" android:gravity="bottom" android:id="@id/keyguard_single_clock_time" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:shadowColor="#cc000000" android:format12Hour="@string/status_view_12_hours_format" android:format24Hour="@string/status_view_24_hours_format" style="@style/keyguard_text_shadow" />
<com.android.keyguard.sec.SecKeyguardTextClock android:textSize="16.0dip" android:textColor="#ffffffff" android:id="@id/keyguard_single_clock_ampm" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:shadowColor="#cc000000" android:textAllCaps="true" android:format12Hour="@string/status_view_ampm_for_12_hours" android:format24Hour="@string/status_view_ampm_for_24_hours" style="@style/keyguard_text_shadow" />
</LinearLayout>
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/kg_widget_common_date_text_size" android:textColor="#ffffffff" android:id="@id/keyguard_single_clock_date" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:shadowColor="#cc000000" android:fontFamily="sans-serif" style="@style/keyguard_text_shadow" />
<View android:visibility="gone" android:layout_width="20.0dip" android:layout_height="0.0dip" />
2. Move Weather and Shealth to center .
Navigate to Keyguard.apk/res/layout/sec_adaptive_event_container_small.xml
See code below ( Marked in red zone)
Change to the whole line with this code:​
Code:
<com.android.keyguard.sec.AdaptiveEventContainerSmall android:gravity="center" android:orientation="horizontal" android:id="@id/adaptive_event_container_small" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layoutDirection="ltr" android:layout_marginStart="19.0dip" android:layout_marginEnd="19.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/emergency_container" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<LinearLayout android:layout_gravity="center_horizontal" android:id="@id/adaptive_info_area" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/weather_container" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/ped_container" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
3. Move charging battery to center .
Navigate to Keyguard.apk/res/layout/keyguard_message_area.xml
See code below (Marked in red zone)
Change to the whole line with this code:​
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:paddingLeft="20.0dip" android:paddingRight="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.keyguard.KeyguardMessageArea android:textAppearance="?android:textAppearance" android:textSize="@dimen/kg_status_line_font_size" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center" android:id="@id/keyguard_message_area" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#7f000000" android:fontFamily="sans-serif" style="@style/keyguard_text_shadow"
xmlns:android="http://schemas.android.com/apk/res/android" />
</LinearLayout>
4. Move alarm icon to Center .
Navigate to Keyguard.apk/res/layout/sec_alarm.xml
See code below (Marked in red zone):
Change to the whole line with this code:​
Code:
<LinearLayout android:visibility="gone" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content"
5. Download Note4 lockscreen wallpaper from Here
Copy it to : Keyguard.apk/res/drawable-xxhdpi/
6. All done and now Recompile apk .
Copy again Keyguard.apk to System/priv-app by Root explorer ( or etc)​
Special thanks to
:
VN-team
@thanhfhuongf
@tpv1988
Forum Samsungviet.vn
Click to expand...
Click to collapse

Update 16 Oct 2014 :
7. Move Owner Infomation from right to center .
Navigate to Keyguard.apk/res/layout/sec_owner_info .
Find this line :​
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
Change the whole line with this code :​
Code:
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
Save and done !

2nd......

Mission impossible! Vũ brother!

Good job

Good job
Gửi từ SM-N910S của tôi

Awesome latest firmware NI1 from S5 have 11 lockscreen effect !

ksr007 said:
Awesome latest firmware NI1 from S5 have 11 lockscreen effect !
Click to expand...
Click to collapse
Can u share this setting please
Sent from my SM-N910C

thereassaad said:
Can u share this setting please
Sent from my SM-N910C
Click to expand...
Click to collapse
Can not, mate ! It's from S5 korea N900S with lastest firware NI1, I think it will not work on older rom .

ksr007 said:
Can not, mate ! It's from S5 korea N900S with lastest firware NI1, I think it will not work on older rom .
Click to expand...
Click to collapse
Okay but we can mod it bro [emoji6]
I like that lockscreen effect ..
Sent from my SM-N910C

thereassaad said:
Okay but we can mod it bro [emoji6]
I like that lockscreen effect ..
Sent from my SM-N910C
Click to expand...
Click to collapse
ok ! I will upload for you, soon !

ksr007 said:
ok ! I will upload for you, soon !
Click to expand...
Click to collapse
Thanks mate
Sent from my SM-N910C

ksr007 said:
ok ! I will upload for you, soon !
Click to expand...
Click to collapse
please for all S5 ported rom user bro i like all that effect :angel:

I woud like if someone makes an xposed mod for this.
Sent from Galaxy Note 3 SM-N9005

ksr007 said:
Can not, mate ! It's from S5 korea N900S with lastest firware NI1, I think it will not work on older rom .
Click to expand...
Click to collapse
It's possible to get this wonderful mod on SM-N900 dr ketan rom with s5 launcher ...and it's possible to make a flashable zip file please thanks for your hardwork ...

ksr007 said:
Awesome latest firmware NI1 from S5 have 11 lockscreen effect !
Click to expand...
Click to collapse
Sick notification bar... can you share source please?
Thanks!

Someone make the modification for me of my file ? …*:/
I've not a Windows, I'm on Mac
Thanks

New update in post#2

Good job bro, keep it up [emoji7] [emoji7]
Gửi từ SM-N910X của tôi

Someone could upload the file modified?

Related

Q. Change color and center clock on lockscreen

Anyone knows how to color or to center the lockscreen clock on ics? Thanks in advance..
Sent from my Nexus S®
Anyone?
Sent from my Nexus S®
...the only one know the answer is codename android (I've searched on his github but nothing ), or evilisto.
Here there are plenty of "recognized themers" or "recognizer contributors" who do not know anything.
The few who know the answer, prefer to sell their issues on play market, instead of sharing the experience as it is in the free spirit of Android, like Microsoft or Apple.
I ask anyone and everyone knows only answer is "looks color.xml" blah blah blah (...obviously not the right answer!!) and I think is a smali or jar file need to edit for change color clock (and center it) on lockscreen mode.
Inviato dal mio Nexus S con Tapatalk 2
maped said:
...the only one know the answer is codename android (I've searched on his github but nothing ), or evilisto.
Here there are plenty of "recognized themers" or "recognizer contributors" who do not know anything.
The few who know the answer, prefer to sell their issues on play market, instead of sharing the experience as it is in the free spirit of Android, like Microsoft or Apple.
I ask anyone and everyone knows only answer is "looks color.xml" blah blah blah (...obviously not the right answer!!) and I think is a smali or jar file need to edit for change color clock (and center it) on lockscreen mode.
Inviato dal mio Nexus S con Tapatalk 2
Click to expand...
Click to collapse
Yeah i ask someone too but he didnt reply to my pm... i still hoping though.
Sent from my Nexus S®
Here a guide (??) for center clock on lockscreen mode...I've abnormal lockscreen after change xml value mentioned , if someone want to try
http://forum.xda-developers.com/showthread.php?p=27816923
Inviato dal mio Nexus S con Tapatalk 2
I got it to work bro
Thanks
What i did is
1. Decompile framework
2. Edit xmls
3. Recompile
*is this a system app? > Y
*aside from bla bla etc? > N
4. In the unsignedframework-res.apk i copy the resouces.arsc file
5. Place the resouces.arc to the original framework then bam! It works like a charm
Before:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After:
Sent from my Nexus S®
@mixtapes08
Can you pls tell me what xml you mean? Iam searching for a long time now for the right ones. I want to center the Text and Clock and also the wanna change the Color.
maped said:
Here a guide (??) for center clock on lockscreen mode...I've abnormal lockscreen after change xml value mentioned , if someone want to try
http://forum.xda-developers.com/showthread.php?p=27012908
Inviato dal mio Nexus S con Tapatalk 2
Click to expand...
Click to collapse
Inviato dal mio Nexus S con Tapatalk 2
I found out by my self!
Left is Center Clock and Text. Right is Original.
http://localhostr.com/files/IOkAg3b/06-07-2012_114518.jpg
It is in "\framework-res\res\layout\keyguard_screen_unlock_portrait.xml"
Basian Mile said:
I found out by my self!
Left is Center Clock and Text. Right is Original.
http://localhostr.com/files/IOkAg3b/06-07-2012_114518.jpg
It is in "\framework-res\res\layout\keyguard_screen_unlock_portrait.xml"
Click to expand...
Click to collapse
??? And works???
We have change @res/values/dimens.xml the value on lines
name="keyguard_lockscreen_status_line_font_right_margin">56dip
There's a link in my previous post
Inviato dal mio Nexus S con Tapatalk 2
nope. i testet it and it was not the working one. But i tryed "name="keyguard_lockscreen_status_line_font_right_m argin">56dip" too before and got no luck.
Iam on JellyBean btw.
It's very strange bro , because this methods works fine for me...you have change xml value and following the mixtapes08 steps???
mixtapes08 said:
I got it to work bro
Thanks
What i did is
1. Decompile framework
2. Edit xmls
3. Recompile
*is this a system app? > Y
*aside from bla bla etc? > N
4. In the unsignedframework-res.apk i copy the resouces.arsc file
5. Place the resouces.arc to the original framework then bam! It works like a charm
Before:
After:
Sent from my Nexus S®
Click to expand...
Click to collapse
Inviato dal mio Nexus S con Tapatalk 2
Got it now
Its here "\framework-res\res\layout\keyguard_screen_tab_unlock.xml"
Left is Center Clock and Text. Right is Original.
http://localhostr.com/files/0WwQvpM/06-07-2012_133016.jpg
Not sure if the other file need to be changed too cause i let the file that i made before.
Thanks bro...but your method don't work in my case ...was interesting because you have centered the date
With the last step it was working here.
I check your png and I made the same change:
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.internal.widget.DigitalClock android:layout_gravity="center_horizontal" android:id="@id/time" android:layout_marginTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin_bigclock" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin_center" android:layout_marginBottom="12.0dip">
<TextView android:textAppearance="?textAppearanceLarge" android:textSize="@dimen/keyguard_lockscreen_clock_font_size_bigclock" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
<LinearLayout android:layout_gravity="center_horizontal" android:orientation="horizontal" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin_center">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="20.0sp" android:ellipsize="marquee" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="20.0sp" android:ellipsize="marquee" android:id="@id/alarm_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size_bigclock" android:ellipsize="marquee" android:layout_gravity="center_horizontal" android:id="@id/status1" android:layout_marginRight="@dimen/keyguard_lockscreen_status_line_font_right_margin_center" android:singleLine="true" android:drawablePadding="4.0dip" />
<Space android:layout_gravity="fill" />
<Button android:layout_gravity="center_horizontal" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="4.0dip" style="?android:attr/buttonBarButtonStyle" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="302.0dip">
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" android:waveDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="60.0dip" android:horizontalOffset="0.0dip" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size_bigclock" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:singleLine="true" android:layout_alignParentBottom="true" />
</RelativeLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:weightSum="2.0" style="?android:attr/buttonBarStyle">
<Button android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:layout_gravity="center_horizontal" android:id="@id/emergencyCallButton" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="wrap_content" android:text="@string/lockscreen_emergency_call" android:drawableLeft="@drawable/lockscreen_emergency_button" android:drawablePadding="0.0dip" android:layout_weight="1.0" style="?android:attr/buttonBarButtonStyle" />
</LinearLayout>
<include android:layout_gravity="fill" android:id="@id/transport" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_column="0" android:layout_row="0" android:layout_rowSpan="4" android:layout_columnSpan="1" layout="@layout/keyguard_transport_control" />
</GridLayout>
but not recompile the framework-res.apk with this change

[SOURCE][STATUSBAR]Statusbar Greper 2[UPDATE-13JAN2013]

WHAT IS THIS??
this mod could change your statusbar look with ease...
-enable to change the position of clock-notification icon-battery n data icon-also carrier image
-enable change ur statusbar background (its need a compiled 9.png in other word u have to create 9.png with draw9patch and compile it using apktool or eclipse or u can just find some apk that consist of 9.png and simply extract it pick the 9.png n use it. but this is not a must. use ordinary png file also welcome.. it'll strech in lanscape mode).
-enable to change carrier image
UPDATE 2
rewriting code from scratch and push into github,,,
https://github.com/jmkl/StatusBarGreper2
UPDATE 1.8.1
download here : statusbargreper 1.8.1
ChangeLog :
-fix some feature not show in ICS
UPDATE 1.8
ChangeLog :
-customizable icon data - datainout - battery (without reboot.. easy as fcuk)
- 3 mode of battery (Text mode - Battery Line mode - Icon Mode)
- Adding Traffic State (like miui v4)
-Overlaping signal data & data inout icon (like miui v4 i guess)
-center and right side clock with ability to show and hide days and am/pm (Customizable font and text color)
HOW TO APPLY THIS VERSION
NOTE : Ur ROM must be signed by dsixda or else signer.. because we need to add another permission into SystemUI (i dunno why i do this
because i write this code as 3rd party apps using android SDK)
1. decompile ur SystemUI.apk
2. decompile my dcsmsSystemUI.apk
3. go to dcsmsSystemUI/smali/ copy those in folder into ur SystemUI/smali
4. open ur SystemUI/res/layout/status_bar.xml
modify the code just like the code below
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">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<in.jmkl.dcsms.statusbargreper.DcsmsLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
<in.jmkl.dcsms.statusbargreper.CarrierImage android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" />
</LinearLayout>
<com.android.systemui.statusbar.IconMerger android:gravity="right|center" android:id="@id/notificationIcons" android:layout_width="50.0dip" android:layout_height="fill_parent" />
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
<in.jmkl.dcsms.statusbargreper.DataTrafik android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<in.jmkl.dcsms.statusbargreper.Icon android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<in.jmkl.dcsms.statusbargreper.JamSamping android:layout_gravity="center_vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent">
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
</LinearLayout>
</in.jmkl.dcsms.statusbargreper.DcsmsLayout>
<in.jmkl.dcsms.statusbargreper.Jam android:textSize="18.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
</RelativeLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="#ffdddddd" 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:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:textColor="#ffffffff" 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="#0033b5e5" android:gravity="left|center" android:id="@id/date" android:background="@drawable/dcsms_tits_bg" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
<in.jmkl.dcsms.statusbargreper.BatteryBar android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.StatusBarView>
5. open ur SystemUI/AndroidManifest.xml and add this line below
<uses-permission android:name="android.permission.MANAGE_USB" />
Code:
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
6. build ur SystemUI
7. drag n drop the folder assets in dcsmsSystemUI into ur SystemUI
8. sign ur SystemUI
9. install/push statusbargreper 1.8
10. push ur SysteUI n Enjoy
OLD
HOW TO APPLY THIS MOD??
just simply decompile my SystemUI.apk
go to smali folder and copy the "in" folder into ur smali
then go to your /res/layout/ open statusbar.xml.and modify some line. so its look like below
here is the quick explanation about the code :
this mod is bind my customlayout >> in.jmkl.dcsms.statusbargreper.DcsmsLayout
the 1st child of this layout is the linearlayout that contain of carrier image
the 2nd child of this layout is notificationicon
the 3rd child of this layout is contain signal icon n battery icon(since i use USSR that contain EDT tweak...so i put it there)
only 3 child allow on this customlayout...
those layout is the default one.. and here is the magic happen ..install StatusBar Greper.apk press menu or u can press the action button.
and play around with it....once u press it, it will affect the statusbar immediatly..easy as f***
please report bugs or something.
enjoy
Some Screeniez :
{
"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"
}
Click to expand...
Click to collapse
NB... u need quickpic to run this apps
download here
AND THEN...
IF U LIKE MY JOB...U KNOW WHAT TO DO
thanks to :
Code:
ALLAH SWT
all fellow donators
androidminang.com
ilmnss family
and u
Wow!! Nice one sir!!
Unfortunately, I have recompiling problem on my Ubuntu. Sooo saad...
wow. nice share! Reserved for now ..
This is a very good post like usual... thanks for this sir... you're awesome sir...
ALL I GOT IS INSANE ! !
Great job as always sir jmkl
Sent from my GT-I9100 using Tapatalk 2
WOW! you should be RT or something..
can this be used on galaxy fit too??
thanks all.... anybody try this hahahaha??
kill3d said:
thanks all.... anybody try this hahahaha??
Click to expand...
Click to collapse
I will om jmkl
Will implemented it
Sent from my GT-S5360 using xda app-developers app
someone modd this for C.O.D ROM
here is the systemui.apk
om jim , aku coba porting ini ke stockrom ko' malah fc ya systemui nya ??
awhhe said:
om jim , aku coba porting ini ke stockrom ko' malah fc ya systemui nya ??
Click to expand...
Click to collapse
Logcat please
Sent from my GT-S5360 using Tapatalk 2
dmna om smali foldernya?
Awesome mod again, kill3d you rock!
evanlocked said:
I will om jmkl
Will implemented it
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Nice
tio12 said:
dmna om smali foldernya?
Click to expand...
Click to collapse
Decompile systemui.apk d post 1
Go to smali fldr
--/com
--/in <<< copy this foldr into ur systemui smali fldr
Sent from my GT-S5360 using Tapatalk 2
kill3d said:
Logcat please
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
ntar om aku kirim di fb .
Sent from my GT-S5360
should i add these lines below or what line should be change?
<in.jmkl.dcsms.statusbargreper.DcsmsLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
<in.jmkl.dcsms.statusbargreper.CarrierImage android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" /></LinearLayout>
<com.android.systemui.statusbar.IconMerger android:gravity="center" androidrientation="horizontal" android:id="@id/notificationIcons" android:layout_width="25dip" android:layout_height="fill_parent" />
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
<LinearLayout androidrientation="horizontal" android:id="@id/icons" android:layout_width="wrap_content" android:layout_height="fill_parent" >
<LinearLayout android:gravity="right" androidrientation="horizontal" android:id="@id/statusIcons" androidaddingRight="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" androidrientation="horizontal" androidaddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:textStyle="bold" android:gravity="center_vertical" androidrientation="horizontal" androidaddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
</LinearLayout>
</in.jmkl.dcsms.statusbargreper.DcsmsLayout>
nice.
great work...
om jmkl , biar icon merger nya gak melipir di stock rom .
ini nya diganti berapa yah ??
<com.android.systemui.statusbar.IconMerger android:gravity="center" androidrientation="horizontal" android:id="@id/notificationIcons" android:layout_width="25dip" android:layout_height="fill_parent" />
android:layout_width="25dip"
devion14 said:
should i add these lines below or what line should be change?
<in.jmkl.dcsms.statusbargreper.DcsmsLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
<in.jmkl.dcsms.statusbargreper.CarrierImage android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" /></LinearLayout>
<com.android.systemui.statusbar.IconMerger android:gravity="center" androidrientation="horizontal" android:id="@id/notificationIcons" android:layout_width="25dip" android:layout_height="fill_parent" />
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
<LinearLayout androidrientation="horizontal" android:id="@id/icons" android:layout_width="wrap_content" android:layout_height="fill_parent" >
<LinearLayout android:gravity="right" androidrientation="horizontal" android:id="@id/statusIcons" androidaddingRight="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" androidrientation="horizontal" androidaddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:textStyle="bold" android:gravity="center_vertical" androidrientation="horizontal" androidaddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
</LinearLayout>
</in.jmkl.dcsms.statusbargreper.DcsmsLayout>
Click to expand...
Click to collapse
please see my statusbar.xml for references....
awhhe said:
om jmkl , biar icon merger nya gak melipir di stock rom .
ini nya diganti berapa yah ??
<com.android.systemui.statusbar.IconMerger android:gravity="center" androidrientation="horizontal" android:id="@id/notificationIcons" android:layout_width="25dip" android:layout_height="fill_parent" />
android:layout_width="25dip"
Click to expand...
Click to collapse
Whatever u need
Sent from my GT-S5360 using Tapatalk 2
sir kill3d can you do it for my stock deodexed rom??
im having compile issues on my netbook cause my pc is down due to bad ram card...please
system ui

[GUIDE][JB] Center Clock + Small AM/PM

{
"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"
}
HOW TO Center Clock :
1. Decompile SytemUI.apk
2. Go to :
Systemui/res/layout/tw_status_bar.xml
3. Replace all code with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/left_icons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="15.0dip" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/doNotDisturbIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_dnd" android:alpha="0.7" android:scaleX="0.85" android:scaleY="0.85" />
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff278ab1" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/right_icons" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/tw_signal_cluster_view" />
<TextView android:textSize="9.0dip" android:textColor="#ff278ab1" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" />
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="centerInside" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_old" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:id="@id/ticker_text_view_new" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
4. Save all and recompile SystemUI.apk
5. Done
HOW TO Small AM/PM :
1. Decompail SystemUI.apk
2. Go to :
Systemui/res/layout/tw_status_bar.xml
4. Find this code :
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff33b5e5" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
5. Add : systemui:ampmSmall="true" to the end just before /> so it looks like :
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff33b5e5" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" [COLOR=Red]systemui:ampmSmall="true"[/COLOR] />
6. Save all and recompail SystemUI.apk
7. Done
Change Color :
- Green --> ff99FF00
- Blue ----> ff278ab1
- White --> ffa6a6a6
Change color in this line :
Code:
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="[B]#[COLOR=Blue]ff278ab1[/COLOR][/B]" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" systemui:ampmSmall="true" />
# IF YOU WANT YOU CAN DOWNLOAD SystemUI.apk IN HERE #
Code:
Credit to :
gharrington [URL="http://forum.xda-developers.com/showthread.php?t=2203166"][Center Clock Guide][/URL]
joehanh88 [URL="http://forum.xda-developers.com/showthread.php?t=2075885"][Small Am/Pm][/URL]
Is this entirely your guide? If not put credits. Also, why don't you just put everything in one place? You create separate threads for each on even if its just the same file modified. That waybits easy to manage the info. Rather than browsing different threads to look for the guide.
Sent from my GT-I8160 using xda app-developers app
Dr01nE said:
Is this entirely your guide? If not put credits. Also, why don't you just put everything in one place? You create separate threads for each on even if its just the same file modified. That waybits easy to manage the info. Rather than browsing different threads to look for the guide.
Sent from my GT-I8160 using xda app-developers app
Click to expand...
Click to collapse
Ok I'll editing with credit :good:
I not put thread one place cz for user don't like small am/pm can use center clock only and in reverse..
I have tested and tried in SGA2 also...
Ok...I decompiled the systemui->edited the xml and now I am left with the systemui folder..but I dun know how to recompile it xD..do I go with smth like.. apktool b SystemUI or smth?
Well I just did that, used apktool b SystemUI, when pressed enter I had this screen, normally the .apk should be somewhere in a dist folder, but yeah..
mojito0 said:
Ok...I decompiled the systemui->edited the xml and now I am left with the systemui folder..but I dun know how to recompile it xD..do I go with smth like.. apktool b SystemUI or smth?
Well I just did that, used apktool b SystemUI, when pressed enter I had this screen, normally the .apk should be somewhere in a dist folder, but yeah..
Click to expand...
Click to collapse
ok...
try this when recompile...
download & extract apktool_build.tar.bz2
so, you must replace apktool.jar in the folder apktool with apktool.jar in apktool_build.tar.bz2 before recompile...
if not work please check again your editing .xml
Artha_CR said:
ok...
try this when recompile...
download & extract apktool_build.tar.bz2
so, you must replace apktool.jar in the folder apktool with apktool.jar in apktool_build.tar.bz2 before recompile...
if not work please check again your editing .xml
Click to expand...
Click to collapse
ok I fixed it, I used an alternative way to edit the status bar clock which edits the res/layout/status_bar.xml file and I have successfully recompiled it, now let's see if it's workin..ookay..bootloop, I needa flash another systemui.
mojito0 said:
ok I fixed it, I used an alternative way to edit the status bar clock which edits the res/layout/status_bar.xml file and I have successfully recompiled it, now let's see if it's workin..ookay..bootloop, I needa flash another systemui.
Click to expand...
Click to collapse
you haven't backup rom before?
try guide step by step decompile & recompile in here
Nice! Thanks
Artha_CR said:
you haven't backup rom before?
try guide step by step decompile & recompile in here
Click to expand...
Click to collapse
Nah I had no problem fixing the bootloop, I just re-flashed the nexus theme which replaces the systemui.apk , my question is why it won't re-compile..I will just try 1 more time.
mojito0 said:
Nah I had no problem fixing the bootloop, I just re-flashed the nexus theme which replaces the systemui.apk , my question is why it won't re-compile..I will just try 1 more time.
Click to expand...
Click to collapse
as described in the guide above that :
Maybe "Because the 'string encoding' is not correct in the 'plurals.xml' with apktool 1.4.3, and if you tried to rebuild, you get some error..."
There is little "bug" in systemui you posted , it is really cool and i use it but sometimes battery icon is cutted for about 1/4, it doesnt matter to me but just to report if you can fix it
Rooobertinhooo said:
There is little "bug" in systemui you posted , it is really cool and i use it but sometimes battery icon is cutted for about 1/4, it doesnt matter to me but just to report if you can fix it
Click to expand...
Click to collapse
ok thanks

GUIDE - [Tab SystemUI]

Good day devs, I have something new here not new but I think it is. It works in higher API than GB that I was running, So I willpost it here.
If there is a problem with this post, kindly PM me sir.
What we will be doing is somehow like this, the picture at the left is my modified UI, and the right picture will be our outcome.
{
"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"
}
As I was inspired by Sir [email protected]'s SystemUI, I want to make it tab also, as I cant decompile his UI and study the code, I thought about Sir b16h22 for his Multipanelflipper, but it was text so I made it on my own class and follow some trick from evox-4 x SystemUI by the use of custom views and sorta intents like what he did. Let we mod again.
Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt. Thanks.
What we will be needed:
Patience
APK-Tool
Algorithm
Basic smali and xml
Your very own SystemUI
Know how to decompile APK
Instruction:
1. Download the zip file from the download link.
2. Decompile your very own SystemUI.
3. Extract the download link and paste it in your UI.
4. At the ids, add these before </resources> at ids.xml under values folder
Code:
<item type="id" name="tabbutton">false</item>
5. Now we will modify your expanded,
Below this code,
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
Add this,
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="fill_parent" android:layout_height="40.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
<com.pineapple.TabUI.TabsContent android:id="@id/tabbutton" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
6. And before this line
Code:
</com.android.systemui.statusbar.ExpandedView>
Add this,
Code:
</com.pineapple.TabUI.TabsContent>
7. Now this is the tricky part, as I am not familiar with the particular name of this (LinearLayout, RelativeLayout FrameLayout) ehh, you understand me what I am saying right sir?
Make the Expanded something like this,
Code:
<com.pineapple.TabUI.TabButton........../>
<com.pineapple.TabUI.TabButton...........>
<LinearLayout>First Layout</LinearLayout>
<LinearLayout>Second Layout</LinearLayout>
<LinearLayout>Third Layout</LinearLayout>
</com.pineapple.TabUI.TabsContent>
If you cant follow sirs, kindly compare it with my stock.
Code:
<com.pineapple.TabUI.TabButton android:layout_gravity="top" android:orientation="horizontal" android:background="#00000000" android:paddingTop="5.0dip" android:layout_width="140.0dip" android:layout_height="42.0dip" android:weightSum="3.0" android:layout_alignParentLeft="false" android:layout_alignParentRight="true" />
<com.pineapple.TabUI.TabsContent android:id="@id/flipper" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<Button android:textSize="13.0sp" android:layout_gravity="center" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="Clear" android:layout_alignTop="@id/dateview" android:layout_alignParentRight="true" style="?android:attr/buttonStyleSmall" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</LinearLayout>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> [B]<!-- SecondLayout -->[/B]
</ScrollView>
<ScrollView android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<include layout="@layout/expanded_content3" /> [B]<!-- ThirdLayout -->[/B]
</ScrollView>
</com.pineapple.TabUI.TabsContent>
8. Save it, and recompile.
9. Decompile the APK again (We only did these because we register the added resources)
10. Go to public.xml and find these (the ids are bit different than yours,)
Code:
<public type="drawable" name="tab1" id="0x7f02009c" />
<public type="drawable" name="tab2" id="0x7f02009d" />
<public type="drawable" name="tab3" id="0x7f02009e" />
<public type="id" name="tabbutton" id="0x7f090029" />
11. Now here comes the smali part, Now go to smali/com/pineapple/TabUI/*
Find this smali file, TabsContent.smali
at the TabsContent.smali, find this
0x7f050001 and change it to the public id of your "<public type="id" name="tabbutton" id="0x7f090029" />" So in mine I will change 0x7f050001 to 0x7f090029
12. Open the smali file, TabButtons.smali and find this ids.
0x7f020001 and change it according to the ids of tab1, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020001 to 0x7f02009c
0x7f020002 and change it according to the ids of tab2, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020002 to 0x7f02009d
0x7f020003 and change it according to the ids of tab3, in my UI, the registered id of tab1 is 0x7f02009d so therefore, I will change 0x7f020003 to 0x7f02009e
13. Save everything and compile your SystemUI and push or flash it, I recommend flashing.
Download Link:
PINEAPPLEOWL
Note/Ads: Lenox V2.1 have this kind of UI.
Credits:
b16h22 for some comparison with his very own MultiPanelSwitcher
serajr for inspire for his awesome UI
LenoxDevs for there support
android.developers.com
Moderator, sorry. can you delete this post. because it has been duplicated. It dindt reload that time, something wrong with my coonection. Thanks a lot sir.
can you post a screenshot of what we get?
didn´t see the screenshots on top of page. :silly:
Maximus1a said:
can you post a screenshot of what we get?
didn´t see the screenshots on top of page. :silly:
Click to expand...
Click to collapse
https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn1/941806_601159553278742_1777791751_n.jpg
Very good job, thanks!
How can i do to use only two buttons? I tried to edit the smali files but when i click on any of the buttons i get force close (i don't understand much of smali). Could you explain me how to do?
Thanks again for your work
PineappleOwl said:
https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn1/941806_601159553278742_1777791751_n.jpg
Click to expand...
Click to collapse
content not found Attach a ss in attachment
dev.shinchan said:
content not found Attach a ss in attachment
Click to expand...
Click to collapse
Did you happen to notice that was posted 14th November 2013 ???? Perhaps that's why content not found......
dicksteele said:
Did you happen to notice that was posted 14th November 2013 ???? Perhaps that's why content not found......
Click to expand...
Click to collapse
Will you please update post for kk coz I am unable to find any suitable guide
dicksteele said:
Did you happen to notice that was posted 14th November 2013 ???? Perhaps that's why content not found......
Click to expand...
Click to collapse
:good:
https://forum.xda-developers.com/showthread.php?t=2799050
Here's a great link.
There may be something in there or something to give you an idea of how to do what you want.

[MOD] 4.4.2 TW Hidden power button

Hidden power button under the status bar clock.
No visual changes looks like the stock status bar:
{
"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"
}
Attention!
After this changes an Xposed modul can't move, or hide the clock.
Functions:
- Short press on the clock turns off the screen
- Long press, or swipe from the clock top to the bottom opens the power menu.
Needed tools:
Apktool
Notepad++
1. Decompile SystemUI.apk
2. Navigate to \res\layout folder
3. Open status_bar.xml
Add BLUE lines.
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/status_bar_battery_text_size" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" android:layout_marginStart="@dimen/status_bar_battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="12.0dip" android:layout_height="18.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
</LinearLayout>
[COLOR="Blue"][B]<FrameLayout android:gravity="center" android:orientation="horizontal" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_centerInParent="true">[/B]
[/COLOR]<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:ellipsize="none" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" android:paddingStart="6.0dip" systemui:ampmSmall="false" />
[COLOR="Blue"][B]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@null" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" />
</FrameLayout>[/B][/COLOR]
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
4. Save your changes
5. Build SystemUI.apk
6. Push to your Phone, set permissions, reboot
I did it already for the N9005XXUENC2 firmware: Download
tkari4 said:
Hidden power button under the status bar clock.
No visual changes looks like the stock status bar:
Attention!
After this changes an Xposed modul can't move, or hide the clock.
Functions:
- Short press on the clock turns off the screen
- Long press, or swipe from the clock top to the bottom opens the power menu.
Needed tools:
Apktool
Notepad++
1. Decompile SystemUI.apk
2. Navigate to \res\layout folder
3. Open status_bar.xml
Add BLUE lines.
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/status_bar_battery_text_size" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" android:layout_marginStart="@dimen/status_bar_battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="12.0dip" android:layout_height="18.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
</LinearLayout>
[COLOR="Blue"][B]<FrameLayout android:gravity="center" android:orientation="horizontal" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_centerInParent="true">[/B]
[/COLOR]<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:ellipsize="none" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" android:paddingStart="6.0dip" systemui:ampmSmall="false" />
[COLOR="Blue"][B]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@null" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" />
</FrameLayout>[/B][/COLOR]
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
4. Save your changes
5. Build SystemUI.apk
6. Push to your Phone, set permissions, reboot
I did it already for the N9005XXUENC2 firmware: Download
Click to expand...
Click to collapse
Do you have flashable zip?
nice
AldrichDSaints said:
Do you have flashable zip?
Click to expand...
Click to collapse
Flashable zip attached here: http://forum.xda-developers.com/showpost.php?p=51305774&postcount=157
Copy SystemUI.apk in system / priv-app folder, than you can flash it.
Don't forget backup your current SystemUI.apk.
@tkari4 Thanks for sharing your guids. I think Note 3 community is missing a development thread like the one in Note (by majdini). so as you have reasonable knowledge about smali things, that would be nice if you could open such thread so that everyone can add his mod/guide/tip to it and all can be found in the same thread.
Sent from my SM-N9005
tkari4 said:
Flashable zip attached here: http://forum.xda-developers.com/showpost.php?p=51305774&postcount=157
Copy SystemUI.apk in system / priv-app folder, than you can flash it.
Don't forget backup your current SystemUI.apk.
Click to expand...
Click to collapse
Thanks. I'm gonna try this one
This mod works great! Thank you!
tkari4 said:
Flashable zip attached here: http://forum.xda-developers.com/showpost.php?p=51305774&postcount=157
Copy SystemUI.apk in system / priv-app folder, than you can flash it.
Don't forget backup your current SystemUI.apk.
Click to expand...
Click to collapse
Could you provide the download link instead of thread link.um just a noob and dont have that much idea about all this stuff. It will be helpful if you just provide the download link of flashable zip.
Take care
Sent from my SM-N900 using XDA Premium 4 mobile app
---------- Post added at 08:15 AM ---------- Previous post was at 07:45 AM ----------
Will this mod work on n900 octa core firmware version DNA6 KITKAT.
THANKS
Sent from my SM-N900 using XDA Premium 4 mobile app
---------- Post added at 08:37 AM ---------- Previous post was at 08:15 AM ----------
Wprking great...it took time me to understand. ...thanks
Sent from my SM-N900 using XDA Premium 4 mobile app
just usable on KK?
noway for using on JB?
MEHRDAD595 said:
just usable on KK?
noway for using on JB?
Click to expand...
Click to collapse
I'm using this code on 4.1.2 too, so should work on JB.
@tkari4
Needs your help, sent you PM
Tried with my rom but dont work.using s5282 tw jb 4.1.2 rom! :/
SystemUI hidden power N9005XXUENC2
tkari4 said:
Hidden power button under the status bar clock.
No visual changes looks like the stock status bar:
Attention!
After this changes an Xposed modul can't move, or hide the clock.
Functions:
- Short press on the clock turns off the screen
- Long press, or swipe from the clock top to the bottom opens the power menu.
Needed tools:
Apktool
Notepad++
1. Decompile SystemUI.apk
2. Navigate to \res\layout folder
3. Open status_bar.xml
Add BLUE lines.
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/status_bar_battery_text_size" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_network_name_separator" android:layout_marginStart="@dimen/status_bar_battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="12.0dip" android:layout_height="18.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
</LinearLayout>
[COLOR="Blue"][B]<FrameLayout android:gravity="center" android:orientation="horizontal" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_centerInParent="true">[/B]
[/COLOR]<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:ellipsize="none" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" android:paddingStart="6.0dip" systemui:ampmSmall="false" />
[COLOR="Blue"][B]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@null" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" />
</FrameLayout>[/B][/COLOR]
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
4. Save your changes
5. Build SystemUI.apk
6. Push to your Phone, set permissions, reboot
I did it already for the N9005XXUENC2 firmware: Download
Click to expand...
Click to collapse
prejudice and can do so with the firmware N9005XXUEND5? tnx
Yes it should work on latest ROM too.
Who are not good with compiling here attached two version of hidden power
1.Who are using stock battery
2.Who are using modified Imaged battery
Download according your SystemUI and flash from recovery.
dr.ketan said:
Yes it should work on latest ROM too.
Who are not good with compiling here attached two version of hidden power
1.Who are using stock battery
2.Who are using modified Imaged battery
Download according your SystemUI and flash from recovery.
Click to expand...
Click to collapse
tnx
MOD] 4.4.2 TW Hidden power button
dr.ketan said:
Yes it should work on latest ROM too.
Who are not good with compiling here attached two version of hidden power
1.Who are using stock battery
2.Who are using modified Imaged battery
Download according your SystemUI and flash from recovery.
Click to expand...
Click to collapse
sorry but to ND5 dont work ..tnx also
MOD] 4.4.2 TW Hidden power button UPDATE for ND5
ANDROIDXFOREVER said:
sorry but to ND5 dont work ..tnx also[/QUOTE
use file manager with root permissions go to sistem private / app / and overwrite with this.
https://drive.google.com/file/d/0B8KAAvt9JyRXeTNHQ0dqTmMzcEk/edit?usp=sharing
tnx for help to Dr.Ketan
Click to expand...
Click to collapse
if i used this on center clock ,, will it work ?
jakTomas said:
if i used this on center clock ,, will it work ?
Click to expand...
Click to collapse
dont work center clock.....but work all function to wanam xposed
ANDROIDXFOREVER said:
dont work center clock.....but work all function to wanam xposed
Click to expand...
Click to collapse
what do you mean " but work all function to wanam xposed " ?

Categories

Resources