[TUTORIAL][MOD] Make 5 menu NavBar / SoftKey [Xperia L] - Sony 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

Related

[GUIDE][ECLIPSE][Make your own setting app for custom rom - demo source code]

A new boring guide
I.REQUIRES AND NOTES
1.A PC with Windows, Linux OR MAC.. or anything can run Eclipse on
2.Internet Connection
3.Before download anything, carefully to see what version of software you should download(32bit,64bit,Windown,Linux,MAC)
4.JDK 1.6 or 1.7 : Download Link
5.Android SDK: Download Link
6.Eclipse IDE: Download Link
There are many version. Just take Classic or Eclipse IDE for Java Developers version
but all version can work for Android develope so you no need to care much​
7.I make this guide on Windows 7 32bit.
8.Read + understand. And srry for my English
9.Feel free to post your problem
10.Lastest Source Code: Download
​
II.INSTALL RELATE SOFTWARE + PREPARATION
1.JAVA DEVELOPMENT KIT - JDK
After download, run and next, next, next. You shouldnt care about it just press NEXT until install complete.
**
Start > Control Panel > System > Advanced System Settings > Advanced > Environment Variables
{
"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"
}
At last step. Add Java path to the begining before %SystemRoot%\system32;
Win 7 32bit: C:\Program Files\Java\jdk1.7.0_09\bin;
Win 7 64bit: C:\Program Files (x86)\Java\jdk1.7.0_09\bin;
Atleast check again if the path is correct to your computer.​
2.ANDROID SDK
Install to D:\android-sdk ( or anywhere)
After install complete, run SDK Manager.exe in D:\android-sdk
A new window appears, Choose Accept All > Install. Wait ~ 30p ^ 2Mb internet line.​
3.ECLIPSE
I use Eclipse Classic. All other versions have the same GUI.
After download you have a zip contain Eclipse. Extract to D:\eclipse
Run eclipse.exe Add a workspace. Check Default
ADT - Plugin
Guide from Android.com​
Now everything is in their place.
4.IMAGINE OUR APK LAYOUT
That's look bad
OK now let go to Make first screen​
App First Screen.
III.DESIGN + CODING
1.Make start screen
STEP GOAL:
-Know how to create new android project
-Know how to create new layout
-Choose target device screen
-Learn some java command. Im learning too ​
2.Make Touchwiz Settings
On your phone: Settings > Applications > Development > Usb Debugging
Plug your phone to PC
On Eclipse right click on package Explorer > My Settings > Run as > Android Application.
Now testing new app. All most time it will go to error > Force Close, but let try your work
Making video : On going ...​
Mod TouchWiz
touchwiz mod here
For resigned rom only
Rebuild TW source code Project
~40% code rebuild.
Any help would be most welcome :good:
tw mod
tw mod
SystemUI Mod
For SystemUI mod
For resigned rom only
SystemUI mod
SystemUI mod
SystemUI mod
SystemUI mod
For futher future..
Question & Answer
Q&A
CREDITS :good:
CREDITS
Me
Pvy,RomanBB for Idea of "Part" and Statusbar mod
...
My Settings Source Code
CHANGELOG
Version1, 2 have no changelog.
Version 3
- Rewrite allmost class.
what is this...
so mny post reservd.....
Like a child
Sent from my ST25i using xda app-developers app
LOLOLOLOL never seen that number of reserved posts before , but keep it up
Sent from my GT-S5670 using xda premium
@ssasin.monish said:
what is this...
so mny post reservd.....
Click to expand...
Click to collapse
thedoctor80 said:
Like a child
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
samo_gf said:
LOLOLOLOL never seen that number of reserved posts before , but keep it up
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
I guess its not wrng to hav these many posts reserved cause he still has the thread incomplete nd also he's about to update it.... so simple as ever
Sent from my GT-S5670 using XDA
REQUEST
I've been waiting for this
@OP : Can I request some tuts "how to a simply learning Java programing (smali/xml code)
thx

[THEME] {.108} GreenGlow [06/09/14]

{
"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 guys, welcome to my GreenGlow theme, I've had this theme on all of my Xperias and now releasing it for the Z1C community.
Requirements:
.108 Firmware
Rooted
Deodexed
Know how to flash or replace files
Whats Themed:
Framework
SystemUI
Keyguard
Phonebook
Conversations
Settings
Calculator
SemcClock
Features:
Dark Apps
Themed % battery
No tabs in Notifications
Small 4 Button Navbar
Advanced Power Menu
Screenshots:
Install:
Flash with CWM or extract then copy and replace each file. After reboot set GreenGlow as the Phone theme for the theme accent colour to display.
Download:
GreenGlow.zip [43.81mb]​
Restoring:
If you want to restore back to stock files, this zip will replace every modified file in the GreenGlow.zip
Restore.zip [43.07mb]​
Please Note:
I love this colour so it is the only one I'll ever work on, if someone wants to colourize every modified png then feel free, all I ask is that you post your work back here in this thread and I'll happily add it to the OP. I appreciate many of you use tabs in your notification window, I don't, so you will either need to sacrifice them or modify your own SystemUI which I will happily assist you with where needed.​
Dialer and phonebook are still white, otherwise all great.
Archibishop said:
Dialer and phonebook are still white, otherwise all great.
Click to expand...
Click to collapse
Uninstall any updates for them and that should do it, just checked the zip and the right files are in there.
fix font.
asdera58 said:
fix font.
Click to expand...
Click to collapse
Theres no fonts changed when flashing this.
XperienceD said:
Theres no fonts changed when flashing this.
Click to expand...
Click to collapse
this is normal?
asdera58 said:
this is normal?
Click to expand...
Click to collapse
Try flashing it again, the settings should be black.
XperienceD said:
Try flashing it again, the settings should be black.
Click to expand...
Click to collapse
2 times tray...
np thx.
asdera58 said:
2 times tray...
np thx.
Click to expand...
Click to collapse
Try copying it over manually, bit strange how it's not working for you.
congratulations, i like the way it looks
how can i keep the 3 Button NavBar?
Kasmo said:
congratulations, i like the way it looks
how can i keep the 3 Button NavBar?
Click to expand...
Click to collapse
Thanks. You need to decompile the stock and modified SystemUI apks, replace the navbar.xml from the layout folder in the stock SUi with the one in the modified SUi, and remove the line...
Code:
<item type="id" name="newmenu">false</item>
...from the ids.xml in the values folder. You can grab a folder with everything you need to be able to mod from [Guide/Reference] The Basic APK & Theming Thread...
thx, i'll try
and, how can i keep 2 tabs in Notifications?
Kasmo said:
thx, i'll try
and, how can i keep 2 tabs in Notifications?
Click to expand...
Click to collapse
Replace the modded somc_tabs_status_bar_expanded.xml with an unmodded one.
XperienceD said:
Hi guys, welcome to my GreenGlow theme, I've had this theme on all of my Xperias and now releasing it for the Z1C community.
Requirements:
.108 Firmware
Rooted
Deodexed
Know how to flash or replace files
Whats Themed:
Framework
SystemUI
Keyguard
Phonebook
Conversations
Settings
Calculator
SemcClock
Features:
Dark Apps
Themed % battery
No tabs in Notifications
Small 4 Button Navbar
Advanced Power Menu
Screenshots:
Install:
Flash with CWM or extract then copy and replace each file. After reboot set GreenGlow as the Phone theme for the theme accent colour to display.
Download:
GreenGlow.zip [43.81mb]​
Restoring:
If you want to restore back to stock files, this zip will replace every modified file in the GreenGlow.zip
Restore.zip [43.07mb]​
Please Note:
I love this colour so it is the only one I'll ever work on, if someone wants to colourize every modified png then feel free, all I ask is that you post your work back here in this thread and I'll happily add it to the OP. I appreciate many of you use tabs in your notification window, I don't, so you will either need to sacrifice them or modify your own SystemUI which I will happily assist you with where needed.​
Click to expand...
Click to collapse
Kindly make it for xperia z yuga also. Thanks in advance
jindal_bharat said:
Kindly make it for xperia z yuga also. Thanks in advance
Click to expand...
Click to collapse
Feel free to port it, I don't mod for multiple devices.

How To Make Card Stack Recent Apps like Android Lollipop in JB 4.2.2

Items Required :-
1) SystemUI.apk
2) Apktool
3) Text Editor (Notepad ++)
Procedure:-
1) First of All decompile SystemUI.apk using apktool.
2) Now Goto res/layout folder.
3) Open status_bar_recent_item.xml
4) Now in its line no. 2 add this code android:layout_marginTop="-75.0dip" android:rotationX="-10.0"
5) Save it.
6) Also Open Status_bar_recent_panel.xml
7) In line no. 2 add android:rotationX="10.0"
8) Save it.
9) Recompile and push meta inf and androidmanifest.xml of your original apk to the modded one.
10) Push it and set permissions to rw--r-r
Dont cook up your phone.
Note:- If You faced any deformalities regarding thumbnail size change
Thumbnail_height and thumbnail_width to 250.0px
Tested in JB 4.2.2 MTK
Samsung JellyBean Users Can go Over HERE
Full Credit to Arta Bagger and UI DESIGNER PRO
Dont Forget To Hit Thanks Button
{
"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"
}
Can you attach screenshots please?
---------- Post added at 02:01 PM ---------- Previous post was at 02:00 PM ----------
Thanks.
Screen shot in my comment sir you can click there to check ss
Awesome :good:
eboybasit said:
Items Required :-
1) SystemUI.apk
2) Apktool
3) Text Editor (Notepad ++)
Procedure:-
1) First of All decompile SystemUI.apk using apktool.
2) Now Goto res/layout folder.
3) Open status_bar_recent_panel_item.xml
4) Now in its line no. 2 add this code android:rotationX="-10.0"
5) Save it.
6) Also Open Status_bar_recent_panel.xml
7) In line no. 2 add android:rotationX="10.0"
8) Save it.
9) Recompile and push meta inf and androidmanifest.xml of your original apk to the modded one.
10) Push it and set permissions to rw--r-r
Dont cook up your phone.
Note:- If You faced any deformalities regarding thumbnail size change
Thumbnail_height and thumbnail_width to 250px
Tested in Cherry Mobile JB 4.2.2 MTK
Full Credit to Rommel Vallisor
Dont Forget To Hit Thanks Button
Click to expand...
Click to collapse
There is no "status_bar_recent_panel_item.xml" only "status_bar_recent_panel.xml" and "status_bar_recent_item.xml" in the res/layout folder
Sir you can try finding it in layout-port folder
Try finding in layout-port folder
Thanks sir @syaeful
eboybasit said:
Items Required :-
1) SystemUI.apk
2) Apktool
3) Text Editor (Notepad ++)
Procedure:-
1) First of All decompile SystemUI.apk using apktool.
2) Now Goto res/layout folder.
3) Open status_bar_recent_panel_item.xml
4) Now in its line no. 2 add this code android:rotationX="-10.0"
5) Save it.
6) Also Open Status_bar_recent_panel.xml
7) In line no. 2 add android:rotationX="10.0"
8) Save it.
9) Recompile and push meta inf and androidmanifest.xml of your original apk to the modded one.
10) Push it and set permissions to rw--r-r
Dont cook up your phone.
Note:- If You faced any deformalities regarding thumbnail size change
Thumbnail_height and thumbnail_width to 250px
Tested in Cherry Mobile JB 4.2.2 MTK
Full Credit to Rommel Vallisor
Dont Forget To Hit Thanks Button
Click to expand...
Click to collapse
Mine turned out like this Jb 4.2.2
[img=http://s13.postimg.org/bq1owupz7/Screenshot_2015_03_07_21_01_19.jpg]
Papdya said:
Mine turned out like this Jb 4.2.2
[img=http://s13.postimg.org/bq1owupz7/Screenshot_2015_03_07_21_01_19.jpg]
Click to expand...
Click to collapse
Ahh..... wait i'll give you xmls for compare sir your recent app style is different,,,, are you a samsung user...?
eboybasit said:
Ahh..... wait i'll give you xmls for compare sir your recent app style is different,,,, are you a samsung user...?
Click to expand...
Click to collapse
No it micromax and its a rom which i have ported and themed according to my liking.. Dont call me sir plz.. i am just 16
Papdya said:
Mine turned out like this Jb 4.2.2
[img=http://s13.postimg.org/bq1owupz7/Screenshot_2015_03_07_21_01_19.jpg]
Click to expand...
Click to collapse
Compare your xml with this Hope this will help You
K sure i will check n tell.
Okay :thumbup:
http://d-h.st/KA06
http://d-h.st/nxuj
Here are my files a few lines are different ..do i make it same as urs or let it stay?
Papdya said:
http://d-h.st/KA06
http://d-h.st/nxuj
Here are my files a few lines are different ..do i make it same as urs or let it stay?
Click to expand...
Click to collapse
Dont change height or any drawable or add any extra drawable.....only compare codes placement and layout margins ,paddings and relative layouts
Papdya said:
http://d-h.st/KA06
http://d-h.st/nxuj
Here are my files a few lines are different ..do i make it same as urs or let it stay?
Click to expand...
Click to collapse
Dont add any drawables,,,,,only compare the placement of codes in linear layouts , relative layouts, paddings and margins
eboybasit said:
Dont add any drawables,,,,,only compare the placement of codes in linear layouts , relative layouts, paddings and margins
Click to expand...
Click to collapse
I will try it tmrw and tell if it works. Thanks fr the help btw. :thumbup:
Papdya said:
I will try it tmrw and tell if it works. Thanks fr the help btw. :thumbup:
Click to expand...
Click to collapse
Your Welcome

[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

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

{
"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 小楼阁

Categories

Resources