[q] text color - Galaxy S III Themes and Apps

i've posted this already in general help thread, but realized it's better placed here...
i'm using temaseks cm 10.2 build and a theme called slate..
more than one digit numbers in sms and whatsapp messages get unreadable because they are formatted as link to store in contacts or whatever, and this color fits perfectly to the background.
where are these textcolor variables defined?
i would prefer not to simply change the theme, because i'm in love with it..
i did not find the right question for Google, guess me's to stupid..
thanks in advance
Gesendet von meinem GT-I9300 mit Tapatalk 2

ok...wrong question..
i decompiled my theme, found some xml in res/values folder, where a lot colors a set..
how can i find out, which var is used for the highlighted text in sms or whatsapp..
here for example, the colors.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="holo_blue_light">#ffffffff</color>
<color name="holo_blue_dark">#ffffffff</color>
<color name="holo_green_light">#ffffffff</color>
<color name="holo_green_dark">#ffffffff</color>
<color name="holo_red_light">#ffffffff</color>
<color name="holo_red_dark">#ffffffff</color>
<color name="holo_orange_light">#ffffffff</color>
<color name="holo_orange_dark">#ffffffff</color>
<color name="holo_purple">#ffffffff</color>
<color name="holo_blue_bright">#ffffffff</color>
<color name="highlighted_text_dark">#ff999999</color>
<color name="highlighted_text_light">#ff999999</color>
<color name="link_text_dark">#ff999999</color>
<color name="link_text_light">#ff999999</color>
<color name="suggestion_highlight_text">#ffffffff</color>
<color name="perms_dangerous_grp_color">#ffffffff</color>
<color name="perms_dangerous_perm_color">#ffffffff</color>
<color name="search_url_text_normal">#ff999999</color>
<color name="keyguard_text_color_unlock">#ffffffff</color>
<color name="keyguard_text_color_soundon">#ffffffff</color>
<color name="keyguard_text_color_decline">#ffffffff</color>
<color name="lockscreen_clock_background">#cc000000</color>
<color name="lockscreen_owner_info">#ffffffff</color>
<color name="highlighted_text_holo_dark">#66ffffff</color>
<color name="highlighted_text_holo_light">#66222222</color>
<color name="link_text_holo_dark">#ffaaaaaa</color>
<color name="link_text_holo_light">#ff222222</color>
<color name="group_button_dialog_pressed_holo_dark">#46ffffff</color>
<color name="group_button_dialog_focused_holo_dark">#26222222</color>
<color name="group_button_dialog_focused_holo_light">#46222222</color>
<color name="legacy_pressed_highlight">#ff808080</color>
<color name="legacy_selected_highlight">#ff808080</color>
<color name="con_quickcontact_list_divider">#ffffffff</color>
<color name="con_quickcontact_list_background">#ff000000</color>
<color name="con_quickcontact_tab_indicator">#ffffffff</color>
<color name="con_background_primary">#ff000000</color>
<color name="con_background_social_updates">#ff000000</color>
<color name="con_section_header_text_color">#ffffffff</color>
<color name="con_detail_update_tab_text_color">#ffffffff</color>
<color name="con_call_log_missed_call_highlight_color">#ffffffff</color>
<color name="con_call_log_voicemail_highlight_color">#ffffffff</color>
<color name="con_people_app_theme_color">#ffffffff</color>
<color name="con_dialtacts_secondary_text_color">#ffffffff</color>
<color name="con_contact_count_text_color">#ffffffff</color>
<color name="con_detail_tab_carousel_tab_label_color">#ffffffff</color>
<color name="con_people_contact_tile_status_color">#ffffffff</color>
<color name="cam_recording_time_elapsed_text">#ffffffff</color>
<color name="cam_recording_time_remaining_text">#ff777777</color>
<color name="cam_on_viewfinder_label_background_color">#77333333</color>
<color name="cam_review_control_pressed_color">#ffaaaaaa</color>
<color name="cam_review_control_pressed_fan_color">#3faaaaaa</color>
<color name="cam_icon_disabled_color">#dd777777</color>
<color name="cam_time_lapse_arc">#ffffffff</color>
<color name="cam_dark_gray">#ff000000</color>
<color name="cam_share_popup_background">#da000000</color>
<color name="cam_share_popup_blackout">#ff090909</color>
<color name="cam_share_icon_background">#80000000</color>
<color name="cam_indicator_background">#40000000</color>
<color name="cam_popup_title_color">#ffffffff</color>
<color name="cam_popup_background">#ff000000</color>
<color name="cam_pano_custom_dialog_background">#ff666666</color>
<color name="cam_pano_progress_empty">#ff2e2e2e</color>
<color name="cam_pano_progress_done">#ff333333</color>
<color name="cam_pano_progress_indication">#ffffffff</color>
<color name="cam_pano_progress_indication_fast">#ffff2222</color>
<color name="cam_mode_selection_border">#ffffffff</color>
</resources>
any suggestions?

ok.. at the end i changed the theme...
even the theme developer didn't get it...
Gesendet von meinem GT-I9300 mit Tapatalk

Related

All You XML Buffs Out There!!!!!

Is there a way to have the "Startbar" "Deskbar" a shiny black hue, similar to using Base Hue/greyscale, but having it pre-coded in the respective "scheme.xml"?
I would guess it would require changing some of the below values or adding new ones, but all i can get thus far is a medium grey. :-(
<colorscheme><title>N15H_HUD</title>
<scheme>
<color name="COLOR_HOMETEXT" value="#FFFFFF" />
<color name="COLOR_HOMERULE" value="#000000" />
<color name="COLOR_HIGHLIGHT" value="#0066CC" />
<color name="COLOR_TRAYGRADLEFT" value="#000000" />
</scheme>
</colorscheme>

help with text plugin (xml home screen)

I have a t-mobile dash running Windows Mobile 6.0 standard.
I have had no luck with this text plugin (nor the owner plugin)
Code:
<plugin file="sysplug.dll" clsid="{5419F376-6520-4407-B8B8-740F5B353EDA}">
<label bgtext="#000000">
<text>I love french fries</text>
</label>
</plugin>
The whole file looks like this:
Code:
<?xml version="1.0"?>
<home>
<author>Ken</author>
<contacturl>http://www.foo.com</contacturl>
<title>Foo</title>
<version>1.0</version>
<default target-width="320" target-height="320" font-face="Segoe Condensed" font-size="16" font-weight="bold" padding-left="5" padding-right="5" bgcolor="transparent" fgcolor="COLOR_HOMETEXT" padding-top="3" b-border-color="COLOR_HOMERULE" b-border-width="1">
<format state="unselected" fgcolor="#FFFFFF" bgcolor="transparent" font-weight="bold"/>
<format state="selected" fgcolor="#FFFFFF" bgcolor="COLOR_HOMEHIGHLIGHT" font-weight="bold"/>
</default>
<background bgimage-rotated="TMobile.jpg" valign="top" />
<scheme>
<color name="COLOR_WINDOW" value="#FFFFFF" />
<color name="COLOR_WINDOWTEXT" value="#000000" />
<color name="COLOR_STATIC" value="#FFFFFF" />
<color name="COLOR_STATICTEXT" value="#000000" />
<color name="COLOR_HIGHLIGHT" value="#3485ce" />
<color name="COLOR_HIGHLIGHTTEXT" value="#FFFFFF" />
<color name="COLOR_TEXTSELECT" value="#FFFFFF" />
<color name="COLOR_MENU" value="#FFFFFF" />
<color name="COLOR_MENUTEXT" value="#000000" />
<color name="COLOR_GRAYTEXT" value="#CCCCCC" />
<color name="COLOR_GRADLEFT" value="#FFFFFF" />
<color name="COLOR_GRADRIGHT" value="#FFFFFF" />
<color name="COLOR_INTGRADLEFT" value="#FFFFFF" />
<color name="COLOR_INTGRADRIGHT" value="#FFFFFF" />
<color name="COLOR_TRAYGRADLEFT" value="#0a4476" />
<color name="COLOR_TRAYGRADRIGHT" value="#155D9C" />
<color name="COLOR_HIGHGRADLEFT" value="#3485ce" />
<color name="COLOR_HIGHGRADRIGHT" value="#3485ce" />
<color name="COLOR_TRAYTEXT" value="#FFFFFF" />
<color name="COLOR_WINDOWFRAME" value="#000000" />
<color name="COLOR_BTNFACE" value="#FFFFFF" />
<color name="COLOR_BTNTEXT" value="#000000" />
<color name="COLOR_SCROLLBAR" value="#3485ce" />
<color name="COLOR_HOMETEXT" value="#FFFFFF" />
<color name="COLOR_HOMEHIGHLIGHT" value="#3485ce" />
<color name="COLOR_HOMEHIGHLIGHTTEXT" value="#FFFFFF" />
<color name="COLOR_HOMERULE" value="#3485ce" />
<color name="COLOR_ALERTWINDOW" value="#FFFFFF" />
<color name="COLOR_ALERTTITLE" value="#444444" />
<color name="COLOR_ALERTRULE" value="#000000" />
<color name="COLOR_TITLEFLATCENTER" value="#3485ce" />
<color name="COLOR_SOFTKEYFLATCENTER" value="#3485ce" />
</scheme>
<plugin file="sysplug.dll" clsid="{5419F376-6520-4407-B8B8-740F5B353EDA}">
<label bgtext="#000000">
<text>I love french fries</text>
</label>
</plugin>
</home>
I note that both of these plugins include a call to the sysplug.dll. Is it possible that my phone does not have this dll? Where should I check?
Secondly, I have read contradictory information about where the .home.xml file should go. It seems that there is a copy of all of my .home.xml in both the /Application Data/Home directory as well as the /Windows directory. Do I need the same file copied in both locations? What's the deal here?
Thanks!
klaberte said:
I have a t-mobile dash running Windows Mobile 6.0 standard.
I have had no luck with this text plugin (nor the owner plugin)
Click to expand...
Click to collapse
For Owner Notes, have you tried like this(not sure on the clsid, you'll have to make sure its the correct for owner plugin)
Code:
<plugin file="sysplug.dll" clsid="{5419F376-6520-4407-B8B8-740F5B353EDA}" [SIZE=3][B]name="owner" height="27"[/B][/SIZE]>
<label halign="center" valign="top" w="320" h="27">
[SIZE=3][B]<text><notes/></text>[/B][/SIZE]
</label></plugin>
The height, width, and alignment values are just what i used before. Your actual text you want displayed would need to be written into notes field of owner information. I have a mortscript that will run a text loop using this plugin so that the text will rotate with different info every few seconds by rewriting the text to the registry.
Any other ideas?

Background of Theme.Light

prejudice would like to change a simple setting png as a background but I do not know how to do .... the value of style.xml is simply this
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Light" />
</resources>
how can I do ?
massinegro204 said:
prejudice would like to change a simple setting png as a background but I do not know how to do .... the value of style.xml is simply this
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Light" />
</resources>
how can I do ?
Click to expand...
Click to collapse
I'm not really sure what or how you're trying to do this, but if i'm following you right you could do something like this
Code:
<style name="AppTheme" parent="@android:style/Theme.Light">
<item name="windowBackground">@drawable/app_theme_background</item>
</style>
app_theme_background being your xml in drawable that defines the drawable/s
Here's the original xml from framework drawable (screen_background_selector_light.xml)
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/screen_background_light" android:state_accelerated="false" />
<item android:drawable="@drawable/background_holo_light" />
</selector>
'screen_background_light' or whatever you wish to name it...being your alternative hex color in values/drawables (guessing that's for slower devices or something)
'background_holo_light' or whatever you wish to name it being your alternative background image.

[Tips] Mastering Xperia Home Grid & Dock Icons Modding | Newbies Welcome

Hello folks, here's a new thread with a different idea, tips for mastering Modding Xperia Home Grid & Dock Icons, You may have seen my Xperia Launcher Mods, and i got a lot of requests for how to make it, there are guides for ready values, but not for the way ? or how can i know the right values? So in this guide i show you how .​
Index :
Changing Rows & Related Cells .
Changing Columns & Related Cells .
Changing Dock Icons .
Info :
Xperia Launcher Comes With Ready Values For Different DPI, You Gonna Modify Your Default Screen DPI Values & " Values " folder .
You Must Know How To Decompile / Recompile / Sign .
You Must Know What's Your Device DPI, Because We Gonna Modify 2 Folders, "values-swyourdp" and " values " .
There Are 2 Ways to modify, Easy & Hard, Hard Below, Easy is to copy ready values from other "values-swdp" and replace it with yours .
Let's Start, With values & values-sw480 for example ( Xperia Z1 ) :
Changing Apptray Columns & Rows By 1
Let's see my default values in the following folder : res/values-sw480dp
dimens : apptray_cell_width : 112 dip | apptray_cell_height : 116dip
integers : apptray_grid_rows : 6 | apptray_grid_columns : 5 .
Now, We need to know what's the cell height & width for every row & column, Here's How :
Grid Rows : 6 / Cell Height : 116 => 116 / 6 = 19.3, it means for every row we gonna add, we must minus " 116 " with " 19.3 " .
Grid Columns : 5 / Cell Width : 112 ==> 112 / 5 = 22.4, it means for every column we gonna add, we must minus "112" with " 22.4" .
So, Here's An Example :
Rows : 7 , Columns 6 => Cell Height : 96.7, Cell Width : 89.6 .
Easy, right ? Make the same for Desktop Cells & Grid in integers & dimens files, in both "values" and " values-swyourdp " .
Changing Dock Icons, Let's Take XZ1 Again For Example, We Need To Modify The Same Files In The Same Folders ( values & values-swyoudp ) .
stage_grid_columns : 5
max_stage_items : 4
stage_cell_width : 96
stage_cell_height : 116
So, I want to make it 7 Dock Icons, What i'm gonna do ? the same as above, Here's How :
Cell Width : 96 / 5 = 19.2 | Cell Height : 116 / 5 = 23.2 | For Every Icon You need to minus it just like above, So it the values will be like this :
stage_grid_columns : 7
max_stage_items : 6
stage_cell_width : 57.6
stage_cell_height : 69.6
Smooth & Easy, All what you need is a calculator :silly:, I've minus it twice because I've added 2 icons .
Notes :
For Dock Icons, You Have To Modify " Stage Icon Size " & " Stage Text Size " .
For AppTray & Desktop, You Have To Modify " Text Size " for Apptray & Desktop .
Hope these tips help you out with Modding Xperia Launcher .
Desktop Cells / Grid Modding is the same as Apptray .
Don't forget, you need to modify 2 folders, Default " values " and " values-swyourdp " .
Happy Modding!
Nice guide bro ^^
Yes nice guide. Maybe you know how to make colour background in app drawer.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
Thanks bro
omikron20 said:
Yes nice guide. Maybe you know how to make colour background in app drawer.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
Click to expand...
Click to collapse
Check colors / drawables xml files in "values" folder.
abo hani said:
Check colors / drawables xml files in "values" folder.
Click to expand...
Click to collapse
OK thank. But wat I must search in this xmls you know ?
omikron20 said:
OK thank. But wat I must search in this xmls you know ?
Click to expand...
Click to collapse
"background"
"apptray"
"bg"
abo hani said:
"background"
"apptray"
"bg"
Click to expand...
Click to collapse
Nothing work. But thanks for help.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
omikron20 said:
Nothing work. But thanks for help.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
Click to expand...
Click to collapse
It's in colors.xml " apptray background '
Sent from my C6903 using Tapatalk
abo hani said:
It's in colors.xml " apptray background '
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
I don't have it. It's my colors.xml below. I change "background_dim_color" but is change background everywhere, not only under apps.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="abc_input_method_navigation_guard">@android:color/black</color>
<color name="abc_search_url_text_normal">#ff7fa87f</color>
<color name="abc_search_url_text_pressed">@android:color/black</color>
<color name="abc_search_url_text_selected">@android:color/black</color>
<color name="accent_material_dark">@color/material_deep_teal_200</color>
<color name="accent_material_light">@color/material_deep_teal_500</color>
<color name="actionbar_pressed_color">#33ffffff</color>
<color name="apptray_drawer_badge_text_color">@null</color>
<color name="apptray_drawer_text_color">@null</color>
<color name="apptray_drop_zone_text_color">#ffffffff</color>
<color name="apptray_drop_zone_text_shadow_color">#ff000000</color>
<color name="apptray_search_activity_hint_text_color">#50ffffff</color>
<color name="apptray_search_activity_suggestion_primary_color">#bb000000</color>
<color name="apptray_search_activity_text_color">#ffffffff</color>
<color name="apptray_text_color">@color/desktop_text_color</color>
<color name="apptray_text_shadow_color">@color/desktop_text_shadow_color</color>
<color name="background_dim_color">#99000000</color>
<color name="background_floating_material_dark">@color/material_grey_800</color>
<color name="background_floating_material_light">@android:color/white</color>
<color name="background_material_dark">@color/material_grey_850</color>
<color name="background_material_light">@color/material_grey_50</color>
<color name="bright_foreground_disabled_material_dark">#80ffffff</color>
<color name="bright_foreground_disabled_material_light">#80000000</color>
<color name="bright_foreground_inverse_material_dark">@color/bright_foreground_material_light</color>
<color name="bright_foreground_inverse_material_light">@color/bright_foreground_material_dark</color>
<color name="bright_foreground_material_dark">@android:color/white</color>
<color name="bright_foreground_material_light">@android:color/black</color>
<color name="button_material_dark">#ff5a595b</color>
<color name="button_material_light">#ffd6d7d7</color>
<color name="common_action_bar_splitter">#ffd2d2d2</color>
<color name="common_signin_btn_dark_text_default">@android:color/white</color>
<color name="common_signin_btn_dark_text_disabled">#ffaaaaaa</color>
<color name="common_signin_btn_dark_text_focused">@android:color/white</color>
<color name="common_signin_btn_dark_text_pressed">@android:color/white</color>
<color name="common_signin_btn_default_background">#ffdd4b39</color>
<color name="common_signin_btn_light_text_default">#ff737373</color>
<color name="common_signin_btn_light_text_disabled">#ffaaaaaa</color>
<color name="common_signin_btn_light_text_focused">#ff737373</color>
<color name="common_signin_btn_light_text_pressed">@android:color/white</color>
<color name="cui_grid_divider_color">#30ffffff</color>
<color name="delete_dropzone_text_color">#ffffffff</color>
<color name="delete_dropzone_text_shadow_color">#ff000000</color>
<color name="design_fab_shadow_end_color">@android:color/transparent</color>
<color name="design_fab_shadow_mid_color">#14000000</color>
<color name="design_fab_shadow_start_color">#44000000</color>
<color name="design_fab_stroke_end_inner_color">#0a000000</color>
<color name="design_fab_stroke_end_outer_color">#0f000000</color>
<color name="design_fab_stroke_top_inner_color">#1affffff</color>
<color name="design_fab_stroke_top_outer_color">#2effffff</color>
<color name="design_snackbar_background_color">#ff323232</color>
<color name="design_textinput_error_color">#ffdd2c00</color>
<color name="desktop_text_color">#ff000000</color>
<color name="desktop_text_shadow_color">#b0000000</color>
<color name="desktop_tip_info_text_color">#ff000000</color>
<color name="desktop_tip_title_text_color">#ff40a7ff</color>
<color name="dim_foreground_disabled_material_dark">#80bebebe</color>
<color name="dim_foreground_disabled_material_light">#80323232</color>
<color name="dim_foreground_material_dark">#ffbebebe</color>
<color name="dim_foreground_material_light">#ff323232</color>
<color name="drop_hint_color">#ffffffff</color>
<color name="foreground_material_dark">@android:color/white</color>
<color name="foreground_material_light">@android:color/black</color>
<color name="highlighted_text_material_dark">#6680cbc4</color>
<color name="highlighted_text_material_light">#66009688</color>
<color name="hint_foreground_material_dark">@color/bright_foreground_disabled_material_dark</color>
<color name="hint_foreground_material_light">@color/bright_foreground_disabled_material_light</color>
<color name="home_badge_text_color">#ffa86600</color>
<color name="material_blue_grey_800">#ff37474f</color>
<color name="material_blue_grey_900">#ff263238</color>
<color name="material_blue_grey_950">#ff21272b</color>
<color name="material_deep_teal_200">#ff80cbc4</color>
<color name="material_deep_teal_500">#ff009688</color>
<color name="material_grey_100">#fff5f5f5</color>
<color name="material_grey_300">#ffe0e0e0</color>
<color name="material_grey_50">#fffafafa</color>
<color name="material_grey_600">#ff757575</color>
<color name="material_grey_800">#ff424242</color>
<color name="material_grey_850">#ff303030</color>
<color name="material_grey_900">#ff212121</color>
<color name="open_folder_header_text_color">#ff4c4c4c</color>
<color name="open_folder_item_text_color">#ff4c4c4c</color>
<color name="open_folder_item_text_color_old">#ffffffff</color>
<color name="primary_dark_material_dark">@android:color/black</color>
<color name="primary_dark_material_light">@color/material_grey_600</color>
<color name="primary_material_dark">@color/material_grey_900</color>
<color name="primary_material_light">@color/material_grey_100</color>
<color name="primary_text_default_material_dark">#ffffffff</color>
<color name="primary_text_default_material_light">#de000000</color>
<color name="primary_text_disabled_material_dark">#4dffffff</color>
<color name="primary_text_disabled_material_light">#39000000</color>
<color name="ripple_material_dark">#42ffffff</color>
<color name="ripple_material_light">#1f000000</color>
<color name="search_activity_background_dim_color">@color/background_dim_color</color>
<color name="search_activity_hint_text_color">#50ffffff</color>
<color name="search_activity_text_color">#ffffffff</color>
<color name="search_suggestion_item_text_color">#ffffffff</color>
<color name="search_suggestion_item_text_shadow_color">#b0000000</color>
<color name="secondary_text_default_material_dark">#b3ffffff</color>
<color name="secondary_text_default_material_light">#8a000000</color>
<color name="secondary_text_disabled_material_dark">#36ffffff</color>
<color name="secondary_text_disabled_material_light">#24000000</color>
<color name="stage_text_color">@color/desktop_text_color</color>
<color name="stage_text_shadow_color">@color/desktop_text_shadow_color</color>
<color name="switch_thumb_disabled_material_dark">#ff616161</color>
<color name="switch_thumb_disabled_material_light">#ffbdbdbd</color>
<color name="switch_thumb_normal_material_dark">#ffbdbdbd</color>
<color name="switch_thumb_normal_material_light">#fff1f1f1</color>
<color name="tutorial_background_color">#ca0d0d0d</color>
<item type="color" name="common_signin_btn_text_dark">false</item>
<item type="color" name="common_signin_btn_text_light">false</item>
</resources>
omikron20 said:
I don't have it. It's my colors.xml below. I change "background_dim_color" but is change background everywhere, not only under apps.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="abc_input_method_navigation_guard">@android:color/black</color>
<color name="abc_search_url_text_normal">#ff7fa87f</color>
<color name="abc_search_url_text_pressed">@android:color/black</color>
<color name="abc_search_url_text_selected">@android:color/black</color>
<color name="accent_material_dark">@color/material_deep_teal_200</color>
<color name="accent_material_light">@color/material_deep_teal_500</color>
<color name="actionbar_pressed_color">#33ffffff</color>
<color name="apptray_drawer_badge_text_color">@null</color>
<color name="apptray_drawer_text_color">@null</color>
<color name="apptray_drop_zone_text_color">#ffffffff</color>
<color name="apptray_drop_zone_text_shadow_color">#ff000000</color>
<color name="apptray_search_activity_hint_text_color">#50ffffff</color>
<color name="apptray_search_activity_suggestion_primary_color">#bb000000</color>
<color name="apptray_search_activity_text_color">#ffffffff</color>
<color name="apptray_text_color">@color/desktop_text_color</color>
<color name="apptray_text_shadow_color">@color/desktop_text_shadow_color</color>
<color name="background_dim_color">#99000000</color>
<color name="background_floating_material_dark">@color/material_grey_800</color>
<color name="background_floating_material_light">@android:color/white</color>
<color name="background_material_dark">@color/material_grey_850</color>
<color name="background_material_light">@color/material_grey_50</color>
<color name="bright_foreground_disabled_material_dark">#80ffffff</color>
<color name="bright_foreground_disabled_material_light">#80000000</color>
<color name="bright_foreground_inverse_material_dark">@color/bright_foreground_material_light</color>
<color name="bright_foreground_inverse_material_light">@color/bright_foreground_material_dark</color>
<color name="bright_foreground_material_dark">@android:color/white</color>
<color name="bright_foreground_material_light">@android:color/black</color>
<color name="button_material_dark">#ff5a595b</color>
<color name="button_material_light">#ffd6d7d7</color>
<color name="common_action_bar_splitter">#ffd2d2d2</color>
<color name="common_signin_btn_dark_text_default">@android:color/white</color>
<color name="common_signin_btn_dark_text_disabled">#ffaaaaaa</color>
<color name="common_signin_btn_dark_text_focused">@android:color/white</color>
<color name="common_signin_btn_dark_text_pressed">@android:color/white</color>
<color name="common_signin_btn_default_background">#ffdd4b39</color>
<color name="common_signin_btn_light_text_default">#ff737373</color>
<color name="common_signin_btn_light_text_disabled">#ffaaaaaa</color>
<color name="common_signin_btn_light_text_focused">#ff737373</color>
<color name="common_signin_btn_light_text_pressed">@android:color/white</color>
<color name="cui_grid_divider_color">#30ffffff</color>
<color name="delete_dropzone_text_color">#ffffffff</color>
<color name="delete_dropzone_text_shadow_color">#ff000000</color>
<color name="design_fab_shadow_end_color">@android:color/transparent</color>
<color name="design_fab_shadow_mid_color">#14000000</color>
<color name="design_fab_shadow_start_color">#44000000</color>
<color name="design_fab_stroke_end_inner_color">#0a000000</color>
<color name="design_fab_stroke_end_outer_color">#0f000000</color>
<color name="design_fab_stroke_top_inner_color">#1affffff</color>
<color name="design_fab_stroke_top_outer_color">#2effffff</color>
<color name="design_snackbar_background_color">#ff323232</color>
<color name="design_textinput_error_color">#ffdd2c00</color>
<color name="desktop_text_color">#ff000000</color>
<color name="desktop_text_shadow_color">#b0000000</color>
<color name="desktop_tip_info_text_color">#ff000000</color>
<color name="desktop_tip_title_text_color">#ff40a7ff</color>
<color name="dim_foreground_disabled_material_dark">#80bebebe</color>
<color name="dim_foreground_disabled_material_light">#80323232</color>
<color name="dim_foreground_material_dark">#ffbebebe</color>
<color name="dim_foreground_material_light">#ff323232</color>
<color name="drop_hint_color">#ffffffff</color>
<color name="foreground_material_dark">@android:color/white</color>
<color name="foreground_material_light">@android:color/black</color>
<color name="highlighted_text_material_dark">#6680cbc4</color>
<color name="highlighted_text_material_light">#66009688</color>
<color name="hint_foreground_material_dark">@color/bright_foreground_disabled_material_dark</color>
<color name="hint_foreground_material_light">@color/bright_foreground_disabled_material_light</color>
<color name="home_badge_text_color">#ffa86600</color>
<color name="material_blue_grey_800">#ff37474f</color>
<color name="material_blue_grey_900">#ff263238</color>
<color name="material_blue_grey_950">#ff21272b</color>
<color name="material_deep_teal_200">#ff80cbc4</color>
<color name="material_deep_teal_500">#ff009688</color>
<color name="material_grey_100">#fff5f5f5</color>
<color name="material_grey_300">#ffe0e0e0</color>
<color name="material_grey_50">#fffafafa</color>
<color name="material_grey_600">#ff757575</color>
<color name="material_grey_800">#ff424242</color>
<color name="material_grey_850">#ff303030</color>
<color name="material_grey_900">#ff212121</color>
<color name="open_folder_header_text_color">#ff4c4c4c</color>
<color name="open_folder_item_text_color">#ff4c4c4c</color>
<color name="open_folder_item_text_color_old">#ffffffff</color>
<color name="primary_dark_material_dark">@android:color/black</color>
<color name="primary_dark_material_light">@color/material_grey_600</color>
<color name="primary_material_dark">@color/material_grey_900</color>
<color name="primary_material_light">@color/material_grey_100</color>
<color name="primary_text_default_material_dark">#ffffffff</color>
<color name="primary_text_default_material_light">#de000000</color>
<color name="primary_text_disabled_material_dark">#4dffffff</color>
<color name="primary_text_disabled_material_light">#39000000</color>
<color name="ripple_material_dark">#42ffffff</color>
<color name="ripple_material_light">#1f000000</color>
<color name="search_activity_background_dim_color">@color/background_dim_color</color>
<color name="search_activity_hint_text_color">#50ffffff</color>
<color name="search_activity_text_color">#ffffffff</color>
<color name="search_suggestion_item_text_color">#ffffffff</color>
<color name="search_suggestion_item_text_shadow_color">#b0000000</color>
<color name="secondary_text_default_material_dark">#b3ffffff</color>
<color name="secondary_text_default_material_light">#8a000000</color>
<color name="secondary_text_disabled_material_dark">#36ffffff</color>
<color name="secondary_text_disabled_material_light">#24000000</color>
<color name="stage_text_color">@color/desktop_text_color</color>
<color name="stage_text_shadow_color">@color/desktop_text_shadow_color</color>
<color name="switch_thumb_disabled_material_dark">#ff616161</color>
<color name="switch_thumb_disabled_material_light">#ffbdbdbd</color>
<color name="switch_thumb_normal_material_dark">#ffbdbdbd</color>
<color name="switch_thumb_normal_material_light">#fff1f1f1</color>
<color name="tutorial_background_color">#ca0d0d0d</color>
<item type="color" name="common_signin_btn_text_dark">false</item>
<item type="color" name="common_signin_btn_text_light">false</item>
</resources>
Click to expand...
Click to collapse
Here's Stock Old Home - Colors.xml :
<color name="apptray_background_color">#99000000</color>
New Z5 Home - You need to dig in Styles.xml file in values & values-v21 folders, and look for HomeTheme or something related to it, and you will find " android:background " with the value beside it.

Layout issues when adding toolbar to preference screen

I try to built a preference screen with a toolbar, but I got some issues:
- There is a word "main". How can I remove it?
- The status bar is white. I want it to look like my main screen (same theme). Somehow it does not apply the color
- The toolbar overlays the content. I tried a a layout_marginTop on the list view, but it does not change anything.
Here is the code of my activity_settings.xml:
Code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/colorPrimary"
app:navigationIcon="?attr/homeAsUpIndicator"
app:title="@string/action_settings"
android:theme="@style/ThemeOverlay.AppCompat.Dark" />
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="?attr/actionBarSize"/>
</LinearLayout>
This is the AndroidManifest entry:
Code:
<activity
android:name=".activities.SettingsActivity"
android:label="@string/activity_settings"
android:theme="@style/AppTheme.NoActionBar" />
Can anybody help me?
Why don't you link the manifest of the 2 activities to the same style theme?
--------------------------
I keep track of your replies with my android devices using the app "Tapatalk".
What do you mean? Can you please give me a short example? Thank you!
He wants both of the activity to have the same theme. You have to do it in the manifest. Also to remove main, you have to set android:label=""
To change the status bar color, change color for colorPrimaryDark in color.xml

Categories

Resources