GUIDE HOW TO Bottom Toggle & Semi Transparent Notification drawer for CM10 - Samsung Galaxy W I8150

Here is the beginning : [Mod/Theme--CM10] for CM10 alpha3.kernel.2.6 *** RELOADED***
-------------------------------------------------------------------------------------------------------------------<<<<<<<<<<<<<<<<<<<<<<<<
GUIDE HOW TO - BOTTOM TOGGLE & SEMI TRANSPARENT NOTIFICATION DRAWER FOR CM10
SystemUI/res/layout/status_bar_expanded.xml
Code :
( - ) = Delete
( + ) = Add
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrier_label" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
[COLOR="Red"]- <com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" />[/COLOR]
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" 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" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="always">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</LinearLayout>
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
[COLOR="RoyalBlue"]+ <com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" />[/COLOR]
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
SystemUI/res/value/dimens.xml
code :
Code:
<dimen name="close_handle_height">[COLOR="RoyalBlue"]100.0dip[/COLOR]</dimen>
for Semi Transparent Notification Drawer
SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable.smali
code :
find this line
Code:
iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;->mColor:I
Delete and replace with this line
Code:
const v0, 0xd8000000
for toggle background color
SystemUI/res/drawable/stat_power_background.xml
( - ) = Delete
( + ) = Add
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
[COLOR="Red"]- <item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />[/COLOR]
[COLOR="Blue"]+ <item android:state_pressed="false" android:drawable="@android:color/black" />[/COLOR]
</selector>
done
And all edited are going to be like this
{
"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"
}
if you can see there is white highlight behind Notification Expanded header (Clock/Date/Setting Button),
and big Drag handle at the bottom of toggle.
Here is I made some fix.
How to do that ?
you must do all the editted of xml and smali file first, recompile and then flash the Modded systemUI.apk to your CM10 Rom.
Done that, Exstract your modded apk and push new resources to res/drawable-hdpi, Re-pact it and flash it
rename the resources to :
notification_header_bg.9.png
status_bar_close_off.9.png
status_bar_close_on.9.png
resources to : systemUIres/drawable-hdpi : http://www.mediafire.com/?sey6ohpzd97b8w8
Credit & Thanks to :
Arco for CM10
reaper61616 for source Transparent notification drawer CM10

Nice guide om...
Ngakak
Sent from my GT-P5100 using xda premium

filosofi_killms said:
Nice guide om...
Ngakak
Sent from my GT-P5100 using xda premium
Click to expand...
Click to collapse
Thank you

Nice guide! of all the transparent notification panel guide I've found here on XDA for more than 100+ :crying: no exaggeration! This on works! finally! wohooooa! thanks! :good:
by the way if I want it to be fully transparent what values should it be?

Related

(MOD) Of SystemUI.apk ((Quick control panel without text))

After a short working time, I succeed in making this mod QuickPanel
and as I did not see posted around here, I wanted to share with you
For those who want to use it in your themes
Manually put in system / app
{
"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"
}
SystemUI.apk Gingerbread JVB
http://CRISKELO.grupoandroid.com/gb/MODS/SystemUI.apk
There is an application to be installed
You push System / app
With rootexplorer
restart mobile
thx crisKelo
App not installed
How do we?
Sent from my GT-I9000 using XDA Premium App
how did you remove the text from quick panel? would be appreciated if you could offer instructions.
I would guess with a root explorer or something similar
Vanto said:
App not installed
How do we?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
craigyb said:
I would guess with a root explorer or something similar
Click to expand...
Click to collapse
So I didn't quite follow you there? Install or replace your apk/app?!
Sent from my GT-I9000 using Tapatalk
XlAfbk said:
how did you remove the text from quick panel? would be appreciated if you could offer instructions.
Click to expand...
Click to collapse
res/layout/quickpanel_quick_settings.xml
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.quickpanel.QuickSettingsView android:orientation="horizontal" android:id="@id/quickpanel_quick_settings" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_wifi_off" />
<com.android.systemui.statusbar.quickpanel.WifiSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_wifi_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_wifi_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_wifi_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_bluetooth_off" />
<com.android.systemui.statusbar.quickpanel.BluetoothSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_bt_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_bluetooth_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_bt_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_gps_off" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_gps_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_gps_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_sound_on_on" />
<com.android.systemui.statusbar.quickpanel.SoundSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_sound_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_sound_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_on" android:scaleType="fitXY" />
</FrameLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="54.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_rotation_off" />
<com.android.systemui.statusbar.quickpanel.AutoRotationSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_text" android:paddingTop="44.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_rotation_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_rotation_btn_status_icon" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.quickpanel.QuickSettingsView>
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Make text (android: textColor = "# 00000000") transparent
Redic cell size (android: layout_height = "54.0dip)
Then compare the XML to the original but that's all
Post Error
thx. finally got around doing it. i removed both text and bar.
Thanks
But, how to completely remove these shortcuts ?
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
Congratulations
Very good looking
You could put some transparency on the bottom down
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
Can you post your .apk? I like
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
thanks mate
XlAfbk said:
thx. finally got around doing it. i removed both text and bar.
Click to expand...
Click to collapse
It's possible to share your theme please ? (SystemUI.apk for example)
Thank you
here you go. gingerbread-like theme with CRT off, overscroll animation and battery %. Just use whatever files you want to use, I put all of my custom files in.
Zip is NOT a CWM-recovery file but just a compilation of all files in the theme!
http://www.multiupload.com/MYP98C972U
Nice. Love the stripped UI. Thanks
What are the mods on the other .apks?
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
Settings and MediaProvider have changed icons, nothing else. twframework has top toolbar and checkboxes/radio buttons in some touchwiz apps, e.g. task manager, contacts.
framework has a lot of changed images, progress bar, status items, crt animation, menu color (white text on black bg)
Tanks. I'll check it out.
I9000M darkyV10.rc5.3 darkcore2.1 UGKC1 BMC
Excellent mod. Thank you.
Here is my quick menu now, with your mod:
which version of apk tool are you guys using, i'm getting errors when decompiling with 1.3.2 or 1.3.1 !

[MOD & HOW TO](STOCK DEO-ICS) Carrier Logo & Quick Settings in status bar 23-03-12

[MOD & HOW TO](STOCK DEO-ICS) Carrier Logo & Quick Settings in status bar 23-03-12
Carrier Logo in status bar
THIS IS THE FIRST TEST OF THIS IDEA SO BACKUP FIRST!
NB. If you have flashed a theme/mod this may not work. (depends how heavy the edits are)
This CWM flashable package should Add a logo in the status bar & restore quick settings to the Notifications 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"
}
Tested on STOCK DEODEXED LPQ (may work on other STOCK ICS ROMS) please test and let me know if this works (BACKUP FIRST)
How to Edit (note if you don't edit the logo you will get mine!)
Download THIS CWM PACKAGE open it in your preferred zip manager and navigate to:
vrtheme>system>app>SystemUI.apk>res>drawable-hdpi>
and edit the file carrier_logo.png (edit your carrier logo in this file) (you should not make this image much bigger....) And SAVE into ZIP
copy to phone and flash with CWM / REBOOT.
If all has gone well you have a carrier logo
THIS IS THE FIRST TEST OF THIS IDEA SO BACKUP FIRST, YOU FLASH AT YOUR OWN RISK.
Thanks go to fergie716 for his work on ICS mods HERE
And the VRtheme team for there excellent CWM flashable zip
HOW TO...
To add this (LOGO) to your Rom you should open SystemUI.apk/res/layout/tw_status_bar.xml and add the bold code:
Code:
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
[B]<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:background="@drawable/carrier_logo" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentLeft="true" />[/B]
<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>
then just supply a PNG in a flashable CWM package.
To add this (QUICK SETTINGS) to your Rom you should open SystemUI.apk/res/layout/tw_status_bar_expanded.xml and add the bold code:
Code:
<LinearLayout android:orientation="horizontal" android:background="@drawable/tw_plmn_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
[B]<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />[/B]
<com.android.systemui.statusbar.phone.CarrierLabel android:textSize="17.329987dip" android:textColor="#ffffffff" android:ellipsize="marquee" android:layout_gravity="center_vertical" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="14.669983dip" android:layout_marginTop="8.669983dip" android:layout_marginBottom="10.0dip" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="right|center" android:id="@id/date" android:paddingLeft="6.669983dip" android:paddingRight="6.669983dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<TextView android:textSize="14.0dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/tw_btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" android:contentDescription="@string/accessibility_clear_all" />
</LinearLayout>
hope this helps
system ui fc even with your png...
pangiotis24 said:
system ui fc even with your png...
Click to expand...
Click to collapse
deodexed LPQ ics rom?
aramil said:
deodexed LPQ ics rom?
Click to expand...
Click to collapse
of course.i have also installed vertumus theme...
pangiotis24 said:
of course.i have also installed vertumus theme...
Click to expand...
Click to collapse
don't think it will work as the resources on vert's theme are tweaked already and this would over write them.
I could look to do version specific ones when people have slowed on their development.
can i use this in DXLP7???
if it is a deodexed version (with no themes) then it should do but back up first so you can flash back if not
fyi Didnt work on my Galaxy Nexus on AOKP/M4 rom ..
Nice Tut bro ..
thx :good: :fingers-crossed:

[MOD][AOKP MR1 Build 1] Lockscreen Layout (Updated Jan-15, Now with Tutorial)

There are a few things I changed about the layout of the lock screen:
1. Taller Minimized Widgets:
{
"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"
}
2. Removed Unlock Icon and Outer Ring:
3. Smaller Margins:
4. Music Player (black background only under title and controls):
I used the framework file from MR1 build 1 to create this.
View attachment AOKP_Lock_Screen.zip Use ZipThemer (get it for free on Google Play) to create a flashable zip.
Tutorial:
1. Decompile framework-res.apk
2. Modify the following files (green = add/change this text, red = remove this text):
ic_lockscreen_outerring.xml in \res\drawable
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="oval"
xmlns:android="http://schemas.android.com/apk/res/android">
<size android:height="@dimen/keyguard_lockscreen_outerring_diameter" android:width="@dimen/keyguard_lockscreen_outerring_diameter" />
<solid android:color="#00000000" />
<stroke android:width="[COLOR="LimeGreen"]0.0dip[/COLOR]" android:color="#1affffff" />
</shape>
ic_lockscreen_player_background.9.png in \res\drawable-xhdpi
Open with Photoshop, GIMP, etc... Delete the image inside the bounding boxes (make it a transparent image).
ic_lockscreen_unlock_normal.png in \res\drawable-xhdpi
Open with Photoshop, GIMP, etc... Delete the image (make it a transparent image).
keyguard_transport_control_view.xml in \res\layout
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardTransportControlView android:gravity="center_horizontal" android:id="@id/keyguard_transport_control" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:foreground="[COLOR="Lime"]#00000000[/COLOR]" android:contentDescription="@string/keygaurd_accessibility_media_controls">
<ImageView android:layout_gravity="fill" android:id="@id/albumart" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" android:adjustViewBounds="false" />
</FrameLayout>
<LinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="?textAppearanceMedium" android:ellipsize="end" android:gravity="center_horizontal" android:id="@id/title" android:layout_width="fill_parent" android:layout_height="wrap_content" [COLOR="lime"]android:background="#cc000000"[/COLOR] [COLOR="Lime"]android:padding="2.0dip"[/COLOR] [COLOR="Red"]android:layout_marginTop="8.0dip"[/COLOR] android:singleLine="[COLOR="lime"]false[/COLOR]" [COLOR="Red"]android:layout_marginStart="16.0dip" android:layout_marginEnd="16.0dip"[/COLOR] />
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" [COLOR="Lime"]android:background="#cc000000" [/COLOR][COLOR="red"]android:layout_marginTop="5.0dip"[/COLOR]>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:layout_gravity="center" android:id="@id/btn_prev" android:background="?selectableItemBackground" android:padding="[COLOR="lime"]5.0dip[/COLOR]" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_previous" android:contentDescription="@string/lockscreen_transport_prev_description" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:layout_gravity="center" android:id="@id/btn_play" android:background="?selectableItemBackground" android:padding="[COLOR="lime"]5.0dip[/COLOR]" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_play" android:contentDescription="@string/lockscreen_transport_play_description" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:layout_gravity="center" android:id="@id/btn_next" android:background="?selectableItemBackground" android:padding="[COLOR="lime"]5.0dip[/COLOR]" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_next" android:contentDescription="@string/lockscreen_transport_next_description" />
</FrameLayout>
</LinearLayout>
</LinearLayout>
</com.android.internal.policy.impl.keyguard.KeyguardTransportControlView>
keyguard_host_view.xml in \res\layout-port
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardHostView androidprv:gravity="center_horizontal" androidprv:orientation="vertical" androidprv:id="@id/keyguard_host_view" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/res/android">
<com.android.internal.policy.impl.keyguard.SlidingChallengeLayout androidprv:id="@id/sliding_layout" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent">
<FrameLayout androidprv:layout_width="fill_parent" androidprv:layout_height="wrap_content" androidprv:layout_childType="pageDeleteDropTarget">
<include androidprv:layout_gravity="top|center" androidprv:id="@id/keyguard_widget_pager_delete_target" androidprv:layout_width="wrap_content" androidprv:layout_height="wrap_content" layout="@layout/keyguard_widget_remove_drop_target" />
</FrameLayout>
<FrameLayout androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" androidprv:layout_childType="widgets">
<include androidprv:layout_gravity="center" androidprv:id="@id/app_widget_container" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" layout="@layout/keyguard_widget_pager" />
</FrameLayout>
<View androidprv:background="#99000000" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" androidprv:layout_childType="scrim" />
<com.android.internal.policy.impl.keyguard.KeyguardSecurityContainer androidprv:gravity="bottom|center" androidprv:id="@id/keyguard_security_container" androidprv:padding="0.0dip" androidprv:layout_width="wrap_content" androidprv:layout_height="wrap_content" androidprv:layout_maxHeight="[COLOR="Lime"]300.0dip[/COLOR]" androidprv:layout_childType="challenge">
<com.android.internal.policy.impl.keyguard.KeyguardSecurityViewFlipper androidprv:gravity="center" androidprv:id="@id/view_flipper" androidprv:paddingTop="@dimen/keyguard_security_view_margin" androidprv:clipChildren="false" androidprv:clipToPadding="false" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" />
</com.android.internal.policy.impl.keyguard.KeyguardSecurityContainer>
<ImageButton androidprv:background="@null" androidprv:focusable="true" androidprv:layout_width="fill_parent" androidprv:layout_height="@dimen/kg_widget_pager_bottom_padding" androidprv:src="@drawable/keyguard_expand_challenge_handle" androidprv:scaleType="center" androidprv:contentDescription="@string/keyguard_accessibility_expand_lock_area" androidprv:layout_childType="expandChallengeHandle" />
</com.android.internal.policy.impl.keyguard.SlidingChallengeLayout>
</com.android.internal.policy.impl.keyguard.KeyguardHostView>
keyguard_widget_pager.xml in \res\layout-port
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardWidgetPager android:id="@id/app_widget_container" android:paddingLeft="[COLOR="lime"]5.0dip[/COLOR]" android:paddingTop="[COLOR="lime"]5.0dip[/COLOR]" android:paddingRight="[COLOR="lime"]5.0dip[/COLOR]" android:paddingBottom="@dimen/kg_widget_pager_bottom_padding" android:clipToPadding="false" android:pageSpacing="10.0dip"
xmlns:androidprv="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android" />
3. Recompile
4. Copy the modified files from the compiled framework-re.apk into the ZipThemer zip file that is attached above.
Nice dude!!
Sent from my Galaxy Nexus using xda premium
Wow, I wish I wasn't flip flopping from CM to AOKP and back so I could try this...
Sent from my Nexus 7 using Tapatalk HD
If I have time and remember, I'll add a quick guide to the OP tomorrow so people can make their own version for whatever ROM they want.
This made my SGS3 happy = )
creeve4 said:
If I have time and remember, I'll add a quick guide to the OP tomorrow so people can make their own version for whatever ROM they want.
Click to expand...
Click to collapse
Yes please
Sent from my Galaxy Nexus
Updated with tutorial
i have nexus 4 and i can't flash the zip after ZipThemer... please help
Sagi363 said:
i have nexus 4 and i can't flash the zip after ZipThemer... please help
Click to expand...
Click to collapse
More info please. What errors are you getting?
creeve4 said:
More info please. What errors are you getting?
Click to expand...
Click to collapse
image:
Did you configure Edify scripting before creating the flashable zip with ZipThemer?
creeve4 said:
Did you configure Edify scripting before creating the flashable zip with ZipThemer?
Click to expand...
Click to collapse
Thank you, now it works
Flashable zip
do you have a flashable zip for Gnex Toro VZW with all the mods included?
Nope, you'll need to install ZipThemer and make your own.
HELP
I've tried decompiling the apk but ran into several JAVA issues in my PC.....any way you can post the recompiled APK
youngmack2k4 said:
I've tried decompiling the apk but ran into several JAVA issues in my PC.....any way you can post the recompiled APK
Click to expand...
Click to collapse
[UTIL][Dec 28 2012] Apktool v1.5.1 - a tool for reverse engineering apk files
Before decompiling (assuming you are running Windows) delete any .apk files in C:\Users\user.name\apktool\framework\

[MOD][HOW TO] AOSP Signal layout on touchwiz

This will guide will show you how to replace the touchwiz signal style with that of standard android AOSP style.
Preview
{
"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"
}
I assume the reader has basic knowledge of de-compiling and recompiling APK files, if you do not know how to do this use the search feature on XDA as this is covered in a ton of post's and really isn't that hard to do with some patience.
Step 1) Decompile systemui.apk
Step 2) Navigate to
HTML:
res/layout/tw_signal_cluster_view.xml
Step 3) Delete everything here and replace it with this
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-6.0dip">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/new_mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/separate_mobile" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-18.0dip">
<ImageView android:id="@id/separate_mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/separate_mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-23.0dip" />
</com.android.systemui.statusbar.SignalClusterView>
4) Replace desired icon's in
HTML:
res/drawable-xhdpi
this is my standard AOSP signal icon's that I use in my ROM Dandroid, get it here
5) Recompile with apktool
6) Open up the old systemui and new systemui with 7zip and copy over the meta-inf folder and androidmanifest.xml to the new systemUI
7) Push to system and enjoy
cheers
Dan
Dan man!!! Thank you for posting the signal mod, been trying to figure that one out for a while!
scotteb said:
Dan man!!! Thank you for posting the signal mod, been trying to figure that one out for a while!
Click to expand...
Click to collapse
np bro

[GUIDE]Floating SystemUI

Good day XDA and who are here in this thread. I brought to you a guide. As the thread title says, it is floating systemui. Yes you read it right its a floating systemui but its kinda different from the guide made by our recognized themer petruk.grinder. Since his floating systemui uses a drawable as the floating mine was uses the layout itself, we will play with it
Since I had experience in sir petruk.grinder's guide, the lidroid and some other stuffs are not properly align and some are kinda cropped and sure I'll share it here what's in my treasure box.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer: Back up first You know what to do
What we will be needing in this modification
Notepad++
Apktool
SystemUI.apk (statusbar_expanded and statusbar_tracking)
Brain.apk
Determination
Steps:
1. Decompile the SystemUI.
2. Now go to res/layout/status_bar_expanded.xml
3. Add the coded line below after xmlns:android="http://schemas.android.com/apk/res/android">
Code:
<LinearLayout android:background="#00000000" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical" [COLOR="Red"]android:paddingLeft="30dip" android:paddingTop="15dip" android:paddingBottom="20dip" android:paddingRight="15dip"[/COLOR]>
<LinearLayout android:background="#ff8e979f" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical">
4. And add the coded line below before </com.android.systemui.statusbar.ExpandedView>
Code:
</LinearLayout>
</LinearLayout>
It will be like this for example (BTW this is my SystemUI)
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
[COLOR="Red"] <LinearLayout android:background="#00000000" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical" android:paddingLeft="30dip" android:paddingTop="15dip" android:paddingBottom="20dip" android:paddingRight="15dip">
<LinearLayout android:background="#ff8e979f" android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical">[/COLOR]
<RelativeLayout android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="50.0dip">
<ppl.SystemUI.Header android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ppl.SystemUI.SettingsButton android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_settings" android:layout_alignParentRight="true" />
</RelativeLayout>
<ppl.SystemUI.toggles.PowerWidget android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="75.0dip" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ScrollView android:id="@id/scroll" android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="never">
<LinearLayout android:orientation="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_title_background" android:paddingLeft="5.0dip" android:visibility="gone" 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:visibility="gone" 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:visibility="gone" 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:gravity="center" android:layout_gravity="center" android:id="@id/clear_all_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />
</LinearLayout>
</ScrollView>
</com.android.systemui.statusbar.NotificationLinearLayout>
</FrameLayout>
</LinearLayout>
[COLOR="Red"]</LinearLayout>
</LinearLayout>[/COLOR]
</com.android.systemui.statusbar.ExpandedView>
5. Lets move on to your status_bar_tracking.xml
Now make the View background into transparent, like this
Code:
<View android:background="#[COLOR="Red"]00000000[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
6. Then below
Code:
<com.android.systemui.statusbar.CloseDragHandle .....
You can see an imageview, delete the "android:src" and adjust the "android:layout_height" to digit.dip, mine was I used "15dip"
My status_bar_tracking.xml is something like this if you want to compare
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.TrackingView 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">
[COLOR="Red"]<View android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />[/COLOR]
<com.android.systemui.statusbar.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="Red"]<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="15dip" android:scaleType="fitXY" />[/COLOR]
</com.android.systemui.statusbar.CloseDragHandle>
</com.android.systemui.statusbar.TrackingView>
7. Save the status_bar_expanded.xml and status_bar_tracking.xml
8. Compile your SystemUI
9. Flash/Push
10. And never forget to smile, and make your day happy.
Some tips:
You can adjust the padding depend on your likings.
If you are having a problem expanding the notification/expanded, you can try to check my own status_bar_expanded, I have no problem there
Click to expand...
Click to collapse
Bugs:
404 Bug not found
Click to expand...
Click to collapse
Credits:
developers.android.com
Experience
Click to expand...
Click to collapse
Greets,
PineappleOwl​
Reserved for some cokefloats
nice idea by the way :good:
i think i'll make a new mod based on this
AuliaYF said:
nice idea by the way :good:
i think i'll make a new mod based on this
Click to expand...
Click to collapse
The changeable one. Looking forward for that Hehe
PineappleOwl said:
The changeable one. Looking forward for that Hehe
Click to expand...
Click to collapse
yeah, im working on it
Can I change the background of status bar expanded to transparent?
jasper~ said:
Can I change the background of status bar expanded to transparent?
Click to expand...
Click to collapse
Yea you can
PineappleOwl said:
Yea you can
Click to expand...
Click to collapse
By replacing the image to transparent? Or another way?
Great guide sir
Anyways congrats on getting that RT badge! :good:
jasper~ said:
By replacing the image to transparent? Or another way?
Click to expand...
Click to collapse
change background to this
Code:
android:background="#00000000"
AuliaYF said:
change background to this
Code:
android:background="#00000000"
Click to expand...
Click to collapse
Man, you should try to make a color changer too. Hahaha
PineappleOwl said:
Man, you should try to make a color changer too. Hahaha
Click to expand...
Click to collapse
should i? why not you man?
AuliaYF said:
should i? why not you man?
Click to expand...
Click to collapse
Kinda busy this time sir Hehehe
PineappleOwl said:
Kinda busy this time sir Hehehe
Click to expand...
Click to collapse
i think i'm gonna put this on my SystemUI and make a thread for it. :laugh:

Categories

Resources