Hi, i'm using the firmware 'Asia Retail' (MB865 - NOT AT&T)
Is there a way to change the lockscreen? I don't like the moto loockscreen, and, i don't wan't to install an app to do that, because, it drains the battery.
And i want to know if i can install de BB lockscreen or the AOSP lockscreen.
Btw: The firm is odex.
{
"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"
}
This is the locker that i want
PS: If someone has that wallpaper, i'll be glad too
brianmoyano said:
Hi, i'm using the firmware 'Asia Retail' (MB865 - NOT AT&T)
Is there a way to change the lockscreen? I don't like the moto loockscreen, and, i don't wan't to install an app to do that, because, it drains the battery.
And i want to know if i can install de BB lockscreen or the AOSP lockscreen.
Btw: The firm is odex.
This is the locker that i want
PS: If someone has that wallpaper, i'll be glad too
Click to expand...
Click to collapse
It takes a lot of code edits. I kind of already answered this here: http://forum.xda-developers.com/showpost.php?p=33782818&postcount=80.
But, the AOSP one is built-in already, it's just that Moto has overlayed their lockscreen on top of it - you would need to edit the zz_moto_keyguard_unlock_widget.xml in framework-res.apk/res/layout.. Erase everything in that stock xml and replace with this to get the AOSP one to show up:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" android:waveDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="0.0dip" android:horizontalOffset="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" />
Then, to add a couple more widgets on the aosp lock widget, you would need to edit the smali code android.policy.jar, add some images to the drawable-hdpi folder and update the arrays.xml and strings.xml in /res/values, recompile the framework-res.apk, then decompile the newly modded one to get your new resource ids from the public.xml and put those in the android.policy java code.. and to change the layout of the locksreen completely, you would need to edit the keyguard_screen_tab_unlock.xml in framework-res.apk/res/layout.
So, in short, no - there is no easy way.
The tutorial that you gave me, it's for at&t. And i haven't the att version.
I'll try the hard method. Thx.
Sent from my MB865 using xda app-developers app
brianmoyano said:
The tutorial that you gave me, it's for at&t. And i haven't the att version.
I'll try the hard method. Thx.
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
I know that you don't have AT&T, and I suggested to take the AT&T one as an example to compare with your non-att files. Take the deodexed zip from the Numa thread, get your files all deodexed, then compare them all.. it's a pain, but possible.
thanks
alteredlikeness said:
It takes a lot of code edits. I kind of already answered this here: http://forum.xda-developers.com/showpost.php?p=33782818&postcount=80.
But, the AOSP one is built-in already, it's just that Moto has overlayed their lockscreen on top of it - you would need to edit the zz_moto_keyguard_unlock_widget.xml in framework-res.apk/res/layout.. Erase everything in that stock xml and replace with this to get the AOSP one to show up:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" android:waveDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="0.0dip" android:horizontalOffset="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" />
Then, to add a couple more widgets on the aosp lock widget, you would need to edit the smali code android.policy.jar, add some images to the drawable-hdpi folder and update the arrays.xml and strings.xml in /res/values, recompile the framework-res.apk, then decompile the newly modded one to get your new resource ids from the public.xml and put those in the android.policy java code.. and to change the layout of the locksreen completely, you would need to edit the keyguard_screen_tab_unlock.xml in framework-res.apk/res/layout.
So, in short, no - there is no easy way.
Click to expand...
Click to collapse
thaks guy you are really something else
Hye. Did u change stock lockscreen mb865 non att 4.0.4? Can you upload the framework-res.apk? I want aosp lockscreen.
Related
I took the freedom to change the widget/icon...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
original file here.
Great
Thanks a lot
needed a restart for it to work, but looks much better! thx a dozen!
helfone said:
needed a restart for it to work, but looks much better! thx a dozen!
Click to expand...
Click to collapse
..Cool ..
Had'nt used it before, but it works great.
No more unnecessary power button wear and tear
Thanks! I've been using this along w/ No Lock since I got my phone and it's fantastic. I ping'ed the dev to see if he would release an app version so we could modify the icon but never heard anything back.
I made a quick mod to change your icon to a transparent background and it looks fantastic on my screen. The only thing I don't like is how much space is left for icon text. I tried removing the TextView block from the layout/widget.xml file but I just got an error. Does anyone know how to mod the layout so the icon fills the whole widget box?
Here is the original layout text (schema lines removed since I'm a new user and can't post links)...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/widget_layout" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:id="@id/LinearLayout01" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="horizontal" android:id="@id/LinearLayout02" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/widget_icon">
<ImageView android:layout_gravity="center_vertical" android:id="@id/widget_icon" android:paddingLeft="10.0dip" android:paddingTop="3.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="fitCenter" android:adjustViewBounds="true" android:cropToPadding="false" />
</LinearLayout>
</LinearLayout>
<TextView android:textSize="13.0dip" android:textColor="#00000000" android:layout_gravity="bottom|center" android:id="@id/title" android:background="#00000000" android:paddingLeft="5.0dip" android:paddingTop="1.0dip" android:paddingRight="5.0dip" android:paddingBottom="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="11.0dip" android:text="..." android:lines="1" android:layout_alignParentBottom="true" />
</LinearLayout>
could I see a screenhot of your mod?
rori- PM sent. I can't post links yet (not sure what to do about that but wait...) but my PM has a link to the screenshot.
Just another FYI - there is a version 1.1 of this app - no idea what the difference between 1.0 and 1.1 is. I'm not sure how to grab the apk file from the phone to update it so I just modd'ed the 1.0 version you posted...
TD22057 said:
Just another FYI - there is a version 1.1 of this app - no idea what the difference between 1.0 and 1.1 is. I'm not sure how to grab the apk file from the phone to update it so I just modd'ed the 1.0 version you posted...
Click to expand...
Click to collapse
I updated my mod to v 1.1 already, but as nobody asked, I did not posted it.
It would help me out if you could post it.
Thanks!
You shoul have asked ...here´s the raw png.
http://www.4shared.com/photo/3-nobdRQ/icon__2_.html?
And here LockScreenWidget_v1.1.apk
Sorry - I meant could you post the lock screen widget 1.1 apk file? I haven't figured out how to get to the apk file on my phone that I downloaded from the app store yet...
rori~ said:
You shoul have asked
Click to expand...
Click to collapse
Much appreciated. Great work by the way, this is a much nicer icon
Hollow.Droid said:
Much appreciated. Great work by the way, this is a much nicer icon
Click to expand...
Click to collapse
Thanx! - it´s an app I don´t wanna miss.
Here are some other one's I made. All the credit to rori.
Posted below for people who might be interested.
sonnysekhon said:
Here are some other one's I made. All the credit to rori.
Posted below for people who might be interested.
Click to expand...
Click to collapse
Damn, All nice!!! KUDO's to you both for these!!! I'm going to place a link to your post on mine, this is a sick one on top of the smileys...Sick work!
Hello only a question, I can´t install the aplication, neither version. I have a galaxy s, with eclair, and unrooted. Is this aplication for me??
Thanks, and sorry for me English.
Hello
I have downloaded all of these :
LockScreenWidget_v1.1.apk
LSW_1.apk
LSW_2.apk
LSW_3.apk
LSW_4.apk
LSW_5.apk
LSW_6.apk
for some reason I am getting a 'parsing error' whenever i try to install them (I have a samsung galaxy s running 2.1).
would appreciate advice what I'm doing wrong.
thanks
moghul said:
Hello
I have downloaded all of these :
LockScreenWidget_v1.1.apk
LSW_1.apk
LSW_2.apk
LSW_3.apk
LSW_4.apk
LSW_5.apk
LSW_6.apk
for some reason I am getting a 'parsing error' whenever i try to install them (I have a samsung galaxy s running 2.1).
would appreciate advice what I'm doing wrong.
thanks
Click to expand...
Click to collapse
Does the original market version work for you?
Sent from my Nexus One
Hey there everyone! Thought i'd do a little knowledge dump and post up a bunch of guides and things that you can tweak in your rom. Probably will be most helpful for up and coming Devs, but could benefit anyone! I will update this guide with more mods as i get time
You will need knowledge of how to decompile apk's with apktool and knowledge of smali/baksmali. (I will not go over this) I also recommend notepad++ for editing.
These are currently based on the latest Verizon MD3 premium suite 4.1.2 update
With Said Lets get started!
]SecLauncher2.apk Mods
Enable Wallpaper Scrolling on Touchwiz Launcher
Decompile SecLauncher2.apk
Navigate to res/values/bool.xml
Find this line:
Code:
<bool name="config_fixedWallpaperOffset">true</bool>
Change to:
Code:
<bool name="config_fixedWallpaperOffset">false</bool>
Recompile the app and then you are done!
Framework-res.apk Mods
For all these mods you will need to decompile framework-res.apk
Enable Full 360 Degree rotation
Navigate to res/values/bools.xml
Find:
Code:
<bool name="config_allowAllRotations">false</bool>
Change To:
Code:
<bool name="config_allowAllRotations">true</bool>
Unplug doesnt turn on screen
Navigate to res/values/bools.xml
Find:
Code:
<bool name="config_unplugTurnsOnScreen">true</bool>
Change To:
Code:
<bool name="config_unplugTurnsOnScreen">false</bool>
Permantly Disable Help text on lockscreen
Navigate to res/values/bools.xml
Find:
Code:
<bool name="config_isHelpOverlayEnabled">true</bool>
Change To:
Code:
<bool name="config_isHelpOverlayEnabled">false</bool>
Change Low Battery Values
Navigate to res/values/integers.xml
Find:
Code:
<integer name="config_criticalBatteryWarningLevel">5</integer>
<integer name="config_lowBatteryWarningLevel">15</integer>
<integer name="config_lowBatteryCloseWarningLevel">20</integer>
Change To:
Code:
<integer name="config_criticalBatteryWarningLevel">1</integer>
<integer name="config_lowBatteryWarningLevel">5</integer>
<integer name="config_lowBatteryCloseWarningLevel">10</integer>
You can change these to whatever you want but this is what i have.
Change Help Text on Lockscreen
Navigate to res/values/strings.xml
Find:
Code:
<string name="lockscreen_unlock_guide_text">Swipe Screen to Unlock.</string>
Change To:
Code:
<string name="lockscreen_unlock_guide_text">HYPERDRIVE</string>
You can change this text to have it say whatever you want on the lockscreen
After editing and performing these mods then recompile and you are done!
Miscellaneous Mods
Hide any app from the app drawer
Decompile your apk you want to hide
Navigate to AndroidManifest.xml
Find this line:
Code:
<category android:name="android.intent.category.LAUNCHER" />
Change to:
Code:
<category android:name="android.intent.category.GADGET" />
Now recompile your app, and you have to do one other thing. Whenever editing the AndroidManifest you must resign your app or it will force close. You can use a program like APK-Multi Tool to do this if you want!
Enjoy and Hit the Thanks button if you like these!
Mine
I will update this guide with many more mods soon !
Enjoy everyone!
Awesome, thanks for sharing the knowledge bro
aj_2423 said:
Awesome, thanks for sharing the knowledge bro
Click to expand...
Click to collapse
No Problem bud, Hopefully they can help some people out!
How about a mod to center the all apps button on the touchwiz launcher?
Wow! How did I miss this before? This great! Thank you!
Tapatalk 4 sucks
{
"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"
}
RErick said:
Wow! How did I miss this before? This great! Thank you!
Tapatalk 4 sucks
Click to expand...
Click to collapse
Great bro
I hope they are useful to you. Check out my s4 guides too. Most of them should be compatable with s3 too
Sent from my SCH-I545 using xda premium
Hello Guys .Hope You Are Fine..
I found this slidiable function in calculator app and integrated in my theme..
and now i want to share this mod with you ..
I will Guide You how to make it work in some apps like statusbar.dialer,etc
So Lets Start
PREPARATION..
+Knowledge of editing xmls
+Apktool or apkmanager
+My zip<in attachments
METHOD.
+Download attached zip.
+Decompile Your App In Which U want To use This Mod
+Extract Provided Zip in smali folder of your app.
+Now go to ids.xml and add this code above</resources>.
Code:
<item type="id" name="panelswitch">false</item>
+Now open ststus_bar_expande.xml
+If you want to add this mod in clock panel and brightness panel.
then add this code
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
add clock panel here
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
brightness panel here
</LinearLayout>
</com.android.san.PanelSwitcher>
+Now decompile Your app
+Thats it.
+Now you can slide clock panel left to use brightness panel.
NOTE
Remember to place your panels between two layouts as in above code.
Use this guide to mod other apps also.
CREDITS
DEV of calculater app
Me
This is what iam talking about on sliding...
This is my theme
{
"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"
}
san122 said:
Hello Guys .Hope You Are Fine..
I found this slidiable function in calculator app and integrated in my theme..
and now i want to share this mod with you ..
I will Guide You how to make it work in some apps like statusbar.dialer,etc
So Lets Start
PREPARATION..
+Knowledge of editing xmls
+Apktool or apkmanager
+My zip<in attachments
METHOD.
+Download attached zip.
+Decompile Your App In Which U want To use This Mod
+Extract Provided Zip in smali folder of your app.
+Now go to ids.xml and add this code above</resources>.
Code:
<item type="id" name="panelswitch">false</item>
+Now open ststus_bar_expande.xml
+If you want to add this mod in clock panel and brightness panel.
then add this code
Code:
<com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
add clock panel here
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
brightness panel here
</LinearLayout>
</com.android.san.PanelSwitcher>
+Now decompile Your app
+Thats it.
+Now you can slide clock panel left to use brightness panel.
NOTE
Remember to place your panels between two layouts as in above code.
Use this guide to mod other apps also.
CREDITS
DEV of calculater app
Me
This is what iam talking about on sliding...
This is my theme
Click to expand...
Click to collapse
Good Work Bro Helpful Post
Sent from my Micromax A110 using xda premium
Lal Ayer said:
Good Work Bro Helpful Post
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
Thnks
Sent from my GT-S5360 using Tapatalk 2
Great guide broo :good:
For Making This Thread, I took some parts from other's guide
What Materials You Need To Add This Rom Logo?
>Apktool
>Settings.apk
>Notepad++
Resolutions for Your Rom_logo For Your Device:-
LDPI:- 270 x 67 pixels
MDPI:- 320 x 80 pixels
HDPI:- 480 x 120 pixles
XHDPI:- 720 x 180 pixels
Click to expand...
Click to collapse
Let's Start:-
Firstly, Move your Settings.apk file to your "APKTOOL" Folder , And start the below steps
Code:
apktool if framework-res.apk
Code:
apktool if SemcGenericUxpRes.apk
NOTE- (The Above Code is <taframework>apk) So, Instead of "SemcGenericUxpRes.apk" you need to write your "<taframewokname>.apk"
Code:
apktool d 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"
}
Download logo_row.xml file from HERE!! and put it in Settings/res/layout
Now go to xml folder.Search device_info_settings.xml and open it via Notepad++
Copy the Below code:-
Code:
<PreferenceScreen android:key="rom_logo" android:layout="@layout/logo_row" />
Below this Lines:-
Code:
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
And Save the file and close it
After This, you need to have a romlogo in specific resolutions of your device,
Put the file into:- drawable-**** (**** means mdpi/hdpi/xhdpi, etc).
The Banner/logo should be named as "romlogo" {Without Double inverted commas- " ")
Now come back to apktool Folder.
Now, We need to Recompile apk , so type the Below Code in Command Prompt:-
Code:
apktool b (Folder name)
Now We Need To Sign Apk for that proceed to Next Step
Now with Winzip/WinRar/7-zip, Open Original Settings.apk and Copy "Meta-inf" folder and "AndroidManifest" file
to your Decompiled folder "or" Setting-new folder/build/apk Like the Below Screenshots
After This, Come back to apktool folder and type the below code to Recompile apk
Code:
Apktool b (Folder Name)
Now, Go to Your Decompiled apk folder or Settings-New folder and then "dist" Folder
And Copy that Settings.apk and replace it to System/apps And Set the Permsissions to RW-R-R
You Are Done
Reboot And Enjoy
Tested On :- Sony Xperia Miro , Samsung S Duos
Works On:-All Android Devices And All Roms
Credits:-
Me (NikunjKubadia)
Alberto97
Well,,,I think this is w wrong place to post this buddy.
Firstly,your guide works with all phones..so move it to android general discussion,so that it will get views from all devices..
Secondly ,even if you post it in our device thread,post in general section...
Forum rules say that development area is ment for kernels ,Roms and mods..
Not guides..
Sent from my C1604 using xda app-developers app
mathewsj114 said:
Well,,,I think this is w wrong place to post this buddy.
Firstly,your guide works with all phones..so move it to android general discussion,so that it will get views from all devices..
Secondly ,even if you post it in our device thread,post in general section...
Forum rules say that development area is ment for kernels ,Roms and mods..
Not guides..
Sent from my C1604 using xda app-developers app
Click to expand...
Click to collapse
I Know bro , therefore I have Said Forum Moderater TO Shift it
Nice tutorial. Rom cookers will love this.
Great tutorial bro, will help many aspirants
that was helpful!!
good work bro!!
cheers!!:angel:
Awesome guide man good job
Thanks for the guide bro ! Good job
delete me
the file is deleted please upload it again
MaxTheVin said:
the file is deleted please upload it again
Click to expand...
Click to collapse
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/romlogo" />
</LinearLayout>
How do I get framework-res apk and 2.apk?
I need help for my next update
first mod
in status_bar_expanded_header.xml I wanted to add rotation lock and brightness but every time I change a toggle button systemUI crashes
from this:
<ImageView android:id="@id/settings_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_setting" android:scaleType="center" android:layout_weight="1.0" android:contentDescription="@string/accessibility_settings_button" />
to this:
<ImageView android:id="@id/rotation_lock_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:button="@drawable/ic_notify_rotation" android:scaleType="center" android:layout_weight="1.0" android:contentDescription="@string/accessibility_rotation_lock_off" />
to replace the 2 settings icons there with rotation loack and brightness
{
"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"
}
the xml file is in the downloads
Just rename new drawable to zzz _noti...
Because id of zzz_xxx is used in smali files and you cant delete this from xml
So.. Rename ic_notify_rotation to zzz_notification_... And then systemui will work without fc
KuaQ said:
Just rename new drawable to zzz _noti...
Because id of zzz_xxx is used in smali files and you cant delete this from xml
So.. Rename ic_notify_rotation to zzz_notification_... And then systemui will work without fc
Click to expand...
Click to collapse
nope still crashes
I tried this line
<ImageView android:id="@id/rotation_lock_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_rotation_lock_off" android:scaleType="center" android:layout_weight="1.0" android:contentDescription="@string/accessibility_rotation_lock_off" />
but thanks anyway
@zero_omar I think that you'll have to edit some smali for toggles.
Sent from my ST26i
Dzepar said:
@zero_omar I think that you'll have to edit some smali for toggles.
Sent from my ST26i
Click to expand...
Click to collapse
thank you for directing me to this tutorial
http://forum.xda-developers.com/showthread.php?t=2406596
zero_omar said:
thank you for directing me to this tutorial
http://forum.xda-developers.com/showthread.php?t=2406596
Click to expand...
Click to collapse
Your welcome.
Here's how my notifications looks.
Sent from my ST26i
Dzepar said:
Your welcome. View attachment 2920653
Here's how my notifications looks.
Sent from my ST26i
Click to expand...
Click to collapse
hey about the transparency I tried replacing "notification_panel_bg.png" with a transparent one but its still non transparent ?
@zero_omar you need to remove some background in smali I'll explain more when I get home
Sent from my ST26i
Dzepar said:
@zero_omar you need to remove some background in smali I'll explain more when I get home
Sent from my ST26i
Click to expand...
Click to collapse
thanks for helping me
I'm new to android modding so I'm confused with the smali folder
zero_omar said:
thanks for helping me
I'm new to android modding so I'm confused with the smali folder
Click to expand...
Click to collapse
I'm noob to and learning
here is good tut for smali
Now to change transparenci you need to go to
SystemUI\smali\com\android\systemui\statusbar\phone
open PhoneStatusBar.smali with Notepad++
delete
Code:
invoke-virtual {v0, v5}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
now go to SystemUI.apk\res\layout
open status_bar_expanded_header.xml
and change
Code:
<LinearLayout android:orientation="vertical" [COLOR="Red"]android:background="@drawable/notification_header_bg"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content"
to
Code:
<LinearLayout android:orientation="vertical" android:id="@id/expand_header" [COLOR="RoyalBlue"]android:background="#40000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content"
or whatever you like this is from my SystemUI
Good Luck!
Dzepar said:
I'm noob to and learning
here is good tut for smali
Now to change transparenci you need to go to
SystemUI\smali\com\android\systemui\statusbar\phone
open PhoneStatusBar.smali with Notepad++
delete
Code:
invoke-virtual {v0, v5}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
now go to SystemUI.apk\res\layout
open status_bar_expanded_header.xml
and change
Code:
<LinearLayout android:orientation="vertical" [COLOR="Red"]android:background="@drawable/notification_header_bg"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content"
to
Code:
<LinearLayout android:orientation="vertical" android:id="@id/expand_header" [COLOR="RoyalBlue"]android:background="#40000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content"
or whatever you like this is from my SystemUI
Good Luck!
Click to expand...
Click to collapse
thank you very much for helping me with smali and transparency
Look Goood
Sent from my ST26i