{
"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"
}
Hello sorry I make this tuts in double post...
I wanna share my experience in moded tw30launcher.apk here.. hope this usefull
this Mod still have bug at at "List view" there something collide between app drawer and apps ( but it's ok on Landscape mode hope any dev can fix this you can share here )
1st we must have the tools you need to prepare :
- Fresh brain
- APK TOOL/APK Manager/Virtuos (For Compile/Decompile)
- Notepad ++ (if you use Virtuous Ten Studio, you don't need it)
Start : Pull your TouchWiz30Launcher.apk or you can Take this one
STEP 1: Decompile TouchWiz30Launcher.apk.(in here I use 5 icon Dock and I recomended you to use VTS for decompile/compile that's easy way .
# Navigate to res/layout-ldpi/and find launcher.xml. Find the following code in the file :
Code:
<ProgressBar android:layout_gravity="center" android:paddingBottom="@dimen/menu_top_item_height" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.sec.android.app.twlauncher.MenuManager android:id="@id/menumanager" android:paddingBottom="@dimen/menu_top_item_height" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.MenuDrawer>
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="5" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="109.32999dip" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
And Change to :
Code:
<ProgressBar android:layout_gravity="center" android:paddingTop="@dimen/menu_top_item_height" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.sec.android.app.twlauncher.MenuManager android:id="@id/menumanager" android:paddingTop="@dimen/menu_top_item_height" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.MenuDrawer>
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="top|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="5" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="top|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="109.32999dip" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
Then Find this code :
Code:
<ImageButton android:layout_gravity="bottom|center" android:id="@id/homescreen_edit_centerbtn" android:background="@drawable/homescreen_add_bg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/homescreen_add" />
Change to :
Code:
<ImageButton android:layout_gravity="top|center" android:id="@id/homescreen_edit_centerbtn" android:background="@drawable/homescreen_add_bg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/homescreen_add" />
# Navigate to res/layout-ldpi/and find launcher_iconmenu.xml . Find the following code in the file :
Code:
<ProgressBar android:layout_gravity="center" android:paddingBottom="81.34dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.sec.android.app.twlauncher.MenuManager android:id="@id/menumanager" android:paddingBottom="@dimen/menu_top_item_height_iconmenu" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.MenuDrawer>
<com.sec.android.app.twlauncher.TopFourZone android:layout_gravity="bottom" android:id="@id/topfour_zone" android:background="@color/softkey_background_dim" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height_iconmenu" />
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="82.66dip" android:layout_height="@dimen/menu_top_item_height_iconmenu" launcher:iconColumnCount="1" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="68.0dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
And Replace/Compare with :
Code:
<ProgressBar android:layout_gravity="center" android:paddingTop="81.34dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.sec.android.app.twlauncher.MenuManager android:id="@id/menumanager" android:paddingTop="@dimen/menu_top_item_height_iconmenu" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.sec.android.app.twlauncher.MenuDrawer>
<com.sec.android.app.twlauncher.TopFourZone android:layout_gravity="top" android:id="@id/topfour_zone" android:background="@color/softkey_background_dim" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height_iconmenu" />
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="top|center" android:id="@id/shortcut_zone" android:layout_width="82.66dip" android:layout_height="@dimen/menu_top_item_height_iconmenu" launcher:iconColumnCount="1" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="top|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.0dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
Then Find the red marker code :
Code:
[COLOR="Red"]<TextView android:textSize="18.0dip"[/COLOR] android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="-6.0dip" />
</FrameLayout>
</com.sec.android.app.twlauncher.DeleteZone>
<com.sec.android.app.twlauncher.WidgetPreview android:id="@id/widget_preview" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
[COLOR="red"]<ImageButton android:layout_gravity="bottom|center"[/COLOR] android:id="@id/homescreen_edit_centerbtn" android:background="@drawable/homescreen_add_bg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/homescreen_add" />
And change to :
Code:
[COLOR="red"]<TextView android:textSize="13.0dip"[/COLOR] android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="-6.0dip" />
</FrameLayout>
</com.sec.android.app.twlauncher.DeleteZone>
<com.sec.android.app.twlauncher.WidgetPreview android:id="@id/widget_preview" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
[COLOR="red"]<ImageButton android:layout_gravity="top|center"[/COLOR] android:id="@id/homescreen_edit_centerbtn" android:background="@drawable/homescreen_add_bg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/homescreen_add" />
# Navigate to res/layout-ldpi/and find workspace_screen.xml Change the following code in the file :
Code:
launcher:longAxisStartPadding="0.0dip" launcher:longAxisEndPadding="62.0dip"
With this one :
Code:
launcher:longAxisStartPadding="62.0dip" launcher:longAxisEndPadding="0.0dip"
# Navigate to res/values-ldpi/and find dimens.xml Change the red marker code in the file :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="title_texture_width">80.0dip</dimen>
<dimen name="cell_width">80.0dip</dimen>
<dimen name="cell_height">100.0dip</dimen>
<dimen name="cell_top">26.669983dip</dimen>
<dimen name="menu_item_height">78.34dip</dimen>
<dimen name="menu_item_vertical_space">0.0dip</dimen>
<dimen name="menu_item_top_space">4.0dip</dimen>
[COLOR="Red"]<dimen name="menu_top_offset">19.0dip</dimen>[/COLOR]
<dimen name="menu_top_offset2">0.0dip</dimen>
[COLOR="red"]<dimen name="menu_topapp_top_offset">2.0dip</dimen>[/COLOR]
[COLOR="red"]<dimen name="menu_top_item_height">60.0dip</dimen>[/COLOR]
<dimen name="menu_top_item_width">80.0dip</dimen>
<dimen name="menu_top_item_gap1">12.669983dip</dimen>
<dimen name="menu_top_item_gap2">34.669983dip</dimen>
<dimen name="menu_edit_left_offset2">0.0dip</dimen>
<dimen name="menu_edit_left_offset">0.0dip</dimen>
<dimen name="menu_edit_top_offset">0.0dip</dimen>
<dimen name="menu_item_icon_width">48.0dip</dimen>
<dimen name="menu_item_focus_margin">2.0dip</dimen>
<dimen name="menu_app_icon_size">48.0dip</dimen>
<dimen name="menu_delete_icon_top_offset">-1.3399963dip</dimen>
<dimen name="menu_delete_icon_right_offset">-1.3399963dip</dimen>
<dimen name="menu_lr_padding">0.0dip</dimen>
<dimen name="menu_right_offset">4.0dip</dimen>
<dimen name="widgetpreview_textsize">20.0sp</dimen>
<dimen name="workspace_pageindicator_top">0.0dip</dimen>
<dimen name="pageindicator_fontsize">13.329987dip</dimen>
<dimen name="pageindicator_gap">4.0dip</dimen>
<dimen name="pageindicator_moregap">4.0dip</dimen>
<dimen name="badge_top_offset">-8.0dip</dimen>
<dimen name="badge_right_offset">8.0dip</dimen>
<dimen name="badge_fontsize_default">16.0dip</dimen>
<dimen name="badge_fontsize_small">14.659973dip</dimen>
[COLOR="red"] <dimen name="quicknavi_menu_gapv">10.719971dip</dimen>
<dimen name="quicknavi_menu_gaph">10.719971dip</dimen>[/COLOR]
<dimen name="quicknavi_menu_left_offset">21.0dip</dimen>
<dimen name="quicknavi_menu_top_offset">8.0dip</dimen>
<dimen name="quicknavi_large_panel_size_short">135.0dip</dimen>
<dimen name="quicknavi_large_panel_size_long">189.0dip</dimen>
<dimen name="quicknavi_large_panel_size_long2">193.0dip</dimen>
<dimen name="defalut_imei_text_font_size">15.0sp</dimen>
<dimen name="defalut_imei_text_pos_x">100.0dip</dimen>
<dimen name="defalut_imei_text_pos_y">280.0dip</dimen>
<dimen name="defalut_imei_text_pos_y_gap">20.0dip</dimen>
<dimen name="defalut_imei_text_landscape_pos_x">280.0dip</dimen>
<dimen name="defalut_imei_text_landscape_pos_y">140.0dip</dimen>
<dimen name="menu_top_item_height_iconmenu">64.0dip</dimen>
<dimen name="scrollzone_width">50.659973dip</dimen>
<dimen name="pageindicator_top_offset">0.0dip</dimen>
<dimen name="pageindicator_gap_iconmenu">44.0dip</dimen>
[COLOR="red"]<dimen name="pageindicator_moregap_iconmenu">17.329987dip</dimen>[/COLOR]
<dimen name="pageindicator_start_offset">350.65625dip</dimen>
<dimen name="menu_item_width">102.66dip</dimen>
<dimen name="menu_item_icon_height">48.0dip</dimen>
<dimen name="menu_left_offset">2.6599731dip</dimen>
<dimen name="menu_left_start_offset">4.0dip</dimen>
<dimen name="deletezone_bottom_offset">0.0dip</dimen>
<dimen name="badge_top_offset_iconmenu">-1.3299866dip</dimen>
<dimen name="badge_right_offset_iconmenu">-28.0dip</dimen>
</resources>
Compare with this one :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="title_texture_width">80.0dip</dimen>
<dimen name="cell_width">80.0dip</dimen>
<dimen name="cell_height">100.0dip</dimen>
<dimen name="cell_top">26.669983dip</dimen>
<dimen name="menu_item_height">78.34dip</dimen>
<dimen name="menu_item_vertical_space">0.0dip</dimen>
<dimen name="menu_item_top_space">4.0dip</dimen>
[COLOR="red"]<dimen name="menu_top_offset">78.0dip</dimen>[/COLOR]
<dimen name="menu_top_offset2">0.0dip</dimen>
[COLOR="red"]<dimen name="menu_topapp_top_offset">17.0dip</dimen>
<dimen name="menu_top_item_height">75.0dip</dimen>[/COLOR]
<dimen name="menu_top_item_width">80.0dip</dimen>
<dimen name="menu_top_item_gap1">12.669983dip</dimen>
<dimen name="menu_top_item_gap2">34.669983dip</dimen>
<dimen name="menu_edit_left_offset2">0.0dip</dimen>
<dimen name="menu_edit_left_offset">0.0dip</dimen>
<dimen name="menu_edit_top_offset">0.0dip</dimen>
<dimen name="menu_item_icon_width">48.0dip</dimen>
<dimen name="menu_item_focus_margin">2.0dip</dimen>
<dimen name="menu_app_icon_size">48.0dip</dimen>
<dimen name="menu_delete_icon_top_offset">-1.3399963dip</dimen>
<dimen name="menu_delete_icon_right_offset">-1.3399963dip</dimen>
<dimen name="menu_lr_padding">0.0dip</dimen>
<dimen name="menu_right_offset">4.0dip</dimen>
<dimen name="widgetpreview_textsize">20.0sp</dimen>
<dimen name="workspace_pageindicator_top">0.0dip</dimen>
<dimen name="pageindicator_fontsize">0.0dip</dimen>
<dimen name="pageindicator_gap">4.0dip</dimen>
<dimen name="pageindicator_moregap">4.0dip</dimen>
<dimen name="badge_top_offset">-8.0dip</dimen>
<dimen name="badge_right_offset">8.0dip</dimen>
<dimen name="badge_fontsize_default">16.0dip</dimen>
<dimen name="badge_fontsize_small">14.659973dip</dimen>
[COLOR="Red"]<dimen name="quicknavi_menu_gapv">5.7199707dip</dimen>
<dimen name="quicknavi_menu_gaph">5.7199707dip</dimen>[/COLOR]
<dimen name="quicknavi_menu_left_offset">10.0dip</dimen>
<dimen name="quicknavi_menu_top_offset">8.0dip</dimen>
<dimen name="quicknavi_large_panel_size_short">135.0dip</dimen>
<dimen name="quicknavi_large_panel_size_long">189.0dip</dimen>
<dimen name="quicknavi_large_panel_size_long2">193.0dip</dimen>
<dimen name="defalut_imei_text_font_size">15.0sp</dimen>
<dimen name="defalut_imei_text_pos_x">100.0dip</dimen>
<dimen name="defalut_imei_text_pos_y">280.0dip</dimen>
<dimen name="defalut_imei_text_pos_y_gap">20.0dip</dimen>
<dimen name="defalut_imei_text_landscape_pos_x">280.0dip</dimen>
<dimen name="defalut_imei_text_landscape_pos_y">140.0dip</dimen>
<dimen name="menu_top_item_height_iconmenu">64.0dip</dimen>
<dimen name="scrollzone_width">50.659973dip</dimen>
<dimen name="pageindicator_top_offset">0.0dip</dimen>
<dimen name="pageindicator_gap_iconmenu">44.0dip</dimen>
[COLOR="red"]<dimen name="pageindicator_moregap_iconmenu">8.329987dip</dimen>[/COLOR]
<dimen name="pageindicator_start_offset">350.65625dip</dimen>
<dimen name="menu_item_width">102.66dip</dimen>
<dimen name="menu_item_icon_height">48.0dip</dimen>
<dimen name="menu_left_offset">2.6599731dip</dimen>
<dimen name="menu_left_start_offset">4.0dip</dimen>
<dimen name="deletezone_bottom_offset">0.0dip</dimen>
<dimen name="badge_top_offset_iconmenu">-1.3299866dip</dimen>
<dimen name="badge_right_offset_iconmenu">-28.0dip</dimen>
</resources>
For lil bit Transparent Mod
you can try this one :
Transparent Page Indicator :
# Navigate to res/values-ldpi/and find bools.xml Change the red marker code in the file :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="workspace_widget_padding">true</bool>
<bool name="workspace_pageindicator_showhide_enable">false</bool>
<bool name="pageindicator_showhide_enable">true</bool>
<bool name="bennettmode">false</bool>
[COLOR="Red"]<bool name="pageindicator_opacity">false</bool>[/COLOR]
</resources>
With this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="workspace_widget_padding">true</bool>
<bool name="workspace_pageindicator_showhide_enable">false</bool>
<bool name="pageindicator_showhide_enable">true</bool>
<bool name="bennettmode">false</bool>
<bool name="pageindicator_opacity">true</bool>
</resources>
Full Transparent App drawer :
# Navigate to res/values-ldpi/and find colors.xml Change the code in the file :
Find and Change :
Code:
<color name="menu_background">#55000000</color>
With :
Code:
<color name="menu_background">#00000000</color>
STEP 2 RECOMPILE Your Touchwiz30Launcher.apk
If you have trouble, you can use my code attached below...
This alternate guide :
1. Pull/Download touchwiz30launcher.apk above and decompile it..
2. download TW30TOP.zip and extract it..
3. Replace it with your xml is in TW30TOP.zip
4. Recompile.. and enjoy
or if you're lazy, you can download it on my other thread here . Hope You Enjoy
[MOD][Launcher] Touchwiz30 [Move app drawer Go to the top][UPDATED]
UPDATE 19/11/2010 [Remove Alphabetical Order]
How to remove alphabetical order on TW30 :
1. Decompile your tw30 , then
2. Go to /smali/com/sec/android/app/twlauncher/MenuManager.smali
Find and delete this code :
Code:
.line 1770
sget-object v0, Lcom/sec/android/app/twlauncher/LauncherModel;->APP_NAME_COMPARATOR:Ljava/util/Comparator;
3. Save and Recompile...
Now your ABC is removed..
CMIIW
Thx to Prayuts for this
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Just Some trick to fix list view :
1. Decompile tw30launcher
2. go to res/xml-ldpi and res/xml-land-ldpi and open "launcher_config.xml"
change :
Code:
launcher:useMainMenuListMode="true"
with :
Code:
launcher:useMainMenuListMode="false"
reserved
Reserved
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
reserve
hey bro. for transparant drawer , not on bools.xml , but in colors.xml
just info . nice GUIDE , i using ur guide on my ROM , with credits
YudhiezChitilieaz said:
hey bro. for transparant drawer , not on bools.xml , but in colors.xml
just info . nice GUIDE , i using ur guide on my ROM , with credits
Click to expand...
Click to collapse
Oh yeah im sorry for that...
my keyboard got an eror to type that...lol
What rom's bro?
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
This is a SS from galaxy Y pro duos
Can this be done (i also want to play with the TW launcher)
Sent from my Galaxy Y - A phone with Small Screen and Big Buttons
tjsgy said:
This is a SS from galaxy Y pro duos
Can this be done (i also want to play with the TW launcher)
Sent from my Galaxy Y - A phone with Small Screen and Big Buttons
Click to expand...
Click to collapse
Yes,it can be done and also the alphabetical sorting.Some small smali edits.I'm on mobile,so i cant post the codes.
Sent from my GT-S5360 using xda app-developers app
tjsgy said:
This is a SS from galaxy Y pro duos
Can this be done (i also want to play with the TW launcher)
Sent from my Galaxy Y - A phone with Small Screen and Big Buttons
Click to expand...
Click to collapse
I think it's the same with galaxy y duos ....
you can try to decompile your TW then compare with mine...
yo bro which smali code to edit to get alphabeticaly order ?
d3cka said:
yo bro which smali code to edit to get alphabeticaly order ?
Click to expand...
Click to collapse
Sory Im in mobile now..
You can get smali alphabetical order on zcop tw guide...search it.. theres a post smali code from prayuts...
Sent from my GT-S5360 using Xparent ICS Blue Tapatalk 2
Yes i seen that post but when i search the code its different so i guess im waiting for ur help..
Sent from my GT-S5360 using xda premium
can u edit this launcher to be non_alphabet one (normal one)
"Start : Pull your TouchWiz30Launcher.apk or you can Take this one"
i just want the 5x5
encik_racun said:
can u edit this launcher to be non_alphabet one (normal one)
"Start : Pull your TouchWiz30Launcher.apk or you can Take this one"
i just want the 5x5
Click to expand...
Click to collapse
quoting myself....can i have that? the one without ahphabet icon drawer?
encik_racun said:
quoting myself....can i have that? the one without ahphabet icon drawer?
Click to expand...
Click to collapse
sorry for waiting ..
Im busy with my band now
here I give some tuts to remove alphabetical order...check the 2nd post
zalzondabuzz said:
sorry for waiting ..
Im busy with my band now
here I give some tuts to remove alphabetical order...check the 2nd post
Click to expand...
Click to collapse
thanks...i will take a look and test it
---------- Post added at 04:14 PM ---------- Previous post was at 04:10 PM ----------
zalzondabuzz said:
How to remove alphabetical order on TW30 :
1. Decompile your tw30 , then
2. Go to /smali/com/sec/android/app/twlauncher/MenuManager.smali
Find and delete this code :
Code:
.line 1770
sget-object v0, Lcom/sec/android/app/twlauncher/LauncherModel;->APP_NAME_COMPARATOR:Ljava/util/Comparator;
3. Save and Recompile...
Now your ABC is removed..
CMIIW
Thx to Prayuts for this
Click to expand...
Click to collapse
damn! i look at that line maybe for 8-10 times but afraid to edit or delete it thanks for that....finally! phew!
:laugh::laugh:
Dont be affraid to start something...
That tuts tested and working fine...
zalzondabuzz said:
:laugh::laugh:
Dont be affraid to start something...
That tuts tested and working fine...
Click to expand...
Click to collapse
last question....do i need to delete resources.arsc in keep folder after edit the smali?
encik_racun said:
last question....do i need to delete resources.arsc in keep folder after edit the smali?
Click to expand...
Click to collapse
I f U use VTS , you don't need do that... except, you're using apktool/or other manually ....
Related
How to increase the font size?
Not with a App! I need it for my rom ...
I need a how to ;-)
Cheers DQiB
Sent from my GT-S5670 using XDA
i don no how to for a rom but do for an app even without root
Spare parts pro wil do it
Maybe romtool box will help you,!!!
Sent from my GT-S5670 using XDA
Font size in style.xml of framework-res or twframework-res
But Mostly it is in style.xml or in side a xml in layout-abcxyz folder of each apk
Detail:
with system apk: most using style in framework
So just find TextAppearance and change font size
Code:
<style name="TextAppearance.Medium" parent="@style/TextAppearance">
<item name="textSize">[COLOR="Red"]18.0sp[/COLOR]</item>
<item name="textStyle">normal</item>
<item name="textColor">?textColorPrimary</item>
</style>
If an apk dont use style.xml to define font side, you have to change font size in layout folder
Code:
<FrameLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="76.0dip" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" />
<TextView android:textSize="[COLOR="red"]12.0dip[/COLOR]" android:textStyle="bold" android:textColor="#ff000000" android:lineSpacingExtra="-5.0dip" android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_text" android:paddingTop="45.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/power_widget_button_indic" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:scaleType="fitXY" />
</FrameLayout>
Hi!
I figureout how to set transparent background color in CM10
{
"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"
}
1. Decompile SystemUI.apk (I'm using apktool 1.4.9)
2. Go to: %apktool_folder%\SystemUI\smali\com\android\systemui\statusbar\phone
3. Open in text editor file: PhoneStatusBar$FastColorDrawable.smali
4. replace whole line:
Code:
iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;->mColor:I
with
Code:
const v0, 0x6033b5e5
6033b5e5 => aarrggbb (a=alpha, r=red, g=green, b=blue) => this is semi-transparent ICS-blue color
After this method draw looks like:
Code:
.method public draw(Landroid/graphics/Canvas;)V
.locals 2
.parameter "canvas"
.prologue
.line 2632
const v0, 0x6033b5e5
sget-object v1, Landroid/graphics/PorterDuff$Mode;->SRC:Landroid/graphics/PorterDuff$Mode;
invoke-virtual {p1, v0, v1}, Landroid/graphics/Canvas;->drawColor(ILandroid/graphics/PorterDuff$Mode;)V
.line 2633
return-void
.end method
4a. For 'HighEndGfx' devices (like HTC One X) need to make something more:
4aa. Open file: %apktool_folder%\SystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali
4ac. Replace tree lines of code ( do not copy numbers!!):
Code:
1. invoke-static {v0}, Landroid/app/ActivityManager;->isHighEndGfx(Landroid/view/Display;)Z
2.
3. move-result v0
wiht one line of code ( do not copy numbers!!):
Code:
1. const v0, 0x0
4ad. Now fragment of method makeStatusBarView() looks like:
Code:
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplay:Landroid/view/Display;
const v0, 0x0
if-nez v0, :cond_0
5. Open SystemUI.apk with WinRAR or 7zip.
6. Compile SystemUI folder and go to %apktool_folder%\SystemUI\build\apk
7. Copy only classes.dex to SystemUI.apk.
8. Move SystemUI.apk to /system/app in phone.
9. Reboot.
10. Set permissions to rw-r-r (644)
11. ... and be happy to have transparent notification drawer.
---------------------------------------------------------------------------------
If you want to change toggles background you must decompile framework-res and see in colors.xml (res/values/colors.xml) which colors are described in this file.
Go to SystemUI decompiled folder ->open res/drawable/stat_power_background.xml with text editor -> change
Code:
<item android:state_pressed="false" android:drawable="@android:drawable/input_method_fullscreen_background" />
with
Code:
<item android:state_pressed="false" android:drawable="@android:color/black" />
---------------------------------------------------------------------------------
This is 100% working in CM10, don't know what about others JB roms.
Nice guide, it's really helpful!
Update!
Working for all devices with CM10!!
reaper61616 said:
Update!
Working for all devices with CM10!!
Click to expand...
Click to collapse
I got it because of you.
status bar for something, I just go crazy and find nothing.
sorry for my english
hello
thank you for your tutorial, I managed to have transparency, but I have a problem with the toggle who do transparent and are not very visible in your screen while the tutorial you can see the toggle with black background??
If you have an idea?
Thank you in advance.
Romu313 said:
hello
thank you for your tutorial, I managed to have transparency, but I have a problem with the toggle who do transparent and are not very visible in your screen while the tutorial you can see the toggle with black background??
If you have an idea?
Thank you in advance.
Click to expand...
Click to collapse
See first post
just a question
First, thank you for giving us such a good method. But there I have a question:
"If you want to change toggles background you must decompile framework-res and see in colors.xml (res/values/colors.xml) which colors are described in this file.
Go to SystemUI decompiled folder ->open res/drawable/stat_power_background.xml with text editor..."
You say to decompile framework-res, but modify parameter in SystemUI. That is what to make me confused.
sorry for my poor english!
PS:I dont find code like <item android:state_pressed="false" android:drawable="@android:drawable/input_method_fullscreen_background" /> in my stat_power_background.xml, this is mine:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
</selector>
SmallZG said:
First, thank you for giving us such a good method. But there I have a question:
"If you want to change toggles background you must decompile framework-res and see in colors.xml (res/values/colors.xml) which colors are described in this file.
Go to SystemUI decompiled folder ->open res/drawable/stat_power_background.xml with text editor..."
You say to decompile framework-res, but modify parameter in SystemUI. That is what to make me confused.
sorry for my poor english!
PS:I dont find code like <item android:state_pressed="false" android:drawable="@android:drawable/input_method_fullscreen_background" /> in my stat_power_background.xml, this is mine:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
</selector>
Click to expand...
Click to collapse
In your stat_power_background.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
</selector>
Add:
Code:
<item android:state_pressed="false" android:drawable="@android:color/[COLOR=red]<color from framework-res e.g. black -> @android:color/black>[/COLOR]" />
after:
Code:
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
Your stat_power_background.xml now will be like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@android:color/[COLOR=red]<color from framework-res e.g. black -> @android:color/black>[/COLOR]" />
</selector>
Where red colored font place color described in framework-res/res/values/colors.xml, e.g. black, white, transparent, etc.
reaper61616 said:
In your stat_power_background.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
</selector>
Add:
Code:
<item android:state_pressed="false" android:drawable="@android:color/[COLOR=red]<color from framework-res e.g. black -> @android:color/black>[/COLOR]" />
after:
Code:
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
Your stat_power_background.xml now will be like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@android:color/[COLOR=red]<color from framework-res e.g. black -> @android:color/black>[/COLOR]" />
</selector>
Where red colored font place color described in framework-res/res/values/colors.xml, e.g. black, white, transparent, etc.
Click to expand...
Click to collapse
Thank you for the method. i will try it.
How about statusbar itself, not drawer?
When I use transparent image then it's transparent everywhere not only on my 'desktop'.
ZduneX25 said:
How about statusbar itself, not drawer?
When I use transparent image then it's transparent everywhere not only on my 'desktop'.
Click to expand...
Click to collapse
For now statusbar can not be transparet cozz there are no background under wallpaper, we got strange effect if statusbar is transparent...
This is idea and no other way, it is transparent everywhere...
Nice!
Some colours table?
pabloltg said:
Nice!
Some colours table?
Click to expand...
Click to collapse
Don't understand question...
My question its if you have a colour table in numeric values like 0x6033b5e5.
pabloltg said:
My question its if you have a colour table in numeric values like 0x6033b5e5.
Click to expand...
Click to collapse
Here is a nice site for RGB colours in hex. u have to calculate transparency separately..
RGB colours in HEX: http://www.perbang.dk/rgb/00FFEE/
Transparency calculation guide: http://www.telerik.com/support/kb/aspnet-ajax/chart/setting-hexadecimal-value-for-color-transparency-of-radchart-elements.aspx
---------- Post added at 12:49 AM ---------- Previous post was at 12:38 AM ----------
I have a problem here. I cant get the black background for toggles. I did everything specified in the OP.
Here is the screenshot:
https://www.dropbox.com/s/www3kjzh0mg1x7z/2012-09-01%2000.44.07.png
Any solution for this?[
vaibhav palande said:
[/COLOR]I have a problem here. I cant get the black background for toggles. I did everything specified in the OP.
Here is the screenshot:
https://www.dropbox.com/s/www3kjzh0mg1x7z/2012-09-01%2000.44.07.png
Any solution for this?[
Click to expand...
Click to collapse
See this: http://forum.xda-developers.com/showpost.php?p=30762808&postcount=9
pabloltg said:
My question its if you have a colour table in numeric values like 0x6033b5e5.
Click to expand...
Click to collapse
http://reaper61616.xaa.pl/colors.php
Have nothing else to say...
reaper61616 said:
See this: http://forum.xda-developers.com/showpost.php?p=30762808&postcount=9
Click to expand...
Click to collapse
I read it. Should i enter that red line too???
---------- Post added at 06:05 PM ---------- Previous post was at 05:30 PM ----------
That is not helping. My stat_power_background.xml code is:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@android:color/black" />
</selector>
here is screenshot: https://www.dropbox.com/s/www3kjzh0mg1x7z/2012-09-01%2000.44.07.png
vaibhav palande said:
I read it. Should i enter that red line too???
---------- Post added at 06:05 PM ---------- Previous post was at 05:30 PM ----------
That is not helping. My stat_power_background.xml code is:
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<item android:state_pressed="true" android:drawable="@android:drawable/notification_item_background_color_pressed" />
<item android:state_pressed="false" android:drawable="@android:color/black" />
</selector>
here is screenshot: https://www.dropbox.com/s/www3kjzh0mg1x7z/2012-09-01%2000.44.07.png
Click to expand...
Click to collapse
Which files are you replacing in original apk? You need to replace res folder resources.arcs and classes.dex
Hi reaper61616
Galaxy S III has no "invoke-static {v0}, Landroid/app/ActivityManager;->isHighEndGfx(Landroid/view/DisplayZ"
What should I do?
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.
This guide will show how to add some extra information in about device menu with header category..
Needed tools:
1) APK decompiler tool (and ability to use it). You can download APK-Multi-Tool from here.
2) Notepad++ for xml editing from here.
3) OREO biscuit to make you high :cyclops:
The method:
- Decompile SecSettings.apk
- Navigate to res\values\ folder and open strings.xml file by Notepad++ and keep it open, we will need it later.
- Navigate to res\xml\ folder and open device_info_settings.xml file by Notepad++.
Now, I will divide the tutorial into 2 sections..
Section One: Adding header category for about device menu.
{
"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"
}
- In device_info_settings.xml, at the top, do these changes (remove the red > and add blue lines):
before:
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android"[B][COLOR="Red"]>[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
after:
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android"
[B][COLOR="Blue"]xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/about_gen" android:key="dummy_gen" />[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
Explaination: we added header category with dummy key reference.
- Now we need to add strings resources, open strings.xml and add this line string resource before </resources> line:
Code:
<string name="about_gen">[B][COLOR="Green"]General information[/COLOR][/B]</string>
You can change the green color text to whatever you want to display
Click to expand...
Click to collapse
- We have finished from section one.
Section Two: Adding About ROM new information.
- In device_info_settings.xml, go to the end and add these lines before </PreferenceScreen> line:
Code:
<PreferenceCategory android:title="@string/rom_info" android:key="dummy_key">
<Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_ver" android:key="rom_ver" android:summary="@string/rom_ver_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_date" android:key="rom_date" android:summary="@string/rom_date_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_name" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/dev_thanks" android:key="dev_thanks" android:summary="@string/dev_thanks_name" style="?android:preferenceInformationStyle" />
</PreferenceCategory>
N.B: all referred android:key here are dummy ones; i.e, don't do anything and it can be anything since it has no reference. You can't delete android:key; it must be there to prevent code fragmentation.
Click to expand...
Click to collapse
- Now we need to add strings resources, open strings.xml and add these lines string resources before </resources> line:
Code:
<string name="rom_info">[B][COLOR="Green"]About ROM[/COLOR][/B]</string>
<string name="rom_name">[B][COLOR="Green"]ROM name[/COLOR][/B]</string>
<string name="rom_name_details">[B][COLOR="Green"]GloryROM[/COLOR][/B]</string>
<string name="rom_ver">[B][COLOR="Green"]ROM version[/COLOR][/B]</string>
<string name="rom_ver_details">[B][COLOR="Green"]v4.5 with Multi-Languages and Multi-CSC[/COLOR][/B]</string>
<string name="rom_date">[B][COLOR="Green"]Release date[/COLOR][/B]</string>
<string name="rom_date_details">[B][COLOR="Green"]March 2013[/COLOR][/B]</string>
<string name="rom_developer">[B][COLOR="Green"]ROM developer[/COLOR][/B]</string>
<string name="rom_developer_name">[B][COLOR="Green"]majdinj - xda.developers.com[/COLOR][/B]</string>
<string name="dev_thanks">[B][COLOR="Green"]Thanks to[/COLOR][/B]</string>
<string name="dev_thanks_name">[B][COLOR="Green"]ThaiDai for his ML ROM base[/COLOR][/B]</string>
You can change the green color text to whatever you want to display
Click to expand...
Click to collapse
- We have finished from section two.
- Save changes.
Now recompile your SecSettings.apk, push it to your phone, fix permissions (644) and reboot.
So what to do now.. nothing except to eat OREO.. mm
The secret:
Anyone else could do this mod. If you just looked into other xml files, you will figure out how it is done. Here, I used accessibility_settings.xml and display_settings.xml as my references to achieve this..!!
If you think you are lost from all these information, here is my device_info_settings.xml; you can use it as a template for you..
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android" [B][COLOR="Green"]<!---- I removed [COLOR="Red"]>[/COLOR] sign from this line[/COLOR][/B]
[B][COLOR="Blue"]xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/about_gen" android:key="dummy_gen" />[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.HelpActivity" />
</PreferenceScreen>
<Preference android:title="@string/software_version" android:key="software_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/hardware_version" android:key="hardware_version_spr" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<PreferenceScreen android:title="@string/system_update_settings_list_item_title" android:key="system_update_settings">
<intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="software_update_settings" android:fragment="com.android.settings.SoftwareUpdateSettings" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="software_update_settings_no_subtree" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="system_update_settings_na_gsm" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="system_update_settings_vzw">
<intent android:action="android.intent.action.OMADM.UPDATE" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/additional_system_update_settings_list_item_title" android:key="additional_system_update_settings">
<intent android:targetPackage="@string/additional_system_update" android:action="android.intent.action.MAIN" android:targetClass="@string/additional_system_update_menu" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/diagnostics_and_usage_title" android:key="diagnostics_and_usage">
<intent android:action="android.intent.action.SAMSUNG_CRASHREPORT_SETTING" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/device_status" android:key="status_info" android:summary="@string/device_status_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Status" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/epush_settings" android:key="ctc_epush">
<intent android:targetPackage="com.ctc.epush" android:action="android.intent.action.MAIN" android:targetClass="com.ctc.epush.IndexActivity" />
</PreferenceScreen>
<Preference android:title="@string/sprint_4g_settings" android:key="sprint_4g_settings" android:fragment="com.android.settings.deviceinfo.Sprint4GSettings" />
<PreferenceScreen android:title="@string/legal_information" android:key="container">
<PreferenceScreen android:title="@string/copyright_title" android:key="copyright">
<intent android:action="android.settings.COPYRIGHT" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/license_title" android:key="license">
<intent android:action="android.settings.LICENSE" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/terms_title" android:key="terms">
<intent android:action="android.settings.TERMS" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/privacy_alert" android:key="privacy_alert">
<intent android:action="android.settings.PRIVACY_ALERT" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/license_settings" android:key="divx_license_settings">
<intent android:action="android.intent.action.DIVX_LICENSE_SETTINGS" />
</PreferenceScreen>
</PreferenceScreen>
<PreferenceScreen android:title="@string/settings_safetylegal_title" android:key="safetylegal">
<intent android:action="android.settings.SAFETY" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/activate_this_device" android:key="telespree_activation">
<intent android:action="com.telespree.android.client.ssa" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/label_settings" android:key="key_label_settings" />
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/installed_variant_version" android:key="installed_variant_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/hardware_version" android:key="hardware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="United Arab Emirates" android:key="country_certification_info" android:summary="TRA ID : 0016333/08\nTA : 000000000/00" style="?android:preferenceInformationStyle" />
[B][COLOR="Blue"]<PreferenceCategory android:title="@string/rom_info" android:key="dummy_key">
<Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_ver" android:key="rom_ver" android:summary="@string/rom_ver_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_date" android:key="rom_date" android:summary="@string/rom_date_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_name" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/dev_thanks" android:key="dev_thanks" android:summary="@string/dev_thanks_name" style="?android:preferenceInformationStyle" />
</PreferenceCategory>[/COLOR][/B]
</PreferenceScreen>
Cheers
Thanks mate.
Really useful
Works perfect.
Thanks.
Thanks a lot dude !!!!
Thanks a ton to satisfy my ego , Now you are the one who I can blame for adding a bit more ego to this attitude !!! :silly: :highfive:
Thank you. majdini great. now my ego is flying! :laugh:
Thanks majdini for your guides, really helpful, just wondered why not offering your apk-multi-tools pack, I am always using it and have never had any problem with. Thanks again for your utilities, tools and mods. :good:
mjrifath said:
Thanks mate.
Really useful
Click to expand...
Click to collapse
kenet said:
Works perfect.
Thanks.
Click to expand...
Click to collapse
Thanks for testing.
Immortal Nerd said:
Thanks a ton to satisfy my ego , Now you are the one who I can blame for adding a bit more ego to this attitude !!! :silly: :highfive:
Click to expand...
Click to collapse
asmanao said:
Thank you. majdini great. now my ego is flying! :laugh:
Click to expand...
Click to collapse
wow, ego just did its magic
kmokhtar79 said:
Thanks majdini for your guides, really helpful, just wondered why not offering your apk-multi-tools pack, I am always using it and have never had any problem with. Thanks again for your utilities, tools and mods. :good:
Click to expand...
Click to collapse
Mine is only repacked of stable java files at that time, but the actual tool was written by the inventor of APK multi-tool manager. I am still using my repack by the way but the new APK multi-tool manager has new features that deserve trying,,, by this way I think it is fair for the developer, so you can thank him for his master piece.
Samsung Note 3 clock widget on lockscreen .
Description
{
"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"
}
Steps
1.) Decompile framework-res.apk
2.) Download s4clokwidget.zip ,get the pngs and put it inside res/drawable of framework.
3.) Go to res/values/ids.xml and open it. And BEFORE </resources> put this code:
Code:
[COLOR=Red]<item type="id" name="first_digital">false</item>
<item type="id" name="second_digital">false</item>
<item type="id" name="dot_digital">false</item>
<item type="id" name="third_digital">false</item>
<item type="id" name="fouth_digital">false</item>
<item type="id" name="current_date">false</item>
<item type="id" name="time2">false</item>[/COLOR]
IT WILL BE LIKE THIS:
Click to expand...
Click to collapse
Code:
[COLOR=Red]<item type="id" name="first_digital">false</item>
<item type="id" name="second_digital">false</item>
<item type="id" name="dot_digital">false</item>
<item type="id" name="third_digital">false</item>
<item type="id" name="fouth_digital">false</item>
<item type="id" name="current_date">false</item>
<item type="id" name="time2">false</item>[/COLOR]
</resources>
and go to res/value/bool.xml open it add this code
<bool name="config_lock_screen_battery_animation_horizontal">true</bool>
Click to expand...
Click to collapse
before resources.
Now layout step
open res/layout/keyguard_screen_unlock_portrait.xml :
search for this
Code:
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="15.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="70.0sp" android:ellipsize="none" android:gravity="bottom" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="18.0sp" android:ellipsize="none" android:gravity="bottom" android:id="@id/am_pm" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="4.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
</com.android.internal.widget.DigitalClock>
Replace it with
Code:
<com.ninjask.internal.policy.impl.LockScreenDigitalClock android:gravity="center" android:layout_gravity="center" android:orientation="vertical" android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="25.0dip">
<LinearLayout android:id="@id/time2" android:layout_width="wrap_content" android:layout_height="58.0dip" android:layout_marginTop="40.0dip" android:layout_alignParentTop="true" android:layout_centerHorizontal="true">
<ImageView android:id="@id/first_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/second_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/dot_digital" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/zzz_unlock_clock_colon_s" />
<ImageView android:id="@id/third_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/fouth_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
</LinearLayout>
<TextView android:textSize="21.0sp" android:textColor="#fff0ffbb" android:gravity="center" android:id="@id/current_date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:shadowColor="#ff000000" android:shadowDx="0.0" android:shadowDy="1.0" android:shadowRadius="2.5" android:layout_below="@id/time2" android:layout_alignParentTop="true" />
</com.ninjask.internal.policy.impl.LockScreenDigitalClock>
</LinearLayout>
4.) Save and recompile it THEN get the recompiled framework-res.apk and decompile it AGAIN.
5.)Open framework-res/res/values/public.xml and REMEMBER this codes:
Code:
<public type="id" name="first_digital" id="public1" />
<public type="id" name="second_digital" id="public2" />
<public type="id" name="third_digital" id="public3" />
<public type="id" name="fouth_digital" id="public4" />
<public type="id" name="current_date" id="public5" />
<public type="string" name="full_wday_month_day_no_year" id="public6" />
<public type="bool" name="config_lock_screen_battery_animation_horizontal" id="public7" />
<public type="drawable" name="zzz_unlock_clock_0" id="clock0" />
<public type="drawable" name="zzz_unlock_clock_1" id="clock1" />
<public type="drawable" name="zzz_unlock_clock_2" id="clock2" />
<public type="drawable" name="zzz_unlock_clock_3" id="clock3" />
<public type="drawable" name="zzz_unlock_clock_4" id="clock4" />
<public type="drawable" name="zzz_unlock_clock_5" id="clock5" />
<public type="drawable" name="zzz_unlock_clock_6" id="clock6" />
<public type="drawable" name="zzz_unlock_clock_7" id="clock7" />
<public type="drawable" name="zzz_unlock_clock_8" id="clock8" />
<public type="drawable" name="zzz_unlock_clock_9" id="clock8" />
REMEMBER THIS: when you remeber the public ids, remove the 0 next to x, (FOR EXAMPLE: 0x01234567 change it to this: 0x1234567).
6.) Decompile android.policy.jar.
7.) Download ninjask.zip and extract it to smali folder.
8.) Now..... (I hate this ids ids ids... xD) Open LockScreenDigitalClock.smali FIND this line and REPLACE the highlighted code:
Code:
const v2, [COLOR=Red]0x108048b[/COLOR]
REPLACE 0x 0x108048b with your YOUR clock0
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048c[/COLOR]
REPLACE 0x108048c with your YOUR clock1
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048d[/COLOR]
REPLACE 0x108048d with your YOUR clock2
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, [COLOR=Red]0x108048e[/COLOR]
REPLACE 0x 0x108048ewith your YOUR clock3
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048f [/COLOR]
REPLACE 0x 0x108048f with your YOUR clock4
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080490 [/COLOR]
REPLACE 0x 0x1080490 with your YOUR clock5
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080491 [/COLOR]
REPLACE 0x 0x1080491 with your YOUR clock6
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080492 [/COLOR]
REPLACE 0x 0x1080492 with your YOUR clock7
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080493 [/COLOR]
REPLACE 0x 0x1080493 with your YOUR clock8
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080494 [/COLOR]
REPLACE 0x 0x1080494 with your YOUR clock9
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v8, 0x[COLOR=Red]10400a7 [/COLOR]
REPLACE 0x10400a7 with your YOUR public6
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020254 [/COLOR]
REPLACE 0x1020254 with your YOUR public1
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020255 [/COLOR]
REPLACE 0x1020255 with your YOUR public2
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020257 [/COLOR]
REPLACE 0x1020257 with your YOUR public3
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020258 [/COLOR]
REPLACE 0x1020258 with your YOUR public4
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020259 [/COLOR]
REPLACE 0x1020259 with your YOUR public5
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v1, [COLOR=Red]0x10d0021 [/COLOR]
REPLACE 0x10d0021 with your YOUR public7
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
9.) Save LockScreenDigitalClock.smali.
10.) Almost There! recompile android.policy.jar.
11.) Flash your recompiled android.policy.jar and framework-res.apk
12.) If it works, JUMP! if not, tell me, maybe i forgot somethin
I provided this flashable zip you can use it for your Flashing lockscreen (FLASHABLE.ZIP)
Now thread is updated:fingers-crossed:
1 .if you are using my work so plz give me credit . because i spend many night and days for getting success.
and
If you are porting this guide to To another inform me first . then i will create a seprate guide for your device.
by giving you credit and tester
nice guide trying tommorow
Great JOB
awesome guide bro
trying now & let me inform u whats the result:laugh:
no link to download s4clokwidget.zip... ¿?
soory now link updated
Carl_47 said:
no link to download s4clokwidget.zip... ¿?
Click to expand...
Click to collapse
sorry link updated now
No more of it...??
Wanna try it in A63..!!