summaryrefslogtreecommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorKunhung Li <kunhungli@google.com>2022-02-12 16:58:06 +0800
committerKunhung Li <kunhungli@google.com>2022-02-23 07:56:56 +0000
commit53fc4d5aa3aa40a23b3819add0d0f1f6e1b6e796 (patch)
treea5fcf75c25431dcea46caf91892e14d400c7b08b /res/values
parentcaf59966f58db3eaf3972babf7ad2af86d0f1373 (diff)
downloadThemePicker-53fc4d5aa3aa40a23b3819add0d0f1f6e1b6e796.tar.gz
Move color picking code into AOSP
Add color picking related code, resources and libraries. Bug: 218396282 Test: manual Change-Id: I6aa244c8dac69f4663f97e19e91cfb6cf3eb0990
Diffstat (limited to 'res/values')
-rw-r--r--res/values/dimens.xml11
-rwxr-xr-xres/values/strings.xml13
2 files changed, 24 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 4aa43b4c..0ad221e7 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -124,4 +124,15 @@
<dimen name="beta_tag_background_width">46dp</dimen>
<dimen name="beta_tag_background_height">24dp</dimen>
+
+ <!-- For the color option section -->
+ <dimen name="color_options_container_top_margin">24dp</dimen>
+
+ <!-- For the color page. -->
+ <dimen name="color_page_indicator_margin_top">16dp</dimen>
+
+ <dimen name="component_color_chip_small_size_default">29dp</dimen>
+ <dimen name="color_seed_option_tile_padding">10dp</dimen>
+ <dimen name="color_seed_option_tile_padding_selected">6dp</dimen>
+ <dimen name="color_seed_chip_margin">14dp</dimen>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index f2d0f21b..1a15fd06 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -247,4 +247,17 @@
<!-- The content description of grid picker entry. [CHAR LIMIT=NONE] -->
<string name="gird_picker_entry_content_description" msgid="7538418512525897691">Change app grid</string>
+
+ <!-- The title for the tab with colors from wallpaper. [CHAR_LIMIT=20]-->
+ <string name="wallpaper_color_tab">Wallpaper colors</string>
+ <!-- The description on an item that shows a color obtained from the wallpaper
+ (used mainly for accessibility). [CHAR_LIMIT=NONE] -->
+ <string name="wallpaper_color_title">Wallpaper color</string>
+ <!-- The title for the tab with a default set of color options. [CHAR_LIMIT=20]-->
+ <string name="preset_color_tab">Basic colors</string>
+ <!-- The text for A11y announcement when color changes. -->
+ <string name="color_changed">Color changed</string>
+ <!-- Title of a section of color selection option that obtains colors automatically from the
+ wallpaper instead of a set color [CHAR LIMIT=15] -->
+ <string name="adaptive_color_title">Dynamic</string>
</resources>