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
Related
Im on cm6.2 rom for Eris, and using ApkManager..
I have changed the background correctly in drawable-mdpi and i have decompiled the frame work and edit styles.xml and changed
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
to
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">@color/bright_foreground_dark</item>
To get the text the color i want. and than i changed
<item name="verticalDivider">@drawable/divider_vertical_bright</item>
to
<item name="verticalDivider">@drawable/divider_vertical_dark</item>
To get the Virtical divider to show. The menu looks great and works fine BUT when it comes to opening widget settings, Launcher settings and even phone settings i get FC's. Anyone know how to help me with this?
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 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].
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
I have placed a toolbar into an activity and set its width to match parent and its margin and padding to 0dp. I then placed a relative layout inside and did the same width to match parent and its margin and padding to 0dp. The relative layout (i set it background to grey) has what looks like a 10p margin on its left I can not remove. This happens if you replace the relative layout with anything such as text or a button.
Any help would be appreciated. (xml layout code and below)
(I can not post a pic because I am new to the forums but there is a green toolbar that takes up the full width of the device and a grey relative layout inside which touches the right side of the screen but the left has an approximately 10dp gap to the edge of the toolbar)
(I replaced http with BADGER in the code below as I can not post links)
mydemo.xml
PHP:
<RelativeLayout xmlns:android="BADGER://schemas.android.com/apk/res/android"
xmlns:tools="BADGER://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Loadscreen_Activity">
<android.support.v7.widget.Toolbar xmlns:android="BADGER://schemas.android.com/apk/res/android"
android:id="@+id/mytoolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/ColorPrimary"
android:layout_margin="0dp"
android:padding="0dp" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="#CCC"
android:layout_margin="0dp"
android:padding="0dp" >
</RelativeLayout>
</android.support.v7.widget.Toolbar>
</RelativeLayout>
styles.xml
PHP:
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/ColorPrimary</item>
<item name="colorPrimaryDark">@color/ColorPrimaryDark</item>
</style>
</resources>