Can anyone help me or point me in the right direction. I want to change the text color in the submenu highlighted in the pic. I can't find the xml that controls it.
{
"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"
}
I because of this dont use dark themes.
Sent from my X8 using XDA Premium App
have the same problem... it's realy anoing,
maybe there will be a tool to change text colors in the next update...
You have to change the style in values/style to this:
<style name="Theme.ExpandedMenu" parent="@android:style/Theme">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
<item name="android:textColor">@android:color/bright_foreground_dark</item>
<style name="TextAppearance.Widget.IconMenu.Item" parent="@android:style/TextAppearance.Small">
<item name="android:textColor">@color/bright_foreground_dark</item>
Then you will get white text.The expanded menu is for the more window in menu.
alfsamsung said:
You have to change the style in values/style
Click to expand...
Click to collapse
could u be more specific??? where is that location ?
in .xml from FroyoBread | v020
style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLargeInverse</item>
.
they are different
<style name="Theme.ExpandedMenu" parent="@android:style/Theme">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
<item name="android:textColor">@android:color/bright_foreground_dark</item>
edit:SOLVED
seeing as you guys seem to know how do i change the colour that something glows when its pressed.....for example in the screenshot above the search button is selected and its blue how do i change that?
dmcb123 said:
seeing as you guys seem to know how do i change the colour that something glows when its pressed.....for example in the screenshot above the search button is selected and its blue how do i change that?
Click to expand...
Click to collapse
It's an image in res/drawable-mdpi/menuitem_background_pressed
i can´t find the .xml help please
Could you upload the xml file? or the file is inside theme.apk?
megagas22 said:
i can´t find the .xml help please
Click to expand...
Click to collapse
1. pull framework-res.apk from phone/rom
2. Decompile framework-res.apk to see folder res/values (if you not decompile folder values is not there)
3. in folder values is styles.xml file end change this line
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLargeInverse</item>
and
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
change whit this line
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">[COLOR="Red"]@color/bright_foreground_dark</item>[/COLOR]
and
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">[COLOR="Red"]@color/bright_foreground_dark</item>[/COLOR]
4. compile framework-res.apk
5. sing framework-res.apk
6. and finale push framework-res.apk in phone and reboot
Then you will get white text.The expanded menu is for the more window in menu.
cesaraph said:
Could you upload the xml file? or the file is inside theme.apk?
Click to expand...
Click to collapse
Sorry for my bad english!!!
dulemilosevski said:
1. pull framework-res.apk from phone/rom
2. Decompile framework-res.apk to see folder res/values (if you not decompile folder values is not there)
3. in folder values is styles.xml file end change this line
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLargeInverse</item>
and
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
change whit this line
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">[COLOR="Red"]@color/bright_foreground_dark</item>[/COLOR]
and
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">[COLOR="Red"]@color/bright_foreground_dark</item>[/COLOR]
4. compile framework-res.apk
5. sing framework-res.apk
6. and finale push framework-res.apk in phone and reboot
Then you will get white text.The expanded menu is for the more window in menu.
Sorry for my bad english!!!
Click to expand...
Click to collapse
OK, i decompiled it, edited it, recompiled it, but couldn't sign it, i read i had to copy the file resources.arsc from build folder to the root of the framework-res.apk, i did it, replaced the file in framework folder, restarted my phone and it stuck on boot. on the other hand I'm using windows 7, and i think i need linux environment, am I right?
I use alfsamsung methode n get apk manager to decompile it,but when compile it i got error mssge .but im ignore it n keep the work.
After finish,i push it to system but nothing change
Edit: solved, by changing the colour on drawable-mdpi
cruizz said:
I use alfsamsung methode n get apk manager to decompile it,but when compile it i got error mssge .but im ignore it n keep the work.
After finish,i push it to system but nothing change
Sent from my X8 using XDA Premium App
Click to expand...
Click to collapse
for FroyoBread | v022 | 23-07-11
http://forum.xda-developers.com/showpost.php?p=15946457&postcount=3757
hi, i just play around bit with apktool and try to edit some SEMC apks's-
at the moment im editing SemcAlbum.
So far its quiet clear, and with google i can search me many informations. i hav eno problem with editing Gridsize etc.
but i have some problem now. maybe someone can give me a hint.
as you can see on the pics, i was able to modify the background of the top bars and also of the main window.
one o fmy problems is, i have no idea why the darker grey part isnt same color like upper part. i try to get one color. i edited the pngs all same color, and i also edited some lines in /res/values/colors.xml and styles.xml
but im not sure, it looks like there is some shadow over the darker grey part. maybe someone has an idea what line i have to modify?
thats my colors.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="online_services_background_color">#ffc1c2c1</color>
<color name="default_background_color">#ff000000</color>
<color name="background_image_color">#ffc1c2c1</color>
<color name="default_highlight_color">#ff09afed</color>
<color name="default_selected_color">#ff00ccff</color>
<color name="fullscreen_actionlayer_color">#d9000000</color>
<color name="marker_badge_text_color">#aa000000</color>
<color name="album_color_band">#fffa5f1b</color>
<color name="dashboard_info_background_color">#aa000000</color>
</resources>
the styles.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Album" parent="@*android:style/Theme.DeviceDefault">
<item name="android:colorBackground">@color/default_background_color</item>
<item name="android:windowBackground">@color/default_background_color</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">true</item>
<item name="android:colorBackgroundCacheHint">@color/default_background_color</item>
<item name="android:actionBarStyle">@style/Album.ActionBar</item>
<item name="android:displayOptions"></item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:actionBarTabStyle">@style/Album.ActionBarTabStyle</item>
<item name="android:actionBarTabTextStyle">@style/Album.ActionBarTabTextStyle</item>
<item name="com.sonyericsson.uxp:directionality">leftToRight</item>
</style>
<style name="Album.ActionBar" parent="@*android:style/Widget.DeviceDefault.ActionBar.Solid">
<item name="android:background">@drawable/semc_ab_solid_dark_holo</item>
<item name="android:displayOptions">showHome</item>
<item name="android:backgroundStacked">@drawable/semc_ab_stacked_solid_dark_holo</item>
</style>
<style name="Album.TextAppearance.Small.Primary" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textColor">#ff292929</item>
</style>
<style name="Album.TextAppearance.Small.Secondary" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textColor">#ff292929</item>
</style>
<style name="Album.TextAppearance.ListInfo.Small" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textColor">#ff292929</item>
</style>
<style name="Album.TextAppearance.Micro" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textSize">12.0sp</item>
</style>
<style name="Album.TextAppearance.Micro.Secondary" parent="@style/Album.TextAppearance.Micro">
<item name="android:textColor">#ff292929</item>
</style>
<style name="Album.ActionBarTabTextStyle" parent="@*android:style/Widget.DeviceDefault.ActionBar.TabText">
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff292929</item>
<item name="android:textAllCaps">false</item>
</style>
<style name="Album.ActionBarTabStyle" parent="@*android:style/Widget.DeviceDefault.ActionBar.TabView">
<item name="android:background">@drawable/actionbar_tabselector</item>
</style>
<style name="Album.ButtonBar" parent="@*android:style/ButtonBar" />
<style name="Album.TextAppearance.DividerLabelTitleStyle" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
</style>
<style name="Album.TextAppearance.DividerLabelItemCountStyle" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">?android:textColorSecondary</item>
</style>
<style name="Album.TextAppearance.CommentsLikesCountStyle" parent="@*android:style/TextAppearance.DeviceDefault.Medium" />
</resources>
my second problem:
on the left picture you see the red marked Text, i was able to edit it, before it was a light text.
and my question about textcolor is, is it possible to edit the still white text?
i looked in the .xml files, but yet have no idea how i can fix. maybe its not possible to fix it inside SemcAlbum.apk?
Summary:
id like to modify all lighttext to darktext
id like to have all Background in one grey color (lightgrey)
maybe someone has an idea?
You'll need to find and modify the xml that calls for "ab_solid_light_holo.9" which is in framework-res.apk. That's if there is an xml calling for the image.
The colors will be controlled most likely through res/colors/ or res/styles.xml you just need to find the right value. They are probably being pulled from framework-res also.
They are probably quite easy to trace back.
Start by opening all xmls in SemcAlbum with notepad++ and search for "ab_solid_light_holo" in all opened xmls. if you dont get a hit it's probably being called through styles.
Go to styles.xml in SemcAlbum and have a read though the names and values, theyre normally self explanatory.
I'd help you more but i'm a bit busy.:good:
thanks, but i not have such lines in .xml files
lets see my steps, i edited every png/9.png same color (light grey, code c1c2c1)
i found out i have pngs with filename semc_ab_solid_dark_holo.9 > edited to c1c2c1 colorcode
thats what i see in colors.xml
Code:
<color name="online_services_background_color">#ffc1c2c1</color>
[U]<color name="default_background_color">#ffc1c2c1</color>
<color name="background_image_color">#ffc1c2c1</color>[/U]
<color name="default_highlight_color">#ff09afed</color>
<color name="default_selected_color">#ff00ccff</color>
<color name="fullscreen_actionlayer_color">#d9000000</color>
<color name="marker_badge_text_color">#aa000000</color>
<color name="album_color_band">#fffa5f1b</color>
<color name="dashboard_info_background_color">#aa000000</color>
i edited <color name="default_background_color">#ffc1c2c1</color>
<color name="background_image_color">#ffc1c2c1</color>
in my styles.xml i have this
Code:
<resources>
<style name="Theme.Album" parent="@*android:style/Theme.DeviceDefault">
[U]<item name="android:colorBackground">@color/default_background_color</item>
<item name="android:windowBackground">@color/default_background_color</item>[/U]
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">true</item>
<item name="android:colorBackgroundCacheHint">@color/default_background_color</item>
<item name="android:actionBarStyle">@style/Album.ActionBar</item>
<item name="android:displayOptions"></item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:actionBarTabStyle">@style/Album.ActionBarTabStyle</item>
<item name="android:actionBarTabTextStyle">@style/Album.ActionBarTabTextStyle</item>
<item name="com.sonyericsson.uxp:directionality">leftToRight</item>
</style>
<style name="Album.ActionBar" parent="@*android:style/Widget.DeviceDefault.ActionBar.Solid">
[U] <item name="android:background">@drawable/semc_ab_solid_dark_holo</item>[/U]
<item name="android:displayOptions">showHome</item>
[U]<item name="android:backgroundStacked">@drawable/semc_ab_stacked_solid_dark_holo</item>[/U]
you see, the AlbumActionBar has background defined with drawable/semc_ab_solid_dark_holo and it works, i edited the pngs, and the action is lightgrey c1c2c1
but the ThemeAlbum has background defined with color/default_background_color
color/default_background_color is defined in the colors.xml, right? in the colors.xml i have <color name="default_background_color">#ffc1c2c1</color>
but still, its a darker grey, like on the pictures
hm whats with this line in the styles.xml?
<color name="default_background_color">#ffc1c2c1</color>
<color name="background_image_color">#ffc1c2c1</color>
whats the difference between these two? :silly:
My apologies mate i read it wrong last night. I thought you wanted the top the same color as the bottom.
Are the backgrounds not normally controlled by the Semc theme?
SemcAlbum- styles.xml
Code:
<style name="Theme.Album" parent="@*android:style/Theme.DeviceDefault">
framework-res- styles.xml
Code:
<style name="Theme.DeviceDefault"
<item name="windowBackground">@com.sonyericsson.uxp:drawable/semc_bg</item>
SemcGenericUxpRes- semc_bg.xml
Code:
<bitmap android:src="@drawable/[COLOR="Red"]semc_bg_tile[/COLOR]" android:tileMode="repeat"
semc_bg_tile usually changes with the Sony themes. Have you tried changing the theme to see if the album background changes?
I dont use Sony apps so i cant try myself.
Hello to all of you
First, I want to say my English sucks... sor....
I want to ask you some problem
I want change my settings's background.
it's style.xml backgrounds reference framework-res Theme
but I don't want change theme default background
because other apk also reference this theme
I want only change settings background
who can help me...
and can i do this? I edit settings style.xml Red lines are my edits
</style>
<style name="Theme.Holo" parent="@*android:style/Theme.DeviceDefault.Light" />
<item name="windowbackground">@*android:drawable/senc_myimg</item>
<style name="Theme.Holo.NoActionBar" parent="@*android:style/Theme.DeviceDefault.Light.NoActionBar" />
<style name="Theme.Holo.Dialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog" />
<style name="Theme.Holo.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge">
<item name="android:directionality">true</item>
The last question @drawable/XXXXX AND @*drawable/xxxxx OR @*/@android:drawble/xxxx Difference
I am trying to do so via this method:
Code:
style="@style/SpinnerTextViewStyle"
And I have this in one of the style.xml files created by default when I created the project.
Code:
<style name="SpinnerTextViewStyle">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textColor">#0000aa</item>
<item name="android:textSize">16dp</item>
<item name="android:background">#ffffff</item>
<item name="android:padding">5dp</item>
</style>
This
Code:
<item name="android:background">#ffffff</item>
seems to work in the textview part but
Code:
<item name="android:textColor">#0000aa</item>
is totally ignored.
There must be some way of doing this!
Hi all iam apk5656 with my guide here i will explain how to turn on black/light theme on your android device
i tested it on my gb vista v7 jb rom but i dont know if this will work on 4.0+
ok lets start
there are to themes skins the black one and the light one in your framework-res
the black one is helpful if you want to theme your framework-res to jb/ics style
and the light one is helpful if you want to theme your framework-res to kk/lolipop light style
if you want to turn on light/black theme just continue with my guide here
turn on the the black one example 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"
}
decompile your framework-res and navigate to res/values/styles.xml
open it and search for <style name="Theme.Light" parent="@style/Theme"> (if you didnt find it search for <style name="Theme"> )
and you will find codes like this
Code:
<style name="Theme.Light" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_light</item>
<item name="colorBackground">@color/background_light</item>
<item name="textColorPrimary">@color/primary_text_light</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_light_disable_only</item>
<item name="textColorSecondary">@color/secondary_text_light</item>
<item name="textColorPrimaryInverse">@color/primary_text_dark</item>
<item name="textColorSecondaryInverse">@color/secondary_text_dark</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_light_nodisable</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_light_nodisable</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_dark_nodisable</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_dark_nodisable</item>
<item name="textColorHintInverse">@color/hint_foreground_dark</item>
<item name="textCheckMark">@drawable/indicator_check_mark_light</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_dark</item>
<item name="windowBackground">@drawable/screen_background_light</item>
<item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@style/Widget.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
<item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
<item name="textColorHint">@color/hint_foreground_light</item>
<item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
<item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
<item name="textColorTertiary">@color/tertiary_text_light</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
<item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
<item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
</style>
just make it look like this one but dont copy my whole xml just compare it
Code:
<style name="Theme.Light" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_light</item>
<item name="colorBackground">@color/transparent</item>
<item name="textColorPrimary">@color/primary_text_dark</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="textColorSecondary">@color/secondary_text_dark</item>
<item name="textColorPrimaryInverse">@color/primary_text_light</item>
<item name="textColorSecondaryInverse">@color/secondary_text_light</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_dark_nodisable</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_dark_nodisable</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_light_nodisable</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_light_nodisable</item>
<item name="textColorHintInverse">@color/hint_foreground_light</item>
<item name="textCheckMark">@drawable/indicator_check_mark_dark</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_light</item>
<item name="windowBackground">@drawable/screen_background_light</item></item>
<item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@style/Widget.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
<item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
<item name="textColorHint">@color/hint_foreground_light</item>
<item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
<item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
<item name="textColorTertiary">@color/tertiary_text_light</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
<item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
<item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
</style>
now recompile your framework-res and push it to your system/framework folder and give it the right permissions and tada you turned on the black theme
turn on the the light one example in settings.apk
decompile your framework-res and navigate to the same file (styles.xml)
open it and search for <style name="Theme.Light" parent="@style/Theme"> (if you didnt find it search for <style name="Theme"> )
and you will find codes like this
Code:
<style name="Theme.Light" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_light</item>
<item name="colorBackground">@color/transparent</item>
<item name="textColorPrimary">@color/primary_text_dark</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="textColorSecondary">@color/secondary_text_dark</item>
<item name="textColorPrimaryInverse">@color/primary_text_light</item>
<item name="textColorSecondaryInverse">@color/secondary_text_light</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_dark_nodisable</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_dark_nodisable</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_light_nodisable</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_light_nodisable</item>
<item name="textColorHintInverse">@color/hint_foreground_light</item>
<item name="textCheckMark">@drawable/indicator_check_mark_dark</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_light</item>
<item name="windowBackground">@drawable/screen_background_light</item>
<item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@style/Widget.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
<item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
<item name="textColorHint">@color/hint_foreground_light</item>
<item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
<item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
<item name="textColorTertiary">@color/tertiary_text_light</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
<item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
<item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
</style>
just make it look like this one but dont copy my whole xml just compare it
Code:
<style name="Theme.Light" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_light</item>
<item name="colorBackground">@color/background_light</item>
<item name="textColorPrimary">@color/primary_text_light</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_light_disable_only</item>
<item name="textColorSecondary">@color/secondary_text_light</item>
<item name="textColorPrimaryInverse">@color/primary_text_dark</item>
<item name="textColorSecondaryInverse">@color/secondary_text_dark</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_light_nodisable</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_light_nodisable</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_dark_nodisable</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_dark_nodisable</item>
<item name="textColorHintInverse">@color/hint_foreground_dark</item>
<item name="textCheckMark">@drawable/indicator_check_mark_light</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_dark</item>
<item name="windowBackground">@drawable/screen_background_dark</item>
<item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@style/Widget.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
<item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
<item name="textColorHint">@color/hint_foreground_light</item>
<item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
<item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
<item name="textColorTertiary">@color/tertiary_text_light</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
<item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
<item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
</style>
now recompile and push
just at the end the meaning of this guide is in styles.xml
dark means light
and light means dark
i hope i helped you just if you like my work pls hit thanks button
see you around :highfive: :victory:
XDA:DevDB Information
turning on light/black theme , Theme for all devices (see above for details)
Contributors
apk5656
Version Information
Status: Testing
Created 2016-04-25
Last Updated 2016-04-27