[Q] Help for some changes to a theme - Xperia Z1 Q&A, Help & Troubleshooting

Hi, this is my first attempt to create a theme for my Xperia Z1 but I found some problems for which I ask for help. I have root and super user mod enabled.
1) I can not change the height of the navigation bar, in asset android.apk in res/values​​/dimens.xml I set these values
Code:
<dimen name="navigation_bar_height">36.0dip</dimen>
<dimen name="navigation_bar_height_landscape">36.0dip</dimen>
but it does not change anything, not even after a reboot. I wonder how some modules Xposed or other mods around changing this setting.
2) Is it possible to add a right margin instead of just a left margin to the notifications panel? I've used this code in asset com.android.systemui.apk res/values/dimens.xml
Code:
<dimen name="notification_panel_margin_left">10.0dip</dimen>
adding this
Code:
<dimen name="notification_panel_margin_right">10.0dip</dimen>
but i don't know if this parameter really exists, however i can not set a right margin.
Maybe the cause is
Code:
<dimen name="notification_panel_width">-1dip</dimen>
? I've tried also to change this value but nothing (-11dip or another value but nothing). What is the device max width in dip?
3) instead of a solid color for the notification panel, if i want to use an image how can i do this? Need i to change this image notification_panel_bg.9.png in systemu asset and change
Code:
<item type="drawable" name="somc_notification_panel_bg">#fe25292d</item>
to point the image?
4) Last question: is it possible to remove the 1 / o text in settings quick toggle wifi/bluetooth? If yes weere i can? With the screenshot is more clear to understand what i want to remove.
Thank you ans sorry for my bad english

Related

[Q] Theme help please

Im trying to change the text in the popup menu to white.
I managed to do it in the first picture, but when i click on "MORE" it brings up the second window (like in picture 2). I need to change the text in picture 2.
Running stock sony firmware for xperia x10, i know the file is in framewrik/res/drawablehdpi/values/style.xml
but which line i edit?
thnaks.....
In framework-res/res/values/styles.xml
Code:
"TextAppearance.Widget.IconMenu.Item"
<item name="android:textColor">?android:textColorPrimary</item>
"Theme.ExpandedMenu"
<item name="android:itemTextAppearance">?android:textAppearanceLarge</item>
This is what I set to get the white text in both menus.

how to change this text colour

how to change this menu text colour from black to white
which xml file to edit
re
decompile your framework-res.apk and find menu_background_fill_parent_width.9.png
varalex said:
decompile your framework-res.apk and find menu_background_fill_parent_width.9.png
Click to expand...
Click to collapse
i know that how to change png background i just want to change text colour from black to white
Any one
Sent from my GT-I9003 using XDA App
I'd actually love to know this info as well! I'm trying to change the text color to white, but I haven't been able to figure out which xml file makes the change in Gingerbread.
text colour
nitinvaid said:
how to change this menu text colour from black to white
which xml file to edit
Click to expand...
Click to collapse
Change the secondary text colour of our system.........
framework-res/res/values/colour.xml/secondary_colour..
If you not getting how to do....then wait...i will write a guide to change all text colour of andro.... :good::good::good::good:
In framework styles add your textColor to this style
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">@color/your_color</item>
</style>
Edit: just realised how old the original question is lol
Sent from my GT-I9100 using xda premium
aguha1044 said:
Change the secondary text colour of our system.........
framework-res/res/values/colour.xml/secondary_colour..
If you not getting how to do....then wait...i will write a guide to change all text colour of andro.... :good::good::good::good:
Click to expand...
Click to collapse
:good::good::good::good:
I looking for this guide long time. could you send to me [email protected].

Gingerbread Status Bar Clock

Guys, I went back and started running Android 2.3.3 on my phone again. I started creating a theme for it and for the last 2 days I cannot figure out why my status clock color won't change. I read all the posts about changing it, but it just doesn't work. I modified my status_bar.xml to reflect the color I want and I still end up with a white clock. The date changes but not the clock.
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#ff2686ab" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Any ideas?
Thanks
Any help? Is there a better place to ask this question?
see where it says "android:textAppearance="@android:style/TextAppearance.StatusBar.Icon"
go to res/values/styles.xml and find that line, try to change it from there..maybe it will work. There is a possibility that your rom handles differently the clock color because many roms have options to change that.
nikosrs4 said:
see where it says "android:textAppearance="@android:style/TextAppearance.StatusBar.Icon"
go to res/values/styles.xml and find that line, try to change it from there..maybe it will work. There is a possibility that your rom handles differently the clock color because many roms have options to change that.
Click to expand...
Click to collapse
All the styles xml has:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="TextAppearance.StatusBar.Title" parent="@android:style/Theme.Holo.Light.Panel">
<item name="android:textAppearance">?android:textAppearanceSmall</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">@drawable/notification_header_text_color</item>
</style>
<style name="TextAppearance.StatusBar.IntruderAlert" parent="@android:style/Theme.Holo.Light.Panel" />
</resources>
Sorry, I'm not a dev so this doesn't come that easy to me.
Bump.
Spend hours and hours on figuring this out, still no luck
At this point I changed every FFFFFFFF I found in systemui to a different value, clock is still white....
Decompile the framework-res.apk, I think the statusbar.icon style is there You see that it says "android:" first? That indicates that it is in the framework-res If it is @ instead it is in the apk you decompiled

[Q] hide text/name of quick setting

hide text/name of quick setting, in the notification bar. like hide the name under wifi ,gps ,sound ,etc toggles, and be more small so i get more space.. ?
anyone know some how to do it? (maybe decompile Systemui.apk but didnt find any guide..)
Hi! Decompile systemui.apk, navigate to res\values\dimens.xml and find and change this lines:
Code:
<dimen name="quick_setting_button_height">45.0dip</dimen>
<dimen name="quick_setting_button_image_height">40.0dip</dimen>
<dimen name="quick_setting_button_text_height">0.0dip</dimen>
<dimen name="quick_setting_button_text_size">2.0dip</dimen>
<dimen name="quick_setting_button_status_height">0.0dip</dimen>
<dimen name="quick_setting_button_status_padding">0.0dip</dimen>
<dimen name="quick_setting_button_margin_top">2.0dip</dimen>
With this values you can get this
Nice and tks. You know to how make the background of the quick settings black and not that blue. And change the color of the text that said Notification or Clear Notification.
Sent from my GT-I8190L using xda app-developers app
Nice and tks. You know to how make the background of the quick settings black and not that blue. And change the color of the text that said Notification or Clear Notification.
Sent from my GT-I8190L using xda app-developers app

Changing the colors of a spinner

Surely there must be a SIMPLE way to change the damn text colour of spinner control without creating string array resources, alternative text view layouts and having the app crash if you get one of the multiple steps wrong.
What has happened to the KISS principal here? I.E. Just change a property value in the layout editor!

Categories

Resources