(Guide) How to add fab in your app with animated Submenu - Android General

{
"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"
}
Hi Friends .Today I am going to share my new guide. How to add fab in your app with animated Submenu. Well great news is it support in GingerBread too. Thats why I named it Droidbuster Fabulous fab . . Here I created fab circle view by using xml. well i saw many developer create their fab circle imageView using Photoshop or gimps etc. but it take time and more skills. So i thought to create Fab circle image view using xml drawable. And here i will also help you to create Fab images in xmls .​
So let Start.
Decompile that application in which you want to add fab Button.
Now download This droidbuster_fabulous_fab_res.zip
Now we need to extract above droidbuster_fabulous_fab_res.zip .then copy my resources in your app res folder.
Now we need to place this Fab button in our layout.
then put this code in it.
Code:
<RelativeLayout android:id="@+id/fabcontent" android:layout_width="400.0dip" android:layout_height="200.0dip" android:layout_marginBottom="34.0dip" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true">
<com.droidbusterfabolous.fab1 android:id="@+id/fab1" android:background="@drawable/fab_shape" android:layout_width="72.0dip" android:layout_height="72.0dip" android:layout_marginTop="22.0dip" android:layout_marginRight="24.0dip" android:src="@drawable/ic_call" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
<com.droidbusterfabolous.fabmain android:id="@+id/fabu" android:background="@drawable/fab_shape" android:layout_width="92.0dip" android:layout_height="92.0dip" android:src="@drawable/fab_ic_add" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
<com.droidbusterfabolous.fab3 android:id="@+id/FAB3" android:background="@drawable/fab_shape" android:layout_width="72.0dip" android:layout_height="72.0dip" android:layout_marginRight="15.0dip" android:src="@drawable/ic_supervisor" android:layout_toLeftOf="@+id/fab1" android:layout_alignParentBottom="true" />
<com.droidbusterfabolous.fab2 android:id="@+id/fab2" android:background="@drawable/fab_shape" android:layout_width="72.0dip" android:layout_height="72.0dip" android:src="@drawable/ic_chat" android:layout_toLeftOf="@+id/fabu" android:layout_centerVertical="true" />
</RelativeLayout>
Now download this Smali source of Fabs_animation_smali.zip .
After download Extract the Fabs_animation_smali.zip .- Now, Copy the "droidbusterfabolous" folder to \smali\com\(here)
Well you have done your first part .Now Recompile your Application :fingers-crossed:
Now Decompile your application .Now this is our smalli editing part.
Remember search for fab1.smali fab2.smali fab3.smali .
open fab1.smali . Search for 0x7f040002 .Now open your public.xml find anim_rotate_show_fab . Now replace it public id with 0x7f040002 .
Now again search for 0x7f040001 . Now again open your public.xml find anim_rotate_hide_fab . Now replace it public id with 0x7f040001 .
Do same step with fab2.smali .Search for 0x7f040002 .Now open your public.xml find anim_rotate_show_fab . Now replace it public id with 0x7f040002 .
Now again search for 0x7f040001 . Now again open your public.xml find anim_rotate_hide_fab . Now replace it public id with 0x7f040001 .
Do same step with fab3.smali .Search for 0x7f040002 .Now open your public.xml find anim_rotate_show_fab . Now replace it public id with 0x7f040002 .
Now again search for 0x7f040001 . Now again open your public.xml find anim_rotate_hide_fab . Now replace it public id with 0x7f040001 .
Now search open this smalis .Now open fab1$1.smali , fab2$1.smali, fab3$1.smali with Notepad++ .
In this smali you have to Search for <!-- android:targetPackage --> Now change this your desired target package name.dont know what is this? targetPackage Name? I will explain in another post .haha!
and Now Search for <!-- android:targetClass --> Change this code to your desired target Class Name.
For example here is my my Targetpackage Name and targetClass name
Code:
android:targetPackage="com.android.mms"
android:targetClass="com.android.mms.ui.ConversationList
Now every thing done. compile your apk now push to your system.so now you can see your working fab button in Relativelayout :fingers-crossed:
I am here attaching my source of app where i added fab button so you can get pngs and example of layouts.:highfive:
I want to make my work aosp so i will upload my codes to Github
Download Fabulous Fab Github Source
​
​
Press Thanks Button If you Like My Work.
NOTE : Please Dont Rename Smali To your . Please Respect devs work .Like you always do Hehe . :fingers-crossed:​
​

reserved for more
reserved for more feature

First blood.. nice guide sir.

Nice Guide

Nice guide Bro....
Will try it .....

aryan_ar said:
Nice Guide
Click to expand...
Click to collapse
Welcome aryan . test it and give review too.
i attached saMPLE APK

Droidbuster said:
reserved for more feature
Click to expand...
Click to collapse
Great JOB dude
trying it soon

tnx

I like your work sir but
I have a Question that is I place fab Button in my recent menu but I am confused that in which jar I place fab Button smali in framework.jar or android policy.jar

The link is dead…
Sorry for my bad English.
来自华为荣耀畅玩4C CHM-TL00H -天生急性子 Android 小楼阁

Related

[MOD/HOW-TO][CM10][V2][5-10-2012]Notification Drawer Tweaks

Just want to share a Mod I did on the CM10 status bar when pulled down. By default, when the notification drawer is pulled down, the status bar is hidden. I didn't like it, so I tweaked the layout to make it look like CM9 and before. Also I noticed that the 'Clear All' button gets pushed out due to the large font of the time and also due to the settings button. So I removed the settings button from the layout (I never use it anyways) I made the Top section a horizontal scroll view. And this is how it looks like...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you're curious how I did this, following are the steps(for v1):
1. Decompile the SystemUI.apk.
2. Goto res/layout/super_status_bar.xml
3. In that find :
Code:
<include android:layout_width="fill_parent" android:layout_height="0.0dip" layout="@layout/status_bar_expanded"/>
Modify it to:
Code:
<include android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginTop="@android:dimen/status_bar_height" layout="@layout/status_bar_expanded"/>
4. Then go to layout/status_bar_expanded.xml and find
Code:
<TextView android:id="@id/carrier_label" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:layout_gravity="bottom" android:gravity="center" android:visibility="invisible"/>
Modify it to
Code:
<TextView android:id="@id/carrier_label" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:layout_gravity="bottom" android:layout_marginBottom="57dip" android:gravity="center" android:visibility="invisible"/>
This dip value maybe different for different devices. It's necessary because your close handle and carrier label will be shifted below due to the first mod. So it's a trial error.
5. Next in the same file find...
Code:
<com.android.systemui.statusbar.phone.CloseDragHandle android:id="@id/close"....
Add this property to it...
Code:
android:layout_marginBottom="@android:dimen/status_bar_height" android:paddingBottom="-10dip"
marginBottom dimen is fixed but padding bottom depends on your device.
6. To remove settings button, find the following in layout/status_bar_expanded_header.xml:
Code:
<ImageView android:layout_width="48.0dip" android:layout_height="48.0dip" android:id="@id/settings_button" android:contentDescription="@string/accessibility_settings_button" android:scaleType="center" android:src="@drawable/ic_notify_quicksettings"/>
Modify it to
Code:
<ImageView android:layout_width="48.0dip" android:layout_height="48.0dip" android:id="@id/settings_button" android:contentDescription="@string/accessibility_settings_button" android:scaleType="center" android:visibility="gone" android:src="@drawable/ic_notify_quicksettings"/>
7. To change Notification Drawer Bg color, follow this thread.
8. Thats it. Recompile and enjoy.
Click to expand...
Click to collapse
v2
Tweaked for CM10 A2
Instead of removing the settings shortcut, made the header a Horizontal ScrollView, i.e., Now you can scroll the top section(with the clock) to reveal the Clear All icon.
Lowered the Transparency of background.
v1
Status Bar always seen.
Settings shortcut in notification drawer removed.
Drawer background changed.
Instructions:
1. Download zip from the attachment.
2. Rename to SystemUI.apk
3. Place it in a system folder and change permissions to rw-r-r.
4. Replace it in /data/sys-parts/app/ (that's where our system apps are).
5. Reboot.
Note: Change permissions before replacing the apk because SystemUI starts force closing after replacement. Don't worry about the force closes. After reboot everything will be ok.
Also if anyone makes a flashable zip, plz post it. I'll add it in the OP.
Thanx.
​
Works perfect. Persistent status bar.
Sent from my GT-I9003 using xda premium
@ ammar
Superb buddy...
Thx :thumbup:
Sent from my GT-I9003 using xda app-developers app
@Ammar786 .. what tool did you use to decompile and recompile systemui.apk ? Any link to a guide or tutorial?
Hetalk said:
@Ammar786 .. what tool did you use to decompile and recompile systemui.apk ? Any link to a guide or tutorial?
Click to expand...
Click to collapse
I use Tickle My Android. Check it out.
THanks man ... but am done for the day ...
See if you're interested in modding statusbar per tutorial http://forum.xda-developers.com/showthread.php?t=1835833&highlight=cm10
Hetalk said:
THanks man ... but am done for the day ...
See if you're interested in modding statusbar per tutorial http://forum.xda-developers.com/showthread.php?t=1835833&highlight=cm10
Click to expand...
Click to collapse
Hmmm.. Seems easy... May do it later... Currently I'm doing something else. If I get time i'll do it.
Hetalk said:
THanks man ... but am done for the day ...
See if you're interested in modding statusbar per tutorial http://forum.xda-developers.com/showthread.php?t=1835833&highlight=cm10
Click to expand...
Click to collapse
Thank you, i was looking for something like that! :good:
Is there any way to make the background a little transparent?
dj_stikes said:
Is there any way to make the background a little transparent?
Click to expand...
Click to collapse
Yeah there is. I'll post it here asap.
Guys... Want to ask something... Do you want fully transparent bg or semi-transparent?
^^ Blueish transparent
Hetalk said:
^^ Blueish transparent
Click to expand...
Click to collapse
Bluish transparent?... Let's see how it looks... Will reply back with some screenshots...
So this is how it'll look like with Blue...
^^ perfect ... gimme gimme
I hope it wont break the other tweaks you made.
Hetalk said:
^^ perfect ... gimme gimme
I hope it wont break the other tweaks you made.
Click to expand...
Click to collapse
Nope it won't, wait I'm fixing the Carrier Label Text Color.
Ok... Here it is... Attached... Will update the OP too...
^^ Amazing work man ... too good ... see screenshots. This is exactly what I wanted.
Haven't test it because i am in remics jb that already have tweaked statusbar but it look great.Anyway thanks:thumbup:
Sent from my GT-I9003 using xda premium

Themers. and Devs, Enable ink lockscreen in the sgs4. preconfigured

UNTESTED
so ink lockscreen comes pre configured in the sgs4, but all it needs is a place in the settings so..
all we have to do is
Decompile SecSettings.apk
Go to \res\xml folder and open lockscreen_settings.xml
Search for "CheckBoxPreference android:title="@string/ripple_effect"
then right below it replace the current inkeffect configuration cmds with these
Code:
<PreferenceScreen android:title="@string/ink_effect" android:key="ink_effect">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.InkeffectPreview" />
</PreferenceScreen>
then save it and Compile *if you can*
the only problem is that most of these SGS4 4.2.2 apks are to hard to decompile and compile so i havent tested this yet, so if anyone is able to
succeed in testing this. please give back feedback for testing :highfive: :highfive: :good: :good:
@cabloomi Doesnt work. I tested both by selecting the rippleeffect and also light effect! i modifed the same at line 25
<PreferenceScreen android:title="@string/ink_effect" android:key="ink_effect">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.InkeffectPreview" />
</PreferenceScreen>
I will have a look further in the smali files!
@grgsiocl , how are you able to decompile and compile it. i have many mods in mind that include the SecSettings.apk
but it wont go back and compile even if i dont touch or change anything. please zip your work space and send it to me. lol like the apktool and the framwork base's 1 and 2.
and i think it might be CSC activated like we figured out recently that the call recorder mod is also
cabloomi said:
@grgsiocl , how are you able to decompile and compile it. i have many mods in mind that include the SecSettings.apk
but it wont go back and compile even if i dont touch or change anything. please zip your work space and send it to me. lol like the apktool and the framwork base's 1 and 2.
and i think it might be CSC activated like we figured out recently that the call recorder mod is also
Click to expand...
Click to collapse
i can easily do it as i am using the newsest version apktool. I also pushed framewrok-res.apk, twframework-res.apk and ssytemui. I will upload the apktool for you in a minute!
Edit uploaded the tool here! Just push the corresponding frameworks after extracting the zip and you are good to go! I am also using the backsmali /smali versio 2.0 , that also will upload it!
i made centerclock for the s4, want it @grgsiocl
maybe you can make a black transparent bar
and thank you for the apktool. it worked perfectly
If you already done it, then share please. I always love to have missing features in phone
Sent from my GT-I9500 using Tapatalk 2
grgsiocl said:
If you already done it, then share please. I always love to have missing features in phone
Sent from my GT-I9500 using Tapatalk 2
Click to expand...
Click to collapse
the clock wont roll out the way for a notification. so.. help me. this is what i did to get it center
decompile SystemUI.apk
Navigate to res/layout/status_bar.xml
Look for a line that starts with
Code:
<com.android.systemui.statusbar.policy.Clock
and i deleted it.
then added these lines
Code:
<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="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
under this line
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
then i changed the clock from blue to white
from this line
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@*android:color/holo_blue_light</item>
</style>
I change the
<item name="android:textColor">@*android:color/holo_blue_light</item>
to <item name="android:textColor">#ffffffff</item>
so now its center, but it wont roll out the way for a notification
any ideas @grgsiocl
never mind. got it working, but its kinda glitchy
Cabloomi,
If you did not code this, please provide a link and credit to the "original" author.
Thanks
Sent from my GT-I9500 using xda premium
and what do i do if i did code it??
nothing right. ?
cabloomi said:
and what do i do if i did code it??
nothing right. ?
Click to expand...
Click to collapse
There is lots of info on the net for this mod...... and been for a long time.
I was just asking, not accusing you, because you would have wasted your time otherwise
Sent from my GT-I9500 using xda premium
UpInTheAir said:
There is lots of info on the net for this mod...... and been for a long time.
I was just asking, not accusing you, because you would have wasted your time otherwise
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
Remember this from last year
{
"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"
}
lol. i still have that message in my inbox
cabloomi said:
Remember this from last year
lol. i still have that message in my inbox
Click to expand...
Click to collapse
Yeah, do remember and still stick by it mate.
I am not criticizing you. I still encourage you to keep at it, but please try and provide links and credits to any "original" work you may have borrowed to edit. That's all.
Cheers,
UITA
BTW off topic .... Noticed you have a ROM out. Nice work. You'll notice on my signature I've been cooking also for the P6810 & P6800. More to do soon as JB just released
Sent from my GT-I9500 using xda premium

[GUIDE] duplicate activity at settings.apk

hi guys I'll give you a way to create a apk like the creed parts.apk without creating file apk like on screenies:
{
"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"
}
File Required:
1. Settings.apk
2. Tools to compile/decompile
3. Brain
Tuts:
1. decompile then compile again your settings.apk to check if there is an error or not
2. after it, decompile again
3. go to folder \smali\com\android\settings
4. copy 2 file smali TestingSettings.smali, TestingSettingsBroadcastReceiver.smali
5. just copy it there will appear -copy.smali
6. then rename. for example: Octo1.smali, Octo2.smali
7. open octo1.smali, find and replace com/android/settings/TestingSettings to com/android/settings/Octo1
8. find TestingSettings.java, replace to Octo1.java
9. open Octo2.smali, find and replace com/android/settings/TestingSettingsBroadcastReceiver to com/android/settings/Octo2
10. find and replace com/android/settings/TestingSettings to com/android/settings/Octo1 then find TestingSettingsBroadcastReceiver.java rename to Octo2.java. save
11. open res/xml
12. copy and paste Testing_Settings.xml and there will appear -copy.xml
13. rename to octo1.xml
14. delete all on octo1.xml and then write this. for example i use DSP Manager
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/tittle"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.IconPreferenceScreen android:title="DSPManager" android:summary="Setting Sound Equalizer" settings:icon="@drawable/ic_settings_dsp">
<intent android:targetPackage="com.bel.android.dspmanager" android:action="android.intent.action.MAIN" android:targetClass="com.bel.android.dspmanager.activity.DSPManager" />
</com.android.settings.IconPreferenceScreen>
</PreferenceScreen>
Click to expand...
Click to collapse
15. then save
16. open public.xml
17. enter the name of the new xml that we make to the public. +1 of the largest on the xml id. for example
<public type="xml" name="tab_settings" id="0x7f04003c" />
<public type="xml" name="octo1" id="0x7f04003d" />
Click to expand...
Click to collapse
18. the new id of octo1 copy to octo1.smali
19. then, open androidmanifest. find "TestingSettings"
20. copy this 2 parts:
<activity android:label="@string/tittle" android:name="TestingSettings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name="TestingSettingsBroadcastReceiver">
<intent-filter>
<action android:name="android.provider.Telephony.SECRET_CODE" />
<data android:scheme="android_secret_code" android:host="4636" />
</intent-filter>
</receiver>
Click to expand...
Click to collapse
21. TestingSettings rename to Octo1, TestingSettingsBroadcastReceiver rename to Octo2, android:host="4636" rename to android:host="666"
22. final step, open settings.xml. paste this everywhere you want
<com.android.settings.IconPreferenceScreen android:title="@string/tittle" settings:icon="@drawable/ic_settings_octo">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.IllegalSettings" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
23. android:targetClass="com.android.settings.IllegalSettings" replace to android:targetClass="com.android.settings.Octo1"
24. compile. make sure you don't get error
25. sign-in settings
26. flash
sorry if my english is bad. thanks
fully credit to Rata Bila Bagi
Gonna try this! Reserved!
Can i make 3 tabs using duplicating the octo1 again?
TheDemiGod said:
Gonna try this! Reserved!
Click to expand...
Click to collapse
good luck bro
3r41nl33n said:
Can i make 3 tabs using duplicating the octo1 again?
Click to expand...
Click to collapse
no. this tuts just to create a apk like creedparts without make apk. please see screenshot
ocoot said:
no. this tuts just to create a apk like creedparts without make apk. please see screenshot
Click to expand...
Click to collapse
Oh sorry. I thought it was. Because in the screenies at the left has a two tabs.
3r41nl33n said:
Oh sorry. I thought it was. Because in the screenies at the left has a two tabs.
Click to expand...
Click to collapse
no problem
up
ocoot said:
up
Click to expand...
Click to collapse
Hi, I found 2 com/android/settings/TestingSettings, are they both of them need to replace?
please follow the tuts
Awesome sir ocoot:thumbup:
22. final step, open settings.xml. paste this everywhere you want
23.android:targetClass="com.android.settings.IllegalSettings" replace to android:targetClass="com.android.settings.Octo1"
24. compile. make sure you don't get error
25. sign-in settings
26. flash
Im stuck at step 22.... I would like ask regarding the step 22..
I have not found any file with a filename settings.xml. Does it mean any of example xxxxx_settings.xml files i can paste your code? Please help.
Sent from my LT18i using xda premium
Not Working I am Getting Problem in apktool
shadman0 said:
Not Working I am Getting Problem in apktool
Click to expand...
Click to collapse
try using apk multitool
Pls update the SS
the_vanya1 said:
Pls update the SS
Click to expand...
Click to collapse
This guide is actually similar like this one http://forum.xda-developers.com/showthread.php?t=2166315 from @Didact74

[TUTORIAL][MOD] Make 5 menu NavBar / SoftKey [Xperia L]

[TUTORIAL][MOD] Make 5 menu NavBar / SoftKey [Xperia L]
This tutorial for JB 4.1.2 4.2.2 4.3​
Hello
This is my 1st thread.So,sory if my english are bad..
I know some of you already knows this. So if you already known this, you can leave it. This is for new comers like me
You all know that the default navbar for XperiaL only 3 buttons, back-home-recents app... So we'll make 2 additional button, thats are lock & menu..
This extra button are very usefull, i think..
Oke Let's Start
Needed :
+ PC
+ Knowledge of compile-decompile APKs
+ Signing APKs
+ Root & Deodex
+ Notepad++
[1] You have to find 5 icon for our new 5 navbar..you can search on this forum, or you will made the icons by yourself,doesnt matter..the important is you gets HDPI icons for HDPI device, xHDPI for xHDPI device...
[2] Decompile your SystemUI.apk...go to res/drawable-hdpi (for hdpi device)...make sure your icons have same name with icons from this folder...copy your icon to this folder...
[3]Go to res/values folder and search ids.xml and open it with Notepad++..Then add this line at the end before </resources>
<item type="id" name="lock">false</item>
<item type="id" name="newmenu">false</item>
Click to expand...
Click to collapse
{
"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"
}
Save it and close
[4]
Go to res/values/strings.xlm... Add this line
<string name="accessibility_lock">Lock</string>
Click to expand...
Click to collapse
Save it and close
[5]
Now go to res/layout folder and find navigation-bar.xlm open with Notepad++...
You can found this
Just replace with this
Scrip 1
Before saving, next to step 6
[6]
Find this
Replace with this
Scrip 2
Save it and close
7
Recompile and sign the APK..Push to your system
Congrats
You get navbar with 5 menus..
Note
You can chang the DIP on step 5 and 6 to customizing..
And you can change the order of the menus on step 5..just move the line like what you want..that line make order back-menu-home-lock-recent (form the left)..you can change to menu-back-home-recent-lock or what you want..just MOVE the line..
Source thread :
http://forum.xda-developers.com/showthread.php?t=2553416
Credit :
Rajeev
Screenshot
This is mine
kz_rider_0274 said:
[TUTORIAL][MOD] Make 5 menu NavBar / SoftKey [Xperia L]
This tutorial for JB 4.1.2 4.2.2 4.3​
Hello
This is my 1st thread.So,sory if my english are bad..
I know some of you already knows this. So if you already known this, you can leave it. This is for new comers like me
You all know that the default navbar for XperiaL only 3 buttons, back-home-recents app... So we'll make 2 additional button, thats are lock & menu..
This extra button are very usefull, i think..
Oke Let's Start
Needed :
+ PC
+ Knowledge of compile-decompile APKs
+ Signing APKs
+ Root & Deodex
+ Notepad++
[1] You have to find 5 icon for our new 5 navbar..you can search on this forum, or you will made the icons by yourself,doesnt matter..the important is you gets HDPI icons for HDPI device, xHDPI for xHDPI device...
[2] Decompile your SystemUI.apk...go to res/drawable-hdpi (for hdpi device)...make sure your icons have same name with icons from this folder...copy your icon to this folder...
[3]Go to res/values folder and search ids.xml and open it with Notepad++..Then add this line at the end before </resources>
Save it and close
[4]
Go to res/values/strings.xlm... Add this line
Save it and close
[5]
Now go to res/layout folder and find navigation-bar.xlm open with Notepad++...
You can found this
Just replace with this
Scrip 1
Before saving, next to step 6
[6]
Find this
Replace with this
Scrip 2
Save it and close
7
Recompile and sign the APK..Push to your system
Congrats
You get navbar with 5 menus..
Note
You can chang the DIP on step 5 and 6 to customizing..
And you can change the order of the menus on step 5..just move the line like what you want..that line make order back-menu-home-lock-recent (form the left)..you can change to menu-back-home-recent-lock or what you want..just MOVE the line..
Source thread :
http://forum.xda-developers.com/showthread.php?t=2553416
Credit :
Rajeev
Screenshot
This is mine
Click to expand...
Click to collapse
Thanx dude,nice tut
Sent from my C2105 using XDA Premium 4 mobile app
Burraku_Shinfoni said:
Thanx dude,nice tut
Sent from my C2105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
you're welcome bro

[Guide 4.2+] Lollipop Running Process View In Settings.apk

How to Get Lollipop Running Process View In Settings
Hello XDA
It's Extracted From Lollifox Rom By FMD Team
Tested this on MT6577 & MT6589 device running 4.2 Jellybean. I think this guide will work on other's too.
REQUIREMENT:
- Brain.apk xD
- Common Sense.apk
- apktool (version 1.5.2)
- Notepad ++
- Settings.apk
Ok Let's begin.
Note: Import (framework-res.apk, and mediatek-res.apk first)
STEP 1
First decompile your Settings.apk.
STEP 2
Extract SettingsFiles folder from the zip file to your decompiled Settings (Merge It)
STEP 3
Open Styles.xml in /res/values
Add this at the bottom before </resources>
Code:
<style name="Settings.runapps.ListSeparator" parent="@android:style/Widget.Holo.Light.TextView.ListSeparator">
<item name="android:background">@null</item>
</style>
STEP 4
Open strings.xml in /res/values
Add this at the bottom before </resources>
Code:
<string name="used_ram">Used</string>
<string name="free_ram">Free</string>
<string name="ram_usage">App RAM usage</string>
STEP 5
Open colors.xml in /res/values
Add this at the bottom before </resources>
Code:
<color name="running_processes_free_ram">#ffcfd8dd</color>
<color name="running_processes_busy_ram">#ff009587</color>
STEP 6
- Compile
- Sign it
Special Thanks to :-
Code:
Klark Luis Peralta
FMD Devs For the Settings
Note !
Code:
- This is the running process view of Lollifox by FMD Devs.
- You need to be "very patient" and have a lot of time as this is a time consuming tutorial.
- I won't explain how to do things like pushing the apps, setting the permission, or how to get a value in public.xml and use that to change something in a certain smali. Why? Because its been tackled a lot of times on the previous guides is posted. - common sense is a must.
- I won't also explain how to push the signature, or what is a signature, what is signing or how to sign an app. Those are different topics, just check pinned post for their guides.
- Read everything.
HAPPY MODDING
SCREENSHOT
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Rohit Gupta [user=239049 said:
@123[/user];59926096]How to Get Lollipop Running Process View In Settings
Hello XDA
It's Extracted From Lollifox Rom By FMD Team
Tested this on MT6577 & MT6589 device running 4.2 Jellybean. I think this guide will work on other's too.
REQUIREMENT:
- Brain.apk xD
- Common Sense.apk
- apktool (version 1.5.2)
- Notepad ++
- Settings.apk
Ok Let's begin.
Note: Import (framework-res.apk, and mediatek-res.apk first)
STEP 1
First decompile your Settings.apk.
STEP 2
Extract SettingsFiles folder from the zip file to your decompiled Settings (Merge It)
STEP 3
Open Styles.xml in /res/values
Add this at the bottom before
Code:
@null
STEP 4
Open strings.xml in /res/values
Add this at the bottom before
Code:
Used
Free
App RAM usage
STEP 5
Open colors.xml in /res/values
Add this at the bottom before
Code:
#ffcfd8dd
#ff009587
STEP 6
- Compile
- Sign it
Special Thanks to :-
Code:
Klark Luis Peralta
FMD Devs For the Settings
Note !
Code:
- This is the running process view of Lollifox by FMD Devs.
- You need to be "very patient" and have a lot of time as this is a time consuming tutorial.
- I won't explain how to do things like pushing the apps, setting the permission, or how to get a value in public.xml and use that to change something in a certain smali. Why? Because its been tackled a lot of times on the previous guides is posted. - common sense is a must.
- I won't also explain how to push the signature, or what is a signature, what is signing or how to sign an app. Those are different topics, just check pinned post for their guides.
- Read everything.
Nice
Click to expand...
Click to collapse
eboybasit said:
Dont forget to mention credits sir,,,,, to actually whom this guide belongs to
---------- Post added at 06:55 AM ---------- Previous post was at 06:52 AM ----------
Nice
Click to expand...
Click to collapse
I had Given Credit's Then Why Are You asking This ?
Haha nothing man :v
Thanks for this guide man

Categories

Resources