I need help in making an animated notification background.
I managed to make an animated status_bar_close_off.png by making a status_bar_close_off.xml under drawables with the codes below and deleting the png inside the drawable-hdpi so that it will read the xml file and not the png
status_bar_close_off.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="100" android:drawable="@drawable/anim1" />
<item android:duration="100" android:drawable="@drawable/anim2" />
<item android:duration="100" android:drawable="@drawable/anim3" />
<item android:duration="100" android:drawable="@drawable/anim4" />
</animation-list>
You can check the sample video here:
Now I'm trying to make the notification_panel_bg.png to animate using the same procedure but the result is it doesn't animate. All it displays is the first frame. Anyone had an idea how to animate the notification panel background in JB?
knightzero07 said:
I need help in making an animated notification background.
I managed to make an animated status_bar_close_off.png by making a status_bar_close_off.xml under drawables with the codes below and deleting the png inside the drawable-hdpi so that it will read the xml file and not the png
status_bar_close_off.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="100" android:drawable="@drawable/anim1" />
<item android:duration="100" android:drawable="@drawable/anim2" />
<item android:duration="100" android:drawable="@drawable/anim3" />
<item android:duration="100" android:drawable="@drawable/anim4" />
</animation-list>
You can check the sample video here:
Now I'm trying to make the notification_panel_bg.png to animate using the same procedure but the result is it doesn't animate. All it displays is the first frame. Anyone had an idea how to animate the notification panel background in JB?
Click to expand...
Click to collapse
Hi knightzero07 ,have you solved your problem with the notification panel background?
I'm trying the same for the notification panel background i'm on gt-i9100 with touchwizz
i added a animation_background.xml in SystemUI/res/drawables ,added new pngs in res/drawable-nodpi and changed tw_status_bar_expanded.xml
from this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel"[COLOR="Red"] android:background="@drawable/notification_panel_bg" [/COLOR]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">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
to this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" [COLOR="Red"]android:background="@drawable/animation_background" [/COLOR]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">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
and my background is not animated, have you a solution?
thanks
I gave up on this XD
I still haven't seen any solution to the notification bg. The problem must be in the smali files and I'm no good in smali. If only someone could look into smali that holds the notification panel.
knightzero07 said:
I gave up on this XD
I still haven't seen any solution to the notification bg. The problem must be in the smali files and I'm no good in smali. If only someone could look into smali that holds the notification panel.
Click to expand...
Click to collapse
not sure why this aint working... .im on kitkat touchwiz and changed the exact files and it works.... i even posted a guide for kitkat here.... should be the same procedure on jellybean as the coding is very similar....
http://forum.xda-developers.com/showthread.php?t=1143675
the_original_teknikl said:
not sure why this aint working... .im on kitkat touchwiz and changed the exact files and it works.... i even posted a guide for kitkat here.... should be the same procedure on jellybean as the coding is very similar....
http://forum.xda-developers.com/showthread.php?t=1143675
Click to expand...
Click to collapse
I've read your guide. The only difference to what I've done was steps 10-12 which it doesn't really matter. Why would you replace the files of the original apk from the new one where you can actually use the new apk?
I really think this involves smali since I still have to remove one line from Phonestatusbar.smali to enable changing the notification background using drawables but not enabling its animation.
I'll try cm10's systemui if its possible to animate the notification panel.
Related
Hey GUYs!!!
Its really annoying that my status bar is Showing two Carrier Tags
Can any1 tell me How to remove them all ??? pls
PLEASE see the attachment for my Problem..
Sent from
Xperia Ray running Stock ICS
No, but you must replace it by another name with Carrier name
HitMaN/ said:
Hey GUYs!!!
Its really annoying that my status bar is Showing two Carrier Tags
Can any1 tell me How to remove them all ??? pls
PLEASE see the attachment for my Problem..
Sent from
Xperia Ray running Stock ICS
Click to expand...
Click to collapse
removing is easy with some small edits to the XML's,
1 - decompile the statusbar.
2 - goto the res/layout folder
3 - open the statusbar_tracking.xml file
4 - change the line with this
Code:
com.android.systemui.statusbar.phone.CarrierLabel
to include
** fixed now sry **
Code:
android:visibility="gone"
eg.
my file looks like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingVi ew android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:background="@drawable/notification_tracking_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
[B][I] <com.android.systemui.statusbar.phone.CarrierLab el android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
[/I][/B] </FrameLayout>
<com.android.systemui.statusbar.phone.CloseDragHan dle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHand le>
</com.android.systemui.statusbar.phone.TrackingView>
turn it into this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingVi ew android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:background="@drawable/notification_tracking_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
[B][I][COLOR="Red"] <com.android.systemui.statusbar.phone.CarrierLab el android:visibility="gone" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_gravity="bottom" android:paddingBottom="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
[/COLOR][/I][/B] </FrameLayout>
<com.android.systemui.statusbar.phone.CloseDragHan dle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHand le>
</com.android.systemui.statusbar.phone.TrackingView>
that will hide the carrier lable, never to be seen again. it will also resize the notification are to be a bit bigger.
the reason you DO NOT delete the line is that the code can still update the carier lable when it needs to even tho it is invisible. if you delete it you would have to remove all the code that updates it too and that is a big job in smali... (far too hard)
Hope that helped.
Pvy.
Thanks dude ... I ll try it n reply
Thanks dude ... I ll try it n reply
Click to expand...
Click to collapse
Sorry just noticed a huge mistake. I put that you wanted
android:focusable="true"
Click to expand...
Click to collapse
When intact you really want this :-S
android:visibility="gone"
Click to expand...
Click to collapse
I got it right in the code snipet tho lol... So sorry bout that I'll fix the post now.
Pvy
Sent from my TEAM Powered Arc S
this is me first posting in xda...
The first opportunity .. I try to share a little trick to modify SystemUI.apk (ICS)
Requirement:
-understand how to decompile and compile using apktool or something
how to MOD????
read carefully the text below
previously downloaded this as a complement:
https://www.dropbox.com/s/xlv0r4cmg6fe2ko/SmaliTB_2.zip
https://www.dropbox.com/s/s2teuqzpz2qtbrl/carrier_logo.png
I use apktool
pull systemUI.apk in the folder system / app and framework-res.apk and SemcGenericUxpRes.apk in system / framework
to u folder apktool
open apktool..
instal framework-res.apk and SemcGenericUxpRes.apk
Code:
apktool if framework-res.apk (enter) and apktool if SemcGenericUXPRes.apk (enter)
again... decompile SystemUI.apk
Code:
apktool d SystemUI.apk
open folder SystemUI/res/layout/Status_bar.xml
Compare this... code to u xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/statusbar_costum_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">
<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">
<ImageView android:gravity="left|center" android:id="@id/carrier_logo_id" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/carrier_logo" android:scaleType="fitCenter" android:adjustViewBounds="true" />
<LinearLayout android:orientation="vertical" android:paddingLeft="6.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="right" android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.IconPartitioner android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<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.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.phone.IconPartitioner>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="16.0dip" android:gravity="left|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
<LinearLayout android:gravity="right" android:layout_width="fill_parent" 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" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:background="@drawable/stat_sys_no_sim" android:paddingLeft="2.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:singleLine="true" />
<LinearLayout android:gravity="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/signal_cluster_view" />
<TextView android:layout_gravity="left|center" android:id="@id/name_carrier_id" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/carrier_name_abal" android:singleLine="true" style="@style/StatusBarNotificationText" />
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:visibility="gone" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<ImageView android:id="@id/battery" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</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="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</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:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" 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>
next..
open folder SystemUI\smali\com\android\systemui\statusbar\policy
copy and paste
Traffic$1.smali
Traffic$2.smali
Traffic$3.smali
Traffic$SettingsObserver.smali
Traffic.smali
next...
open open ids.xml in folder SystemUI/res/value/ids.xml
add this code
Code:
<item type="id" name="traffic">false</item>
<item type="id" name="carrier_logo_id">false</item>
<item type="id" name="name_carrier_id">false</item>
The above </resources>
like this
Code:
<item type="id" name="traffic">false</item>
<item type="id" name="carrier_logo_id">false</item>
<item type="id" name="name_carrier_id">false</item>
</resources>
next...
open strings.xml in folder SystemUI/res/value/strings.xml
add this code
Code:
<string name="carrier_name_abal">Paboya</string>
text Paboya you can replace up to you
The above </resources>
like this
Code:
<string name="carrier_name_abal">Paboya</string>
</resources>
again...
open styles.xml in folder SystemUI/res/value/styles.xml
add this code
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
The above </resources>
like this
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
</resources>
next..
open folder SystemUI\res\drawable-hdpi add carrier_logo.png
finish.......
and recompile...
Code:
apktool b SystemUI
next step...
decompile framework-res.apk and open dimens.xml
find this code:
Code:
<dimen name="status_bar_height">25.0dip</dimen>
change dpi to...:
Code:
<dimen name="status_bar_height">40.0dip</dimen>
next find again this code:
Code:
<dimen name="status_bar_icon_size">25.0dip</dimen>
change dpi to...:
Code:
<dimen name="status_bar_icon_size">30.0dip</dimen>
can you adjust the dip changes
finish.........
recomnpile again...
Code:
apktool b framework-res
done..........
push SystemUI.apk and framework-res.apk
SystemUI.apk to system/app
framework-res.apk to system/framework.
reboot.....
download For ICS:
for who want to try here I am using stock ics 54 if you want to try on the next or previous version ....
I am not responsible if there bootlop
but the possibility systemUI.apk can be used in all the rom.
tested b.10/54/89
https://www.dropbox.com/s/p5ej8hoxz7dw438/flymelikeUI.zip
flash on cwm...
flymelikeUI.zip
wipe cache n dalvic if any problem
download For FXP:
https://www.dropbox.com/s/w8n2lhg51gz76qe/FXPflymelikeUI.zip
flash on cwm...
FXPflymelikeUI.zip
wipe cache n dalvic if any problem
Dowload for JB:
Soon
ss ICS:
{
"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"
}
ss FXP:
may be useful if there is a mistake you can tell me :highfive:
And the result ? Any screenshots ?
dude thats too much....find a way to create a flashable zip...take help from other members..
Sory
sorry was trying to make a thread ... I am a junior member
yes
niku4uster said:
dude thats too much....find a way to create a flashable zip...take help from other members..
Click to expand...
Click to collapse
wait dude
pretty cool thanks
tut can get a little polished though.. no offence
Me said:
pretty cool thanks
tut can get a little polished though.. no offence
Click to expand...
Click to collapse
sorry in advance there is little error
for guidance
More screenshoot
....
Ruliindrapraja said:
More screenshot
♪thx dude
Click to expand...
Click to collapse
:good: AWEWE SOME..LOL
Is there a way to make this work on jb would be amazing if it did
Sent from my LT22i using xda premium
Please port it to cm9 systemui!!
Enviado desde mi Xperia U usando Tapatalk 2
Please hepl me! Make a carrier_logo for xperia sola!
Thank U very much!
aybykut3 said:
Please hepl me! Make a carrier_logo for xperia sola!
Thank U very much!
Click to expand...
Click to collapse
Here you go, made it fast
Edit: Hmm I can't post a link because I don't have 10 posts...
I will send it in PM
Thanks!Very good!5+!!!!!
Android 4.0.4,stok,1.10
Sent from my ST25i using xda premium
Sent from my ST25i using xda premium
CONdemmedNORmal said:
Is there a way to make this work on jb would be amazing if it did
Sent from my LT22i using xda premium
Click to expand...
Click to collapse
Either way ... maybe you can be patient I will make in JB
zie.do2y said:
Either way ... maybe you can be patient I will make in JB
Click to expand...
Click to collapse
Well I was being patient I wasn't exactly going on saying why isn't this for jb or any crap like that I was simply asking if it would be available
Sent from my LT22i using xda premium
aybykut3 said:
Please hepl me! Make a carrier_logo for xperia sola!
Thank U very much!
Click to expand...
Click to collapse
copy thi code:
<ImageView android:gravity="left|center" android:id="@id/carrier_logo_id" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/carrier_logo" android:scaleType="fitCenter" android:adjustViewBounds="true" />
to StatuSbar.xml place it as you wish ...
Enter carrier_logo.png to drawable-hdpi folder
open idS.xml add this code:
<item type="id" name="carrier_logo_id"> false </ item>
recompile ... done
CONdemmedNORmal said:
Well I was being patient I wasn't exactly going on saying why isn't this for jb or any crap like that I was simply asking if it would be available
Sent from my LT22i using xda premium
Click to expand...
Click to collapse
I have not tried to apply it to jb but One friend I have tried and succeeded ... I am still waiting for JB really fix
Hello Master And All Member Of xda.today im gonna release something i got from darkcurse theme from lenox 2.2.
2.Open res/layout/statusbar expanded.xml find this
<com.android.systemui.statusbar.NotificationLinearLayout androidrientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="99.0" androidverScrollMode="ifContentScrolls">
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_plmn_background" androidaddingLeft="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_plmn_background" androidaddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<RelativeLayout android:layout_gravity="center" android:background="#00000000" 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_plmn_background" androidaddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/latestTitle" android:layout_alignLeft="@id/latestTitle" />
</RelativeLayout>
</ScrollView>
</com.android.systemui.statusbar.NotificationLinearLayout>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
replace with this
<com.android.systemui.statusbar.NotificationLinearLayout androidrientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:weightSum="100.0">
<LinearLayout androidrientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="0.0dip" android:baselineAligned="false" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="99.0" androidverScrollMode="ifContentScrolls">
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_plmn_background" androidaddingLeft="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_plmn_background" androidaddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<RelativeLayout android:layout_gravity="center" android:background="#00000000" 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_plmn_background" androidaddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout androidrientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/latestTitle" android:layout_alignLeft="@id/latestTitle" />
</RelativeLayout>
</LinearLayout>
</ScrollView>
<SlidingDrawer android:id="@id/SlidingDrawer" android:layout_width="fill_parent" android:layout_height="135.0px" android:handle="@id/handle" android:content="@id/content">
<Button android:textColor="#00ffffff" android:id="@id/handle" android:background="@drawable/about_knob_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Tap to Expand" />
<LinearLayout android:id="@id/content" android:layout_width="fill_parent" android:layout_height="51.0px">
<include layout="@layout/device_info" />
</LinearLayout>
</SlidingDrawer>
</com.android.systemui.statusbar.NotificationLinearLayout>
4.add this to res/value/ids.xml
<item type="id" name="device_info">false</item>
<item type="id" name="SlidingDrawer">false</item>
<item type="id" name="handle">false</item>
above </resource>
5.after that move all file that download from attachment to correct place
Credit:All Lenox Dev
Me:laugh:
If This thread illegal please closed it.
im just newbie that very noob.
just a tip - if you are going to post code please wrap it in code tags - as
1 - makes the thread look much neater
2 - you dont get emoji in the code (you can also disable emoji by ticking the box to Disable smilies in text when you post under additional options)
marcussmith2626 said:
just a tip - if you are going to post code please wrap it in code tags - as
1 - makes the thread look much neater
2 - you dont get emoji in the code (you can also disable emoji by ticking the box to Disable smilies in text when you post under additional options)
Click to expand...
Click to collapse
Im sorry i will fix sory.im just noob newbie:crying:
any ss...
You write too fast, i do not understand : where is the res/layout/statusbar?
And do you have a screen of the result it would be?
Killnolife said:
You write too fast, i do not understand : where is the res/layout/statusbar?
And do you have a screen of the result it would be?
Click to expand...
Click to collapse
He mean statusbar_expanded.xml
Screenshot Added
Himan Boro said:
any ss...
Click to expand...
Click to collapse
hehe sory sir.im little bit busy.but his the screenshot im tak from the owner
op
please edit your 1st post
Code:
youre xml/smali etc
[*/CODE]
Replace (*)
Like this
[CODE]
<item type="id" name="device_info">false</item>
<item type="id" name="SlidingDrawer">false</item>
<item type="id" name="handle">false</item>
Minions_Army said:
op
please edit your 1st post
Code:
youre xml/smali etc
[*/CODE]
Replace (*)
Like this
[CODE]
<item type="id" name="device_info">false</item>
<item type="id" name="SlidingDrawer">false</item>
<item type="id" name="handle">false</item>
Click to expand...
Click to collapse
thaxs sir
Note:Edited
Okay, so I'm using Android 4.3 on Xperia M, and the dialpad numbers are strings (their font change with the system's font). I want to make it drawables so that I can theme the dialpad using my own icons. Is this possible, and if it is, how should I do it? Should I edit one of the xmls after decompiling it?
The framework and the dialer/contacts apk:
https://drive.google.com/file/d/0B956mjWProLXRy0xUkJhYlhTTW8/edit?usp=sharing
https://drive.google.com/file/d/0B956mjWProLXY0xoRFAtM1JVQVU/edit?usp=sharing
https://drive.google.com/file/d/0B956mjWProLXQWd2ME1fczNTNUk/edit?usp=sharing
GeniuSotaKu said:
Okay, so I'm using Android 4.3 on Xperia M, and the dialpad numbers are strings (their font change with the system's font). I want to make it drawables so that I can theme the dialpad using my own icons. Is this possible, and if it is, how should I do it? Should I edit one of the xmls after decompiling it?
The framework and the dialer/contacts apk:
https://drive.google.com/file/d/0B956mjWProLXRy0xUkJhYlhTTW8/edit?usp=sharing
https://drive.google.com/file/d/0B956mjWProLXY0xoRFAtM1JVQVU/edit?usp=sharing
https://drive.google.com/file/d/0B956mjWProLXQWd2ME1fczNTNUk/edit?usp=sharing
Click to expand...
Click to collapse
Change @string to @drawable should work and place the pngs
SpinXO said:
Change @string to @drawable should work and place the pngs
Click to expand...
Click to collapse
Thanks.
I want to ask another thing, if it's fine with you.
EDIT: App force close after a few seconds after recompile, and the dialpad remains the same. Tell me where I went wrong. The "nothinghere" is a transparent image.
HTML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/dialpad" android:layout_width="fill_parent" android:layout_height="fill_parent" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ex="http://schemas.android.com/apk/res/com.sonyericsson.android.socialphonebook">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="0.0dip" android:baselineAligned="false" android:layout_weight="15.0" android:layoutDirection="ltr">
<com.sonyericsson.android.socialphonebook.ui.widget.DialpadButtonView android:id="@id/one" android:focusable="true" android:clickable="true" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:layoutDirection="ltr" android:paddingStart="@dimen/dialpad_button_padding_left" ex:normalBackground="@drawable/dial_num" ex:pressedBackground="@drawable/dial_num_pressed">
<TextView android:id="@id/oneNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_1_txt" android:contentDescription="@string/spb_accessibility_one_and_voicemail_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_centerVertical="true" android:layout_toEndOf="@id/oneNum">
<TextView android:id="@id/oneSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/nothinghere" android:layout_marginStart="@dimen/dialpad_search_lable_margin_left" style="@style/Dialpad.Label" />
<ImageView android:id="@id/voicemail_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/dialpad_1" />
My question is how can i mod LGSystemUI to remove SIM switcher from notification panel on stock lollipop like in Monolithic OS ?
if someone can just point me to what xml file to edit i'll be thankfull !!
Decompile LGSystemUI.apk
Then edit res/statusbar_extended.xml
Sent from my D620r [Stock 4.4.2 , -V- Kernel]
didn't find statusbar_extended but status_bar_expanded
that's the line i should edit ?
Code:
<ViewStub android:layout_gravity="end" android:id="@id/keyguard_user_switcher" android:layout="@layout/keyguard_user_switcher" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/status_bar_header_height_keyguard" />
I just compared between the original 4.4.2 LGSystemUI and the monilithic OS LGSystemUI
found in status_bar_expanded of the monolithic os that those 2 line are deleted
Code:
<include layout="@layout/network_stats" />
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="start|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_marginEnd="2.0dip" />
and the file network_stats.xml are deleted from res/layout
but it's different in 5.0.2 i can't find network_stats.xml or something similar
i attached the decompiled Layout if someone can help
PS: in 5.0.2 there is msim_status_bar_expanded.xml and status_bar_expanded.xml
i attached the two xml files to compare between them
everytime a replace the contenant of msim_status_bar_expanded with status_bar_expanded and recompile and flash SystemUI i get FCs
compared between the two status_bar_expanded
the msim_status_bar_expanded => when there is two sim card
the status_bar_expanded => when there is one sim card 2nd sim slot is empty
found two difference
- the first one
in status_bar_expanded those two lines :
Code:
<LinearLayout android:layout_gravity="top" android:id="@id/mascot_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/mascot_display_height" />
<include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" layout="@layout/carrier_label" />
are replaced in msim_status_bar_expanded with those 3 lines :
Code:
<include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" layout="@layout/msim_carrier_label" />
<include android:layout_gravity="bottom" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" layout="@layout/subs_label" />
<include android:layout_gravity="bottom" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" layout="@layout/carrier_label" />
- 2nd one :
in status_bar_expanded this line
Code:
1<include android:visibility="invisible" layout="@layout/keyguard_status_bar" />
is replaced with this line in msim_status_bar_expanded
Code:
1<include android:visibility="invisible" layout="@layout/msim_keyguard_status_bar" />
any one knows with XML ??
tried replace contante of msim_status_bar_expanded with the one of the status_bar_expanded and i got FC
Solved i managed to remove Sim Switcher from Expanded statusbar
and with Centred clock in statusbar