Stock lockscreen question - Droid X Themes and Apps

I have been searching around and have not had much luck with finding out a solution for this:
I want to remove the clock from the stock lockscreen. Does anyone know how to do this or anyone have a link to a thread or guide on how to do this?

Widgetlocker, in the Market

go into framework-res.apk/layouts
and take all the .xmls that have keyguard in it
look for and remove the following code
Code:
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingBottom="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="52.0dip" android:layout_below="@id/carrier" android:layout_centerInParent="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="72.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
recompile and enjoy
havent personally tried it, just a best guess

About xml editing, I downloaded a free xml editor (editiX - xmleditor) and when I try opening those xml files Im not seeing any codes along what you put. Do I need a different type of xml editor for the android xmls?
EDIT: Ok so I found the AXMLprinter2.jar method but it doesnt work on the keyguard files. Any assistance?

ohh... forgot to tell you to decompile huh....
when working with apks, its just easier to do it if you have decompiled it, use apk manager or something like that and you can find plenty of information about them in the forums(so im not going to repeat anything here because im lazy like that, lol)...
for editing i use notepad++
then once done, recompile 'em

Is there a seperate tool that recompiles the xmls back? cause i get an error using apk manager.

If you are recompiling a system apk within apkmanager there is an option (i think 10 to use dependency apk to decompile and use the moto-res.apk a as a dependency (if on stock moto rom) then make sure you recompile as a system apk. If you try to recompile as a regular apk it wont build correctly.
Hope this helps a little =)
DarkestSpawn said:
Is there a seperate tool that recompiles the xmls back? cause i get an error using apk manager.
Click to expand...
Click to collapse
Sent from my DROIDX using XDA App

NVM I got it. I rechecked my xmls i changed and found an error in the code. Thanks everyone for your help!

Related

Lock Screen Clock

can someone pls tell how to remove the clock from lock screen on wolf's rom ? i tryed changing BlankSerif.ttf with Clockpia and no result. can someone make a flashable zip or something to remove the clock on lock screen
JeJupan said:
can someone pls tell how to remove the clock from lock screen on wolf's rom ? i tryed changing BlankSerif.ttf with Clockpia and no result. can someone make a flashable zip or something to remove the clock on lock screen
Click to expand...
Click to collapse
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
in assets/font there are only 2 fonts SoMAlight and SoMAregular if i change those won't it change all the fonts on my phone ? i only want to remove the clock
Well actually those fonts only can change the lockscreen font, that is what i realized... As i said before make a backup of your actually rom then change/delete those fonts.
Just try..
Sent from my X10i using xda premium
JeJupan said:
in assets/font there are only 2 fonts SoMAlight and SoMAregular if i change those won't it change all the fonts on my phone ? i only want to remove the clock
Click to expand...
Click to collapse
to remove the clock, go to res\layout-hdpi (i guess, can't remember from the top of my head, i'll check once i get home) and open the one and only xml file you find there. then delete semc.clockwidget or whatever it's name is. btw why you want to do that? if you upload the framework-res.apk for me, i'll do this for you at home (approx 3 hours from now), if that's okay.
Other option is the set the font color to transparent.
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
Could you upload the font folder you used or changed in the framework?
Sent from my X10 using xda premium
This is the font i'm using right now
Sent from my X10i using xda premium
here it is!
so here it comes, decompile the framework-res.apk with apk multitool. go to projects folder, find the folder called framework-res.apk. go inside, then go inside the res folder, then find layout-hdpi and inside that, you'll find only one file, called keyguard_screen_tab_unlock.xml. open that with notepad++. find the following code:
Code:
<TextView android:textSize="104.0dip" android:textColor="@color/white" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<TextView android:textSize="18.0dip" android:textColor="#c0ffffff" android:id="@id/am_pm" android:paddingTop="35.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-12.0dip" android:layout_toRightOf="@id/timeDisplay" android:layout_alignParentTop="true" />
change it to:
Code:
<TextView android:textSize="0.0dip" android:textColor="00ffffff" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" />
<TextView android:textSize="0.0dip" android:textColor="#00ffffff" android:id="@id/am_pm" android:paddingTop="35.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin
then find this:
Code:
<TextView android:textSize="18.0dip" android:textColor="#ccffffff" android:layout_gravity="center_horizontal" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-28.0dip" android:layout_below="@id/timeRelativeLayout24h" android:layout_alignLeft="@id/timeDisplay" />
change it to this:
Code:
<TextView android:textSize="0.0dip" android:textColor="#00ffffff" android:layout_gravity="center_horizontal" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="-28.0dip" android:layout_below="@id/timeRelativeLayout24h" android:layout_alignLeft="@id/timeDisplay" />
then compile the apk, create a flashable zip and flash it via recovery.
this will change the font size to 0 of the time, the am/pm label (in case it's shown) and the date. plus it will change the textcolor to fully transparent.
it should work.
not even a single thanks? your welcome, mate!
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
How did you get " please dont touch my phone and " jack's " ? Looks cool
It is easy men, there is a app called "carrier name".. This app can change the operator name, you can download from market it is free.
"dont touch my phone" you can make by modify you framework-res.apk and sistem-ui.apk or something like that...
Sent from my X10i using xda premium
jackxx said:
i'm not sure but you should make a backup before try this:
1) entre to your framework-res.apk\assets\fonts
2) delete those fonts, so ready
3) reboot your device and watch your lockscreen
note: also you can change those fonts with the same names!!! to see other kinda fonts in your watch lockscreen... good look!!
((( sorry for my english )))
Click to expand...
Click to collapse
at the moment to replaces the original fonts of the framework-res.apk is necessary do it with two fonts files or you can just let one font file?
Sure bro... You have to change both ttf.. That's an obligation
Sent from my X10i using xda premium
ok, thanks.
Last question, how can i remove "please don't touch my phone" from the lock screen.
i try deleting the .png files of this message but when i intall the theme the phone not pass from boot animation.
should i just edit the .png files deleting the message?
Sent from my X10i using XDA

Mms theme help

Anyone know what PNG file or XML to change the background color I hate the white n I've tried just about everything to change it n it will not change any help is appreciated
Sent from my SAMSUNG-SGH-I727 using xda premium
+1
I feel the same way
which ROM are you running?
Is it this part? (see: red text on 4th line)
/res/layout/conversation_list_screen.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<ListView android:scrollbarStyle="insideOverlay" android:id="@android:id/list" [COLOR="Red"]android:background="@android:color/white"[/COLOR] android:fadingEdgeLength="16.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:drawSelectorOnTop="false" android:cacheColorHint="@android:color/white" style="?android:attr/listViewWhiteStyle" />
<TextView android:textAppearance="?android:textAppearanceMedium" android:gravity="center" android:id="@id/empty" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/no_conversations" />
</RelativeLayout>
edit: step-by-step guide here:
[How to] Theme your Mms - A Step by Step Guide (RootzWiki)
seans newest e-6
if it was in there i would try that one but nothing to do with background in that file
Flash the black messaging apk found in the theme and app section
CM9 Skyrocket

[GUIDE][UPDATE] tw30launcher support transparent statusbar + 5 icons drawer

i just create a simple tuts ho to make touchwiz30launcher support transparent statusbar, let's go to check this
Tools:
1. apk manager or other (must know the basic compile-decompile)
2. notepad++ or other
3. touchwiz30launcher deodex
4. ice cube (for people who are confused) hehe :fingers-crossed:
Instructions:
1. decompile touchwiz30launcher using apkmanager
2. go to res/xml-ldpi
3. open launcher_config.xml using notepad++
4. change
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="true" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
to
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="false" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
5. compile again and make sure the error does not occur when compile
6. push to system/app
touchwiz30launcher modded
update support 5 icon drawer​
and this is tuts for change 4 to 5 icons drawer. equipment the same as above, but how to apply is different
steps:
1. go to res/layout-ldpi
2. open launcher.xml with notepad++
3. search
HTML:
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="4" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
chage to
HTML:
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="5" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
4. then, go to smali/com/sec/android/app/twlauncher
5. open AppShortcutZone.smali
6. find text
HTML:
const/4 v8, 0x3
replace 0x3 with 0x4
7. done
touchwiz30launcher.apk
UPDATE​transparent menu
this
thanks to:
-Jono Rinugroho (tester)
-Anri Dicky's (screenshot)
-(Temporary) Official Grup gYoung Indonesia
-You
Press Thanks if Helped :victory:
long time no see you brotha :3
Thanx
Sent from my GT-S5360 using xda app-developers app
It works :S really awesome
But... Do you have touchwiz with 4x4 grid? :3 and folders support..? :3
I'm just asking because tw is really good but folders and grid is very important for me ;]
Thanks
Wysyłane z mojego GT-S5360 za pomocą Tapatalk 2
kurotsugi said:
long time no see you brotha :3
Click to expand...
Click to collapse
haha yes sir, work in the real world makes me too busy doing it so I rarely make it to appear out and now I have a problem that is enough to make me sad, my vga laptop that type vga on board were error this makes me very sad and confused what to do :crying: :crying: :crying:
yousef8824 said:
Thanx
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
ur welcome bro :highfive:
Hrustus said:
It works :S really awesome
But... Do you have touchwiz with 4x4 grid? :3 and folders support..? :3
I'm just asking because tw is really good but folders and grid is very important for me ;]
Thanks
Wysyłane z mojego GT-S5360 za pomocą Tapatalk 2
Click to expand...
Click to collapse
thanks sir maybe will be added soon if i have free time
Someone already posted a tweak similar to the OP at the themes and apps section. Anyway, that tweak should have been posted here. So, thanks OP!
bumslayer said:
Someone already posted a tweak similar to the OP at the themes and apps section. Anyway, that tweak should have been posted here. So, thanks OP!
Click to expand...
Click to collapse
Are you seriously before someone has posted something like this? oh I'm so sorry, I did not even know before. sorry, I'm so sorry :crying:
that was just a discussion between chamath and another member in his thread about modified launcher. no specific thread about this topic in this forum until this thread was created.
kurotsugi said:
that was just a discussion between chamath and another member in his thread about modified launcher. no specific thread about this topic in this forum until this thread was created.
Click to expand...
Click to collapse
means am I wrong? If yes, I am very sorry for this
no...you're doing it right
kurotsugi said:
no...you're doing it right
Click to expand...
Click to collapse
thanks brotha, this makes me a better feeling :highfive:
Idea!
What about text in dock? :->
Have a nice day!
ocoot said:
i just create a simple tuts ho to make touchwiz30launcher support transparent statusbar, let's go to check this
Tools:
1. apk manager or other (must know the basic compile-decompile)
2. notepad++ or other
3. touchwiz30launcher deodex
4. ice cube (for people who are confused) hehe :fingers-crossed:
Instructions:
1. decompile touchwiz30launcher using apkmanager
2. go to res/xml-ldpi
3. open launcher_config.xml using notepad++
4. change
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="true" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
to
Code:
<?xml version="1.0" encoding="utf-8"?>
<config
xmlns:launcher="http://schemas.android.com/apk/res/com.sec.android.app.twlauncher ">
<columnno launcher:menuColumnCount="4" />
<itemno launcher:itemNumOfPage="12" />
<pageindicator launcher:useLargeDrawablesOnly="false" />
<launcher launcher:screenCount="7" launcher:defaultScreenCount="3" launcher:use16BitWindow="false" launcher:useImageMenu="false" />
<product launcher:modelFamily="S1" launcher:model="GT-I5800" />
</config>
5. compile again and make sure the error does not occur when compile
6. push to system/app
thanks to:
-Jono Rinugroho (tester)
-Anri Dicky's (screenshot)
-(Temporary) Official Grup gYoung Indonesia
-You
Press Thanks if Helped :victory:
touchwiz30launcher modded
update support 5 icon drawer​
and this is tuts for change 4 to 5 icons drawer. equipment the same as above, but how to apply is different
steps:
1. go to res/layout-ldpi
2. open launcher.xml with notepad++
3. search
HTML:
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="4" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
chage to
HTML:
<com.sec.android.app.twlauncher.AppShortcutZone android:layout_gravity="bottom|center" android:id="@id/shortcut_zone" android:layout_width="fill_parent" android:layout_height="@dimen/menu_top_item_height" launcher:iconColumnCount="5" />
<com.sec.android.app.twlauncher.DeleteZone android:layout_gravity="bottom|center" android:id="@id/delete_zone" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="50.659973dip" launcher:applyIconHoverColorFilter="false" launcher:drawDeleteZoneBg="true" launcher:inOutAnimationTranslationRatio="1.0" launcher:inOutAnimationDuration="200">
<FrameLayout android:id="@id/remove_zone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="18.659973dip" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" android:singleLine="true" android:drawableLeft="@drawable/homescreen_remove_icon" android:drawablePadding="6.659973dip" />
</FrameLayout>
4. then, go to smali/com/sec/android/app/twlauncher
5. open AppShortcutZone.smali
6. find text
HTML:
const/4 v8, 0x3
replace 0x3 with 0x4
7. done
touchwiz30launcher.apk
Click to expand...
Click to collapse
Can you plz post more screen shot of your launcher
Sent from my GT-S5360 using xda premium
Noob Question
Hi very nice tut,i am a noob so question is,is there any of the launchers who already have the 5 drawer just to download and push it, i dont know anything of notepad+++ and compieling...
thank you
marinalin85 said:
What about text in dock? :->
Have a nice day!
Click to expand...
Click to collapse
what mean? change the color?
jerryn70 said:
Can you plz post more screen shot of your launcher
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
sorry, i'm use creeds rom and I do not think this rom can't show the launcher (don't know why) so when I'm done editing, I need a tester for test results
denniz05 said:
Hi very nice tut,i am a noob so question is,is there any of the launchers who already have the 5 drawer just to download and push it, i dont know anything of notepad+++ and compieling...
thank you
Click to expand...
Click to collapse
go launcher, adw ex, holo launcher already have the 5 icons drawer bro. whether here yet available keys to compile decompile?
ocoot said:
go launcher, adw ex, holo launcher already have the 5 icons drawer bro. whether here yet available keys to compile decompile?
Click to expand...
Click to collapse
that i know,but i want to keep the stock launcher,but with 5 icon drawer,i pushed number 2 of yours,not the modded one...and it is much faster but need the last icon that i dont know how too

[Q] help recompiling

hey guys i want a help...i was trying to remove the quick settings from jaggyrom5, what i did is just decompiled it from apktools and deleted two files from layout named quick_settings.xml and quick_settings_config.xml then when i was trying to recompile it gives a very big error..wat to do..
manthan808 said:
hey guys i want a help...i was trying to remove the quick settings from jaggyrom5, what i did is just decompiled it from apktools and deleted two files from layout named quick_settings.xml and quick_settings_config.xml then when i was trying to recompile it gives a very big error..wat to do..
Click to expand...
Click to collapse
Why did you want remove the quick settings? :S...
Mmm... You copy META-INF + AndroidManifest.xml from original apk and paste in /SystemUI/build/apk/ and recompile?
Regards .
Edit: Now I read your post, you compiled with "apktool b SystemUI.apk" ?? If is it, remove ".apk" because are compiling the original apk and doesn't the folder with the data of apk... xD
Deic said:
Why did you want remove the quick settings? :S...
Mmm... You copy META-INF + AndroidManifest.xml from original apk and paste in /SystemUI/build/apk/ and recompile?
Regards .
Edit: Now I read your post, you compiled with "apktool b SystemUI.apk" ?? If is it, remove ".apk" because are compiling the original apk and doesn't the folder with the data of apk... xD
Click to expand...
Click to collapse
Thanx for the reply...i want to remove quick settings to make notification bar faster...and ive written apktool b systemui...not apktool b systemui.apk..then also its not recompiling...
Sent from my HTC Explorer A310e using xda app-developers app
manthan808 said:
Thanx for the reply...i want to remove quick settings to make notification bar faster...and ive written apktool b systemui...not apktool b systemui.apk..then also its not recompiling...
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
You try "\SystemUI\smali\com\android\systemui\statusbar\preference\" and remove related with quick settings...
Deic said:
You try "\SystemUI\smali\com\android\systemui\statusbar\preference\" and remove related with quick settings...
Click to expand...
Click to collapse
Ill try that...
Sent from my HTC Explorer A310e using Tapatalk 2
Deic said:
You try "\SystemUI\smali\com\android\systemui\statusbar\preference\" and remove related with quick settings...
Click to expand...
Click to collapse
I deleted the whole folder but then also nothing's happening...
Sent from my HTC Explorer A310e using Tapatalk 2
manthan808 said:
I deleted the whole folder but then also nothing's happening...
Sent from my HTC Explorer A310e using Tapatalk 2
Click to expand...
Click to collapse
Try delete this lines in "\SystemUI\res\layout\status_bar_preference.xml"
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.preference.PreferenceView android:orientation="vertical" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:background="@drawable/status_bar_item_background" android:duplicateParentState="true" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_preference_height">
[COLOR="Red"]<ImageView android:layout_gravity="center_vertical" android:id="@id/icon" android:layout_width="@dimen/quick_settings_icon_weight" android:layout_height="@dimen/quick_settings_icon_height" android:layout_marginLeft="@dimen/quick_settings_icon_left_margin" android:layout_marginRight="@dimen/quick_settings_icon_right_margin" />[/COLOR]
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@com.htc:dimen/htc_list_item_text_right_margin" android:layout_weight="1.0">
<TextView android:textSize="@com.htc:dimen/list_primary_m" android:textColor="@color/list_item_primary_text" android:id="@id/title" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textSize="@com.htc:dimen/list_secondary_m" android:textColor="@color/list_item_secondary_text" android:id="@id/summary" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.widget.SeekBar android:id="@id/seekbar" android:visibility="gone" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<CheckBox android:layout_gravity="center_vertical" android:id="@id/checkbox" android:clickable="false" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@com.htc:dimen/htc_list_item_text_right_margin" />
</LinearLayout>
<ImageView android:id="@id/divider" android:background="@drawable/divider_horizontal_light_opaque" android:layout_width="fill_parent" android:layout_height="1.0px" />
</com.android.systemui.statusbar.preference.PreferenceView>
nothing's happening...deleted the line also...
Deic said:
Try delete this lines in "\SystemUI\res\layout\status_bar_preference.xml"
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.preference.PreferenceView android:orientation="vertical" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:background="@drawable/status_bar_item_background" android:duplicateParentState="true" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_preference_height">
[COLOR="Red"]<ImageView android:layout_gravity="center_vertical" android:id="@id/icon" android:layout_width="@dimen/quick_settings_icon_weight" android:layout_height="@dimen/quick_settings_icon_height" android:layout_marginLeft="@dimen/quick_settings_icon_left_margin" android:layout_marginRight="@dimen/quick_settings_icon_right_margin" />[/COLOR]
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@com.htc:dimen/htc_list_item_text_right_margin" android:layout_weight="1.0">
<TextView android:textSize="@com.htc:dimen/list_primary_m" android:textColor="@color/list_item_primary_text" android:id="@id/title" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textSize="@com.htc:dimen/list_secondary_m" android:textColor="@color/list_item_secondary_text" android:id="@id/summary" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.widget.SeekBar android:id="@id/seekbar" android:visibility="gone" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<CheckBox android:layout_gravity="center_vertical" android:id="@id/checkbox" android:clickable="false" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@com.htc:dimen/htc_list_item_text_right_margin" />
</LinearLayout>
<ImageView android:id="@id/divider" android:background="@drawable/divider_horizontal_light_opaque" android:layout_width="fill_parent" android:layout_height="1.0px" />
</com.android.systemui.statusbar.preference.PreferenceView>
Click to expand...
Click to collapse
nothings happening deleted the line also..

[DISCONTINUED][GUIDE]Adding Brightness Slider to ROM[GB][CM7]

Yo peeps, this is my first guide!! So if i am wrong anywhere please help me!!
Click to expand...
Click to collapse
Warning: This method is only working on GB roms, CM7 rom and not for CM9 , CM10 and CM10.1 roms
Click to expand...
Click to collapse
Requirements:​
-Notepad++
-Apktool
-Deodexed SystemUI.apk
-Statusbar Greeper Download Link
Credits:​
-npx123
-Xda
-Google
Instructions:​
-Decompile SystemUI.apk
-Navigate to res/layout/status_bar_expanded.xml
-Open it
Search for :
Code:
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
Above that add these:
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:paddingTop="20.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<in.jmkl.dcsms.statusbargreper.SlideBrightness android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
-Now add this file in ur smali folder
-Recompile SystemUI.apk
-Add StatusbarGreeper_1.8.apk to app folder of your rom and replace the SystemUI.apk with the new one.
Your done!!! All the best doing it!!!!
Yeah, thanks but could we see some screens ?
CroVeXx said:
Yeah, thanks but could we see some screens ?
Click to expand...
Click to collapse
i ll be posting a rom soon see in that bro
yeshwanthvshenoy said:
i ll be posting a rom soon see in that bro
Click to expand...
Click to collapse
OK thanks!

Categories

Resources