HOW TO GET TINTED STATUSBAR IN GINGERBREAD PLUS DEVICES
METHOD WITHOUT USING OF ANY BACKGROUND PNG OR SMALI FILES
REQUIREMENTS
-Apktool
-Text Editor
-Basic XML knowledge
GUIDE
Step 1:
Decompile your app
Step 2:
Download tint_view_property.xml from attachment and put in drawable folder
Heres comes XML part:fingers-crossed:
Step 3:
Go to colors.xml
add this lines above </resources>
Code:
<color name="application_light">#ffffffff</color>
<color name="material_theme">#ff00dfff</color>
<color name="application_dark">#ff3b3b3b</color>
Step 4:
Go to styles.xml
add these lines above </resources>
Code:
<style name="material_design" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">@drawable/tint_view_property</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:textColor">@color/application_dark</item>
</style>
Step 5:
Go to AndroidManifest.xml
Add this line next to <application
Code:
android:theme="@style/material_design"
After this Guide you will get Cyan tint and white application background
OPTIONAL MODIFICATIONS
-Change Tint Color
Go to colors.xml put desired color code in place of #ff00dfff in this line
Code:
<color name="material_theme">#ff00dfff</color>
-Get Dark theme in place of Light theme
To get dark theme open tint_view_property.xml
Search for application_light and replace it with application_dark
Then open styles.xml search for application_dark replace with application_light
ATTACHMENT
ATTACHMENT : TINT VIEW PROPERTY XML FILE
CREDITSPraneeth Thilina
[email protected]
me(SamarthXD)
{
"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"
}
Bro there is no attachment at all & can you upload some ss
Thanks in advance
Rebelkrishna786 said:
Bro there is no attachment at all & can you upload some ss
Thanks in advance
Click to expand...
Click to collapse
Yah added attachment and screenshot
Related
This is actually part of http://forum.xda-developers.com/showthread.php?t=1102755 I was part of the testers and gave them my systemUI and framework.
http://dl.dropbox.com/u/11560058/patch(1).zip
( CM7.0.3 only, maybe nightlies or older versions might work, I'm not sure. )
{
"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"
}
Launcher Pro - Only works with Live Wallpaper, if normal wallpapers you'd have to Hide notification bar at Appearance Settings
Adw Launcher - Disable Wallpaper Hack
Go Launcher - No problems
GB Launcher - No problems
Arc Launcher - No problems ( I use this. Looks better and feels better than all others. )
This is how to make this patch work with other themes.
1 : Pull theme APK from device ( titanium backup would work fine )
2 : Unpack the APK
3 : Make a semi transparent 480x38 png named statusbar_background2 and place it in /Res/Drawable-HDPI ( it does not have to replace the old statusbar background. ) It can have textures or just transparent. This part is up to you.
3 : Go into /Res/XML and find com_android_systemui.xml and open with a text editor.
4 : Find the lines
<item name="drawable/statusbar_background">@drawable/com_android_systemui_statusbar_background</item>
<item name="drawable/statusbar_background2">@drawable/com_android_systemui_statusbar_background</item>
Click to expand...
Click to collapse
and change it to
<item name="drawable/statusbar_background">@drawable/com_android_systemui_statusbar_background</item>
<item name="drawable/statusbar_background2">statusbar_background2</item>
Click to expand...
Click to collapse
( Change the item name to the png you've made )
Then repack your apk and install and apply. Should work! if it does not, contact me.
Once again this flashable zip file belongs to ZduneX25 and not me. Make sure to check out the original thread
Well i wrote a guide for my phone wanted to share it here too.
Here is my actuall thread in my own device forum
http://forum.xda-developers.com/showthread.php?p=38495602
Anyone ever wanted to have those sexy on screen buttons that devices like Nexus have?
No need to wait anymore!
Here it is :beer:
{
"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"
}
Its pretty easy !:beer:
Here are the steps
Instructions for CustomRoms
1)Hit Up Root Explorer
2)Go to System¬>Build.prop
3) add this line at the end of the build.prop then save and exit.And restart.
Code:
qemu.hw.mainkeys=0
This Code for turning off Navigation Bar
Code:
qemu.hw.mainkeys=1
Well that was pretty basic one.
So now in case of our stock ICS ROMs
Instructions for stock ics
1)Decompile Framework-res.apk
(better to use apktool1.5.2 or later)
2)now go to res¬>values¬>bools.xml
3)open bools.xml with notepad++
4) edit this
Code:
<bool name="config_showNavigationBar">false</bool>
TO
Code:
<bool name="config_showNavigationBar'>true</bool>
5)save and recompile apk
6)add The line
Code:
qemu.hw.mainkeys=0
To build.prop then restart
Now if you want to change the size of the navigation Bar
instructions for all roms to change size
1) decompile framework-res.apk
2)Go to res¬>values¬dimens.xml
3)open dimens.xml using notepad++
4) at line number 14,15,16,17
Edit the Dpi values to your choice
Code:
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_height_landscape">48.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
<dimen name="navigation_bar_height">28.0dip</dimen>
5)save and recompile apk
Thats so easy :screwy:
Enjoy your "Nexus Bar Experience":thumbup:
If you think this post is helpfull press :thumbup: button
If you wanna buy me a:beer: donate me
Click to expand...
Click to collapse
-Rik[Rittik]
Hello Friends ,
First of all , i am not responsible if you brick
your devices or whatever u do .
This is simple and easy to do..
This will animate quick settings button.Which is displayed on your pull down menu on right corner of screen...
First watch thIs video..
http://www.youtube.com/watch?v=9SHWoCpUn4E&feature=youtube_gdata_player
Things You Need..
Knowledge about compiling, decompiling, signing system apk's.
PhotoShop or whichever image editor (for making animation and extracting them as frames)
So, Lets begin..
First of all Decompile SystemUI.apk
Goto res>drawables>ic_notify_quicksettings.xml edit it with notepad++
there u see the following
{
"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"
}
remove drawable="@drawable/ic_notify_quicksettings_normal" />
add this state_pressed="false">
like this
And below it add the following
<animation-list androidneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal1" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal2" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal3" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal4" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal5" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal6" />
</animation-list>
</item>
like this
How much frames(images) u have that much u should add these lines
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normalxx" />
where xx is last frame name..
And add images(ic_notify_quicksettings_normalxx.png) inside
res>drawable-hdpi and drawable-xhdpi
Now save it ..Recompile ,Sign SystemUI
Then push it back to your device or copy or make cwm zip and flash it.
You have to touch it once ,so it starts..
Press thanks if i helped you..
Also like
You can also PM me..
Here my xml file
View attachment ic_notify_quicksettings.zip
How to add Contributors Credits options of Cyanogenmod ROM in other ROMs
Hello good day XDA
Tested this on MT6577 & MT6589 device running Jellybean. I think this guide will work on other's too.
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- APKTOOL 2 ++
Ok Let's Start
STEP 1
First decompile your Settings.apk.
STEP 2
Merge the files in Settings.apk
{
"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"
}
STEP 3
Now replace the exiting png named "contributors_cloud.png" present in "assets" folder with your png. But make sure the name of png should be same i.e "contributors_cloud"
STEP 4
Now open "device_info_settings.xml" Or Where ever You Want present in Settings.apk/res/xml and add this code.
Code:
<PreferenceScreen android:title="@string/rom_thanks" android:key="rom_thanks" android:summary="@string/rom_thanks_summary" android:fragment="com.android.settings.gurpreet.ContributorsCloud" />
STEP 5
Now open the "strings.xml" present in Settings.apk/res/values and add these lines above </resources>
Code:
<string name="rom_thanks">Special Thanks To</string>
<string name="rom_thanks_summary">Touch here to see the names</string>
STEP 6
- Compile
- Sign it
Special Thanks to :-
Code:
Cyanogenmod
Gurpreet Singh
Note !
You can change the background colour from gray to any by editing this "-0xbbbbbc" in ContributorsCloud.smali
HAPPY MODDING
SCREENSHOTS
Reserved
nice sir...thx for guide
Thanks you.
D2Y aka E said:
nice sir...thx for guide
Click to expand...
Click to collapse
Carlos Arriaga said:
Thanks you.
Click to expand...
Click to collapse
Your Welcome HIT THANKS
Hello guys…
This guide is for developers who are still developing Android 2.3 GingerBread devices. Before adding, make sure your ROM has CM7 Screenshot app.
Let's start!
1. Decomplie SystemUI.apk
2.Unzip the smali folder in smali.zip and copy the smali folder to decomplied smali folder.
3.Open the layout xml which you want to add button, and add this line according to your layout:
<com.vesa.actionbar.BackButton android:layout_height="32.0dip" android:layout_width="fill_parent" android:text="@string/meui_ssbtn" android:background="#00000000" />
4.Open res/values/strings.xml, and before </resources>
add this line:
<string name="meui_ssbtn">Take Screenshot</string>
5. (Additional) If you want Simplified Chinese support, open res/values-zh-rCN/strings.xml, before </resources>
Add this line:
<string name="meui_ssbtn">屏幕截图</string>
6.Recompile SystemUI, sign(if you have patched signature) and put it in system.
Sorry for my English…
Smali comes from:
https://forum.xda-developers.com/an...buttons-titlebar-height-t2825667/post54349163
Thanks!
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"
}
Attachment:
https://mega.nz/#!xYMi1ZpY!vSWC9pXeA6VTt1Ie-XVDIEAPM-elZoW1u7r60AJDwcM
Key to link: !vSWC9pXeA6VTt1Ie-XVDIEAPM-elZoW1u7r60AJDwcM
(If your ROM doesn't have screenshot support, put the apk into /system/app and set permission 0644, put the screenshot file into /system/bin and set permission 0755. )
Created: 2017-3-4
Last updated: 2017-3-4
如果您的母语是中文,前往:http://tieba.baidu.com/p/4649407787
Sent from my Honor 4C 『天生急性子』
Reserved.
Sent from my Honor 4C 『天生急性子』
If this guide helps you, please click thanks button…
Sent from my HUAWEI CHM-TL00H using XDA Labs