{
"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"
}
Original link
http://samsungviet.vn/threads/guide-lollipop-thao-luan-va-chia-se.2177/#post-73702
Click to expand...
Click to collapse
http://samsungviet.vn/threads/mod-lollipop-n9005-d-va-j-xxugbnl8-android-5-0.2241/#post-77252
Click to expand...
Click to collapse
SystemUI.apk\res\layout\system_icons.xml like picture
or SystemUI.apk\res\layout\status_bar.xml icon will in left status bar
add this code
Code:
<com.thanhfhuongf.networkspeedindicator.traffic.TrafficView android:id="@+id/panic_traffic" android:gravity="right|center" android:layout_width="wrap_content" android:layout_height="fill_parent" />
like
with system_icons.xml
Code:
<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">
[COLOR="Red"]<com.thanhfhuongf.networkspeedindicator.traffic.TrafficView android:id="@+id/panic_traffic" android:gravity="right|center" android:layout_width="wrap_content" android:layout_height="fill_parent" />[/COLOR]
<include android:id="@id/signal_cluster" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="2.0dip" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/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:alpha="1.0" android:importantForAccessibility="no" android:fontFamily="sans-serif" android:layout_marginStart="@dimen/battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginRight="-7.0dip" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="1.0" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2.0dip" />
</LinearLayout>
OR with status_bar.xml
Code:
<com.android.systemui.statusbar.AlphaOptimizedFrameLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:alpha="1.0">
<com.android.keyguard.AlphaOptimizedLinearLayout android:id="@id/notification_icon_area_inner" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="15.0dip" android:textColor="#ffffffff" 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/operatorLogoIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src= [user=898999]@dra[/user]wable/tw_stat_notify_operator_logo" />
<ImageView android:id="@id/operatorLogoIcon_org" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src= [user=898999]@dra[/user]wable/tw_stat_notify_operator_logo_org" />
[COLOR="red"]<com.thanhfhuongf.networkspeedindicator.traffic.TrafficView android:id="@+id/panic_traffic" android:gravity="right|center" android:layout_width="wrap_content" android:layout_height="fill_parent" />[/COLOR]
<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= [user=898999]@dra[/user]wable/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_alignParentStart="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
Download this file V2
https://mega.co.nz/#!kJ9gXJab!YrQ0Ph9NfVoII7_s3WPg-UrN-nDs7IvrXbuXIXHtXqg
Click to expand...
Click to collapse
Coppy folder thanhfhuongf to SystemUI.apk\smali\com\
Done.
Credit and big thank to @dragoncbgx
Credit and big thank to @darkera13 for Fixed Show/hide network speed when switch on/off the internet connection (WiFi, 3G)
If i forget some body, let me know, i want Credits and thank too.
22222222222222222222222
+1
Gửi từ SM-N9005 của tôi
Can be applied to N900?
BSAKotb said:
Can be applied to N900?
Click to expand...
Click to collapse
Yes
@thanhfhuongf
Thank you mod your mods.
How can I make Network in-out when I am not connected?
How can I have the signal bar icon like your screenshot?
nasif69 said:
@thanhfhuongf
Thank you mod your mods.
How can I make Network in-out when I am not connected?
How can I have the signal bar icon like your screenshot?
Click to expand...
Click to collapse
1. Updated file smali in OP.
Fixed Show/hide network speed when switch on/off the internet connection (WiFi, 3G) By @darkera13
2. Check Original link my topic in samsungviet.vn. OP.
You will find the answer
Thanks for this guide.. I managed to make it work , but after applying this, whenever I try to open the recents_app my systemUI FC.. any idea why?
I started a logcat, but I can't understand what's the cause..
install.zip ?
Thanks man! Can you tell what line is vibro icon?
andreivv said:
Thanks for this guide.. I managed to make it work , but after applying this, whenever I try to open the recents_app my systemUI FC.. any idea why?
I started a logcat, but I can't understand what's the cause..
Click to expand...
Click to collapse
Well, what's the logcat say?
My Phone N900
I could not
you share a file in addition to applying
You forgot to add the id on your guide panic_traffic
Morningstar said:
Well, what's the logcat say?
Click to expand...
Click to collapse
I've attached an txt with the errors I get when I press the recent menu key
I think it's this part in particular
Code:
audit_ondenial is set to 1
02-08 14:31:24.438 E/AndroidRuntime(6743): FATAL EXCEPTION: main
02-08 14:31:24.438 E/AndroidRuntime(6743): Process: com.android.systemui.recentsactivity, PID: 6743
02-08 14:31:24.438 E/AndroidRuntime(6743): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.systemui/com.android.systemui.recents.RecentsActivity}: java.io.IOException: open failed: EACCES (Permission denied)
02-08 14:31:24.438 E/AndroidRuntime(6743): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2689)
02-08 14:31:24.438 E/AndroidRuntime(6743): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2756)
02-08 14:31:24.438 E/AndroidRuntime(6743): at android.app.ActivityThread.access$900(ActivityThread.java:177)
02-08 14:31:24.438 E/AndroidRuntime(6743): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
02-08 14:31:24.438 E/AndroidRuntime(6743): at android.os.Handler.dispatchMessage(Handler.java:102)
02-08 14:31:24.438 E/AndroidRuntime(6743): at android.os.Looper.loop(Looper.java:145)
02-08 14:31:24.438 E/AndroidRuntime(6743): at android.app.ActivityThread.main(ActivityThread.java:5940)
02-08 14:31:24.438 E/AndroidRuntime(6743): at java.lang.reflect.Method.invoke(Native Method)
02-08 14:31:24.438 E/AndroidRuntime(6743): at java.lang.reflect.Method.invoke(Method.java:372)
02-08 14:31:24.438 E/AndroidRuntime(6743): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1389)
02-08 14:31:24.438 E/AndroidRuntime(6743): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184)
02-08 14:31:24.438 E/AndroidRuntime(6743): Caused by: java.io.IOException: open failed: EACCES (Permission denied)
02-08 14:31:24.438 E/AndroidRuntime(6743): at java.io.File.createNewFile(File.java:941)
02-08 14:31:24.438 E/AndroidRuntime(6743): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2609)
Hmmm....it looks like some sort of permissions issue.... I'm not sure what permissions would be needed though, that aren't already declared in your SystemUI's manifest?
@thanhfhuongf .You forgot to add " <item type="id" name="panic_traffic">false</item> " in res/values/id.xml in your instruction mate.
filchi756 said:
@thanhfhuongf .You forgot to add " false " in res/values/id.xml in your instruction mate.
Click to expand...
Click to collapse
not required. it will create new.
@id/...
@+id/...
@thanhfhuongf
i have a poblem. if netork ped in rght side of statusar th blueooth Icon or Alarm Icon moves left right because the Network Icon has no fixed space. what code must Change for fix space for Network Icon?
asc1977 said:
@thanhfhuongf
i have a poblem. if netork ped in rght side of statusar th blueooth Icon or Alarm Icon moves left right because the Network Icon has no fixed space. what code must Change for fix space for Network Icon?
Click to expand...
Click to collapse
Yessss is problem [emoji20]
Perfect
Code:
So
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
[COLOR="Red"]<com.thanhfhuongf.networkspeedindicator.traffic.TrafficView android:id="@+id/panic_traffic" android:gravity="right|center" android:layout_width="wrap_content" android:layout_height="fill_parent" />[/COLOR]
<com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:alpha="0.74" />
<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" android:layout_marginStart="2.0dip" android:layout_marginEnd="@dimen/rssi_battery_gap" layout="@layout/signal_cluster_view" />
<TextView android:textSize="@dimen/battery_text_size" android:textColor="@color/battery_text_color" android:layout_gravity="center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:alpha="0.74" android:importantForAccessibility="no" android:fontFamily="sans-serif" android:layout_marginStart="@dimen/battery_text_marginStart" />
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/battery_icon_bottom_margin" android:alpha="0.74" android:layout_marginStart="0.0dip" />
<com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="3.0dip" />
</LinearLayout>
</LinearLayout>
@thanhfhuongf
thank you!! works perfectly on my LG G2 (kk 4.4.2)
just a curiosity......
it's possible to have two different colors for downloads and uploads?
gianni
Related
Saw THIS POST yesterday and quite interested to the mod, so I decided to make one.. and boom!! It works with a little bit modification from original post!
- Edited framework-res.apk and also SystemUI.apk taken from InsertCoin ROM, blue battery framework with overscroll enabled, packed into flash-able zip.
- App thumbnails was properly re-sized and app label text are properly aligned to locate below the thumbnail
- Support landscape horizontal scroll too
Here's the screen shots:
{
"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"
}
Works with:
- InsertCoin
- Any other ICS Sense ROMs with 3.32 base
NOTE:
- The SystemUI.apk in zip file was based on Leedroid Tweaks V3 mod by j4n87 and should works with all other ROMs that used the Tweaks
- If you are installing Leedroid Tweaks by your own then you can have this mod to works too
- The framework-res.apk is from InsertCoin with 3.32 base framework, if you experienced boot-loop after installing this mod you can open the zip file and delete the framework-res.apk, the framework is just to controlling the app thumbnail size and should not be a serious matter
- Remember.. MAKE A BACKUP FIRST before installing the mod! I will not taking any responsibility if you got boot-loop with no backup and lost all your data
Credits Goes To:
- evilisto
- brucekey
- baadnewz
- j4n87
- Any other else I forgot or have to mention??
DOWNLOAD: Below the post
Guide to mod for Sense ROM
Now we can make it for any other ICS Sense ROM too.. Here's the guide for mod them to other Sense ROM, thanks to evilisto for his details guide HERE and also brucekey for the original mods for Galaxy Nexus AOKP ROM
* framework-res.apk
- /res/values/dimens.xml : change thumbnail size to..
Code:
<dimen name="thumbnail_height">210.0dip</dimen>
<dimen name="thumbnail_width">170.0dip</dimen>
* This is for QHD device only (540 x 960)
* For WVGA (480 x 800) set height to 305 and width to 192
* SystemUI.apk
- /res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">true</bool>
- /res/values/drawables.xml
Code:
<item type="drawable" name="status_bar_recents_background_solid">#db000000</item>
* you can change it to any color by adjusting the value by your own
- /res/layout/status_bar_no_recent_apps.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="20.0dip" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" style="@com.htc:style/title_primary_m" />
</FrameLayout>
- /res/layout-port/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="170.0dip" android:layout_height="210.0dip" />
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="0.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
</FrameLayout>
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="170.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
- /res/layout-port/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
- /res/layout-land/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:foreground="@drawable/recents_thumbnail_fg" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" />
</FrameLayout>
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" />
</RelativeLayout>
</FrameLayout>
- /res/layout-land/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
Will make more details guide here when I got more free time..
Placeholder 2..
Looks interesting
Sent from my HTC Rezound via Tapatalk
MyColorScreen
Impressive Stuff !
Hi Jerry, nice work. I've applied your file into IC 5.1.7, and after long press the "home", it did show me the recent app in horizontal direction but the app "text" seems too close to the app image itself, therefore the text overlap on top of the app image in the bottom. Is there able to let the text some gap under the app image just like what you show in the thread ? Thanks.
chihliouma said:
Hi Jerry, nice work. I've applied your file into IC 5.1.7, and after long press the "home", it did show me the recent app in horizontal direction but the app "text" seems too close to the app image itself, therefore the text overlap on top of the app image in the bottom. Is there able to let the text some gap under the app image just like what you show in the thread ? Thanks.
Click to expand...
Click to collapse
Are you sure you are using my version rather than the another one in this forum? that one got text alignment problem but mine is aligned properly.. please re-download from this thread again and flash it
Tried the mod from the original post, now i got better thumbnail look Sense 4 style
I installed this zip bit nothing changed ??
Sent from my HTC Sensation 4G with Beats Audio using xda premium
Help
I have tried ur guide and it worked except that when in portrait mode when there is only one app in background i am getting a dark patch alongside the thumbnail and this doesnt seem to appear in landscape mode can anyone help me
{
"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"
}
Make CM10 Faster ☆ Kill All Tasks MOD ☆ Performance Tweaks For CM10 ☆ Themed Mms App ☆ Bluetooth Fix For CM10 ☆ Center Clock MOD CM10 ☆ Center Clock MOD CM9
Center Clock MOD
Attention!
Please Take A Nandroid Backup Before Using This MOD.
I AM NOT RESPONSIBLE IF YOU MESS UP YOUR PHONE
Installation Instructions
1. Download The MOD
2. Reboot Into Recovery
3. Flash The MOD
4. Reboot
Screenshots
Download:
CyanogenMOD 10
Download
Remics-JB
Download
How To
For Alpha 4
1. Decompile SystemUI.apk
2. Open SystemUI\res\layout
3. Open file status_bar with Notepad++
4. Replace all of it with:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:clickable="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<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/notification_icon_area" 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="@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_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:paddingLeft="2.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" />
<include android:id="@id/signal_cluster_text" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_text_view" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:singleLine="true" />
<ImageView android:gravity="bottom" android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.policy.CircleBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
</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:background="@drawable/notification_header_bg" 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>
5. Save & close the file
6. Open SystemUI\res\layout\drawable-hdpi
7. Download the image attached and replace it with the existing one
8. Recompile
Thanks bro.:good:
Bro, thanks you very much. But you can add all mod to .zip?:good:
bstienna said:
Bro, thanks you very much. But you can add all mod to .zip?:good:
Click to expand...
Click to collapse
Its already in .zip
You just need to flash it in CWM.
TopDroid said:
Its already in .zip
You just need to flash it in CWM.
Click to expand...
Click to collapse
will this work for cm10 alpha 4
rahul_rocks3 said:
will this work for cm10 alpha 4
Click to expand...
Click to collapse
No I don't think so. But I'll update the MOD for alpha 4.
Thank you for your job ! And for the update to Alpha 4
martin.la.gib said:
Thank you for your job ! And for the update to Alpha 4
Click to expand...
Click to collapse
Please use the guide in the second post to use it for Alpha 4!
Hello,
when you open the file with Notepad + + status_bar: it is only code that opens, is this normal? and when it is replaced by the text that you have given, it is normal letters.
how to recompile the apk? thank you
martin.la.gib said:
Hello,
when you open the file with Notepad + + status_bar: it is only code that opens, is this normal? and when it is replaced by the text that you have given, it is normal letters.
how to recompile the apk? thank you
Click to expand...
Click to collapse
For normal text to appear, you will have to decompile the apk and not just extract it.
For decompiling and recompiling, you can get many great guides on internet and XDA!
I'm not very good at hacking the file. I tested several software for decompiling and recompiling, but none work, there is always a mistake.
Anyway I'm going to get along ^ ^.
It does not work for me on Alpha 4, even after doing all the letter regarding the steps to make it compatible A4.
Thank you to myself for helping me! But especially to Darktitor
Topdroid, I asked you to help me but you sent for me to do it myself. I do not thank you for it. We can not all be good at it.
Finally, if you have the solution, why do not you remake apk supports A4? like this, with less hassle manip for all people who are in my same situation.
Excuse me if I get carried away a little
cordially
Not working get force close !!!
Remake the apk !!!
Envoyé depuis mon GT-I9003 avec Tapatalk
Darktitor said:
Not working get force close !!!
Remake the apk !!!
Envoyé depuis mon GT-I9003 avec Tapatalk
Click to expand...
Click to collapse
It's only for alpha 3
TopDroid said:
How To
For Alpha 4
1. Decompile SystemUI.apk
2. Open SystemUI\res\layout
3. Open file status_bar with Notepad++
4. Replace all of it with:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:clickable="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<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/notification_icon_area" 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="@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_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:paddingLeft="2.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" />
<include android:id="@id/signal_cluster_text" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_text_view" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="-3.0dip" android:singleLine="true" />
<ImageView android:gravity="bottom" android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.policy.CircleBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
</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:background="@drawable/notification_header_bg" 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>
5. Save & close the file
6. Open SystemUI\res\layout\drawable-hdpi
7. Download the image attached and replace it with the existing one
8. Recompile
Click to expand...
Click to collapse
You have give instruction to make it work and it doesn't so work !!!
Read what you have write before speak !!!
TopDroid said:
It's only for alpha 3
Click to expand...
Click to collapse
Envoyé depuis mon GT-I9003 avec Tapatalk
Darktitor said:
You have give instruction to make it work and it doesn't so work !!!
Read what you have write before speak !!!
Envoyé depuis mon GT-I9003 avec Tapatalk
Click to expand...
Click to collapse
Maybe you don't know how to do it. Leave it for some other developer. You won't be able to do it.
datktitor has already changed several Apk system that works very well. I use one of his apk
martin.la.gib said:
datktitor has already changed several Apk system that works very well. I use one of his apk
Click to expand...
Click to collapse
That's true a my work are working the opposite of some of your work XD
Look before speak !!!
Envoyé depuis mon GT-I9003 avec Tapatalk
After making few ROMS & mods On NOTE I , i thought let me share the few mods as well on NOTE II...so here we go!
{
"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"
}
Must Have
1. Apktool
2. Some knowledge about compiling and decompiling
3. 7zip
4. notepad++
5. backsmali
6. If my code are showing -- then remove those lines in the code and if it shows ++ then add those codes!
How to
Decompile both SystemUI and framework-res,apk using apktool
framework-res.apk
- /res/values/dimens.xml : change thumbnail size to..
PHP:
<dimen name="thumbnail_height">267.0dip</dimen>
<dimen name="thumbnail_width">168.0dip</dimen>
Change the dip values the way you want, but for galaxy Note II the above dip's fits correctly.
After this compile back and this is the only change needs to be done in framework-res.apk
* SystemUI.apk
Go to /res/values/bools.xml and make the changes as below:
PHP:
<bool name="config_recents_thumbnail_image_fits_to_xy">true</bool>
- go to /res/values/drawables.xml and make the following changes
PHP:
<item type="drawable" name="status_bar_recents_background_solid">#00000000</item>
Now you can change any background you want, by modifying the values of#00000000
go to - res/layout/tw_system_bar_no_recent_apps.xml and make the following changes
PHP:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
- <TextView android:textSize="24.0dip" android:textColor="#ffd7d7d7" android:gravity="left" android:layout_gravity="bottom|left|center" android:id="@id/recents_no_apps_string" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="70.0dip" android:text="@string/status_bar_no_recent_apps" />
+ <Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="center" android:id="@id/no_recent_apps_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="55.0dip" android:text="@string/status_bar_recent_launch_task_manager_title" />
+ <TextView android:textSize="20.0dip" android:textColor="@android:color/holo_blue_light" android:gravity="center_horizontal" android:layout_gravity="center" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
go to /res/layout-port/tw_status_bar_recent_panel.xml and make the following changes in the code!
PHP:
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
- <FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
- <ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
- <com.android.systemui.recent.RecentsVerticalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="vertical" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
- <LinearLayout android:orientation="vertical" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
- </com.android.systemui.recent.RecentsVerticalScrollView>
+ <FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
+ <ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
+ <com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
+ <LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
+ </com.android.systemui.recent.RecentsHorizontalScrollView>
<LinearLayout android:layout_gravity="bottom|center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="center" android:id="@id/shortcut_line" android:visibility="gone" android:layout_width="300.0dip" android:layout_height="1.0dip" android:src="@drawable/shortcut_head_line" android:scaleType="center" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/application_shortcut_layout" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="7.0dip">
go to res/layout-port/status_bar_recent_item.xml and make the following changes
PHP:
<?xml version="1.0" encoding="utf-8"?>
-<FrameLayout android:paddingTop="@dimen/status_bar_recents_item_padding" android:paddingBottom="@dimen/status_bar_recents_item_padding" android:layout_width="fill_parent" android:layout_height="wrap_content"
+<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
- <RelativeLayout android:layout_gravity="center_horizontal" android:id="@id/recent_item" android:layout_width="wrap_content" android:layout_height="wrap_content">
- <TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingTop="2.0dip" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:scrollHorizontally="true" android:singleLine="true" android:layout_alignTop="@id/app_icon" android:layout_alignParentLeft="true" />
- <FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:foreground="@drawable/recents_thumbnail_fg" android:layout_toRightOf="@id/app_label" android:layout_alignParentTop="true">
- <ImageView android:id="@id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" />
+ <RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
+ <FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:foreground="#00000000" android:layout_centerInParent="true">
+ <ImageView android:id="@id/app_thumbnail_image" android:paddingTop="60.0dip" android:layout_width="212.0dip" android:layout_height="455.0dip" android:layout_marginTop="30.0dip" android:scaleType="centerInside" />
</FrameLayout>
- <View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
- <ImageView android:id="@id/app_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_toRightOf="@id/app_label" />
- <TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="true" />
+ <ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="405.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" />
+ <TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
+ <TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
Go to res/layout-land/status_bar_recent_item.xml and make the following changes
PHP:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
- <RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content">
- <FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:foreground="@drawable/recents_thumbnail_fg" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
- <ImageView android:id="@id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" />
+ <RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
+ <FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:foreground="#00000000" android:layout_centerInParent="true">
+ <ImageView android:id="@id/app_thumbnail_image" android:layout_width="120.0dip" android:layout_height="320.0dip" android:scaleType="centerInside" />
</FrameLayout>
- <ImageView android:id="@id/app_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
- <TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" />
- <TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" />
+ <ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="225.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="20.0dip" android:maxHeight="20.0dip" />
+ <TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_icon" android:layout_alignParentBottom="true" />
+ <TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
go to /res/layout-land/tw_status_bar_recent_panel.xml and make the following changes
PHP:
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
- <FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
- <ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
- <com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
- <LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
+ <FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_centerVertical="true">
+ <ImageView android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" android:src="@drawable/status_bar_recents_background" />
+ <com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
+ <LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<LinearLayout android:layout_gravity="bottom|center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="center" android:id="@id/shortcut_line" android:visibility="gone" android:layout_width="450.0dip" android:layout_height="1.0dip" android:layout_marginTop="2.0dip" android:src="@drawable/shortcut_head_line" android:scaleType="center" />
Now open res/values/id.xml and add this one at the end of the file and make the following changes!
PHP:
<item type="id" name="no_recent_apps_launch_button">false</item>
go to smali/com/android/systemui/recent/RecentsPanelView.smali and make the following changes!
Since XDA doesn't allow to add more than 30000 characters , I have attached the difference code for RecentsPanelView.smali. Download it and make the following changes!
Download the code for recentspanelview.smali from here
now re-compile the systemui and framework and then flash the mod!
Credits
------------
1. Evilasato, Legend (SF)
Sense Mod Back.... Nice to see you again in Note2.
thanks , this is great :good:
It's a great work.
Martinhel
Revenge Developer Team
Inviato dal mio GT-N7000 con Tapatalk 2
Awesome like allways
Hugs my friend
Sent from my GT-N7100
Work
Gửi từ GT-N7100 của tôi bằng cách sử dụng Tapatalk 2
galaxy1210 said:
Work
Gửi từ GT-N7100 của tôi bằng cách sử dụng Tapatalk 2
Click to expand...
Click to collapse
You are always first in using this mod...:good:
Great work. Is awesome. But when editing "RecentPanelView.smali" gives me error when compiling. And without modifying is as the photo.
Help me please!
Enviado desde mi GT-N7100
galaxy1210 said:
Work
View attachment 1597407
Gửi từ GT-N7100 của tôi bằng cách sử dụng Tapatalk 2
Click to expand...
Click to collapse
which ROM u used??!!
---------- Post added at 09:23 PM ---------- Previous post was at 09:14 PM ----------
galaxy1210 said:
Work
View attachment 1597407
Gửi từ GT-N7100 của tôi bằng cách sử dụng Tapatalk 2
Click to expand...
Click to collapse
which ROM u used??!!
Thanks for great work for me it is work very very well in my rom thanks so good
My taste again comes to picture... Thankq bro....
I know you will be the first man to do this
How similar would this be if trying to use the MOD on the S3?
dr12volt1338 said:
How similar would this be if trying to use the MOD on the S3?
Click to expand...
Click to collapse
It would be similar... I guess someone already done in s3 by following the guide though...
Hey buddy great post...can you please provide a flashable zip for the note 2 (international)....i am getting recompilation error.
rohan999 said:
Hey buddy great post...can you please provide a flashable zip for the note 2 (international)....i am getting recompilation error.
Click to expand...
Click to collapse
I will try to do vrtheme , so that one can Flash irrespective of any rom
Hi, grgsiocl
How are you my friends...??
Im just upgraded from note to note2.
Miss classic rom deeply, hopefully can see classic rom again in note2 forum.
Sent from my GT-N7100 using xda premium
lee yun khong said:
Hi, grgsiocl
How are you my friends...??
Im just upgraded from note to note2.
Miss classic rom deeply, hopefully can see classic rom again in note2 forum.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Hey Lee. .. nice to see you buddy. .. pretty long time though. ... soon I will release the rom mate. .. been busy with work. ..welcome to note 2...
grgsiocl said:
Hey Lee. .. nice to see you buddy. .. pretty long time though. ... soon I will release the rom mate. .. been busy with work. ..welcome to note 2...
Click to expand...
Click to collapse
this good:good: news
and am witting for your greaaaaat rom
any ETA
grgsiocl said:
Hey Lee. .. nice to see you buddy. .. pretty long time though. ... soon I will release the rom mate. .. been busy with work. ..welcome to note 2...
Click to expand...
Click to collapse
Very excited mate....my note 1has loaded with classic final V6 before pass to my wife. She just very happy with the stable and great battery performance exist at your rom.
I will waiting with patient... take your time..thank you.
Sent from my GT-N7100 using xda premium
---------- Post added at 05:47 PM ---------- Previous post was at 05:46 PM ----------
iphonest said:
this good:good: news
and am witting for your greaaaaat rom
any ETA
Click to expand...
Click to collapse
It seems mr.grgsiocl busy with his work. No choice...wait and patient......by the way you might gonna try pheonix v3.6.
Sent from my GT-N7100 using xda premium
It looks good,but I have some problems when I eidt systemUI.apk:
1.What is the - and + mean? Is that means delete or add ?
2.What is the system version ? 4.1.X or 4.0.4?
THX
How to add Lockscreen and Recent app shortcut on notification panel
Assuming know how to use Apk-Multi-Tools (I am using majdini repacked one) , decompile SystemUI and go to layout folder, seek for tw_status_bar_expanded_header.xml.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
substitute it to
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
[COLOR="Red"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
Red lines are for this mod. First line is for Recent Apps icon and the second one for LockScreen icon.
Also after modifying mentioned XML you need to add corresponding .png photo to drawable-xhdpi which is called ic_sysbar_lock.png for lockscreen (sensitive must be added) and ic_sysbar_recent.png for recent Apps which is already there in drawable-xhdpi and I just resized it.
Compile and done.
Good Luck
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now you can download it here:
This mod is made for ALL Sammy 4.1.2 JB base roms. If want to try please make a backup first.
New pack would only add this mod to your SystemUI and you can freely flash it while keeping all of you previous mods on SystemUI.
- Added Universal Pack for ALL Firmwares, one pack for both System and preload - Working on LSZ,LT4, LT5,... 11.5.2013
- Added Lock Screen and Recent Apps on notification panel
{
"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"
}
Download HERE
How to change Notification Background and Text Color on drop down panel:
Thanks majdini for his turorial but as my this theme is kinda associated together I have no choice to repeat first part for Notification background.
Notification Background color
A- First of all you need to make notification background independent (I call it) from systemui.apk so that the color can be changed by hex code in framework.
1- Go to SystemUI/smali/com/android/systemui/statusbar/phone/ folder and open PhoneStatusBar.smali and search for "-0x100". There will be two lines; change them from
Code:
const/high16 v15, -0x100
to
Code:
const/high16 v15,[COLOR="Red"] 0x0[/COLOR]
there are two lines for -0x100, change theme both
2- Now go to framework-res/res/values/ folder and open drawables.xml and look for this line:
Code:
<item type="drawable" name="notification_item_background_color">#ff000000</item>
I changed it to
Code:
<item type="drawable" name="notification_item_background_color">[COLOR="Red"]#ffececec[/COLOR]</item>
This was for the background part.
Notification Text color
B- So now we need to change the notification's text color that should be done in framework:
Just search for StatusBar in Style.xml and change it as you like. Following are my changes:
Code:
<style name="TextAppearance.StatusBar.Title" parent="@style/TextAppearance.StatusBar">
<item name="textStyle">bold</item>
</style>
<style name="TextAppearance.StatusBar.Icon" parent="@style/TextAppearance.StatusBar" />
<style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">15.0dip</item>
<item name="textColor">[COLOR="Red"]#ff2e2e2e[/COLOR]</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent.Title">
<item name="textSize">20.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">#[COLOR="red"]#ff000000[/COLOR]</item>
</style>
<style name="Theme.WithActionBar" parent="@style/Theme">
<item name="windowActionBar">true</item>
The first #ff2e2e2e is for subtext's color (second row of notification)
Code:
<style name="TextAppearance.StatusBar.Ticker" parent="@style/TextAppearance.StatusBar" />
<style name="TextAppearance.StatusBar.EventContent.Line2" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_subtext_size</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Info" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_subtext_size</item>
<item name="textColor">[COLOR="red"]#ff2e2e2e[/COLOR]</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Time" parent="@style/TextAppearance.StatusBar.EventContent.Time">
<item name="textSize">15.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">[COLOR="Red"]#ff000000[/COLOR]</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Emphasis" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textColor">#[COLOR="red"]#ff2e2e2e[/COLOR]</item>
</style>
<style name="TextAppearance.Small.CalendarViewWeekDayView" parent="@style/TextAppearance.Small">
<item name="textStyle">bold</item>
Code:
<style name="TextAppearance.DeviceDefault.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent.Title">
<item name="textSize">20.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">#[COLOR="red"]#ff000000[/COLOR]</item>
So for these changes would result in this theme (only notification part)
Is it only for deodex ROM?
It'd be great to make it for Odex ROM too
cheyenne said:
Is it only for deodex ROM?
It'd be great to make it for Odex ROM too
Click to expand...
Click to collapse
You can make a backup and then rename/delete .odex file and then flash. This is an experimental way which I have been told in Arman theme and seems working.
Re: [Mod]JB LSZ_Lock screen and Recent Apps on notification Panel
OT, what font do u use on screenshot?
Sent from my GT-N7000 using Tapatalk 2
Re: [Mod]JB LSZ_Lock screen and Recent Apps on notification Panel
zai89 said:
OT, what font do u use on screenshot?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
It's called Caviar. So the font was more attention drawer than the mod
Sent from my GT-N7000 using Tapatalk HD
Re: [Mod]JB LSZ_Lock screen and Recent Apps on notification Panel
kmokhtar79 said:
This mod is made base on LSZ base rom, about other frameworks I haven't test this zip may work or not. If want to try please make a backup first.
- Added Lock Screen and Recent Apps on notification panel
Download
Preload, System
Click to expand...
Click to collapse
Thanks! One question, what type letter using?
Enviado desde mi GT-N7000 usando Tapatalk 2
Vibo7 said:
Thanks! One question, what type letter using?
Enviado desde mi GT-N7000 usando Tapatalk 2
Click to expand...
Click to collapse
Look at one post above. Caviar
Any chance we can get just the lock screen toggle on an existing status bar? I am running ultimate rom v5.2 with alliance mods for the various customisations. Only thing missing on that is a lock screen toggle like yours. Any way i can add it to that?
thanks
kmokhtar79 said:
Look at one post above. Caviar
Click to expand...
Click to collapse
Thanks friend, sorry, i missed.
Re: [Mod]JB LSZ_Lock screen and Recent Apps on notification Panel
Hello sir if i want to delete the recent what i need to do..pls help.thanks sir
Sent from my GT-N7000 using xda premium
How to for this mod added to OP
- Universal Pack for ALL 4.1.2 Sammy base firmwares
Downloadhttp://d-h.st/nrG
just one question, if i flash this mod, is my green circle battery mod still be there?
because there's one same mod here, after flashing, green circle battery is back to stock
sunrider07 said:
just one question, if i flash this mod, is my green circle battery mod still be there?
because there's one same mod here, after flashing, green circle battery is back to stock
Click to expand...
Click to collapse
This mod would add only recent apps and lock screen icon to your notification panel anf you would have all of previous mods. Just make a backup and flash over.
Sent from my GT-N7000 using Tapatalk HD
I've Just flashed it on Ultimate ROM v6 XXLT4. Works like a charm! thank you Kmokhtar79.
Sent from my GT-N7000 using xda app-developers app
kmokhtar79 said:
- Universal Pack for ALL 4.1.2 Sammy base firmwares
Downloadhttp://d-h.st/nrG
Click to expand...
Click to collapse
Can you please tell the font name you have installed on your phone as displayed in the picture?
Ubuntu font?
Sent from my GT-N7000 using Tapatalk 2
abhinav quietly brilliant said:
Can you please tell the font name you have installed on your phone as displayed in the picture?
Ubuntu font?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
It's called Caviar.
Sent from my GT-N7000 using Tapatalk HD
kmokhtar79 said:
It's called Caviar.
Sent from my GT-N7000 using Tapatalk HD
Click to expand...
Click to collapse
Thanx mate, in case anyone else need it http://d-h.st/WgP
Sent from my GT-N7000 using Tapatalk 2
kmokhtar79 said:
This mod is made for ALL Sammy 4.1.2 JB base roms. If want to try please make a backup first.
New pack would only add this mod to your SystemUI and you can freely flash it while keeping all of you previous mods on SystemUI.
- Added Universal Pack for ALL Firmwares - Working on LSZ,LT4, LT5,... 11.5.2013
- Added Lock Screen and Recent Apps on notification panel
Download HERE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Here is a how to for this mod:
Assuming know how to use Apk-Multi-Tools (I am using majdini repacked one) , decompile SystemUI and go to layout folder, seek for tw_status_bar_expanded_header.xml.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffcbcbcb" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
substitute it to
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
[COLOR="Red"]<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
Red lines are for this mod. First line is for Recent Apps icon and the second one for LockScreen icon.
Also after modifying mentioned XML you need to add corresponding .png photo to drawable-xhdpi which is called ic_sysbar_lock.png for lockscreen (sensitive must be added) and ic_sysbar_recent.png for recent Apps which is already there in drawable-xhdpi and I just resized it.
Compile and done.
Good Luck
Click to expand...
Click to collapse
1 thing to note. Press and hold the lockscreen shortcut will bring out the power button menu. Lockscreen shortcut act as a power button.
Has anyone tried adding the date to the status bar without downloading an app by modifying the SystemUI.apk?
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" androidaddingLeft="7.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_toLeftOf="@id/clock" />