summaryrefslogtreecommitdiff
path: root/res/values
diff options
context:
space:
mode:
authorJohn Pan <johnpan@google.com>2022-01-10 06:37:14 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-01-10 06:37:14 +0000
commitc823b183f326cb907d89455a4b0b104a6479d3fe (patch)
treea79023316bd075e302239d943748971c3391c7cc /res/values
parent6b283064ed81a74a9dcbc0a90f60c8e5ec71bab3 (diff)
parentbeb3e53b5b93ff4935680ea524ba30d8141238e0 (diff)
downloadThemePicker-c823b183f326cb907d89455a4b0b104a6479d3fe.tar.gz
Merge "Change color option and grid option layout"
Diffstat (limited to 'res/values')
-rw-r--r--res/values/attrs.xml21
-rw-r--r--res/values/dimens.xml1
2 files changed, 22 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
new file mode 100644
index 00000000..288dd190
--- /dev/null
+++ b/res/values/attrs.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (C) 2022 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <item name="linear_layout_horizontal_display_options_max" format="float" type="dimen">4.35
+ </item>
+</resources> \ No newline at end of file
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 2086480e..4aa43b4c 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -38,6 +38,7 @@
<dimen name="option_tile_margin_horizontal">6dp</dimen>
<dimen name="option_tile_padding_vertical">12dp</dimen>
<dimen name="option_tile_padding_horizontal">12dp</dimen>
+ <dimen name="option_tile_grid_padding_horizontal">4dp</dimen>
<dimen name="option_icon_size">16dp</dimen>
<dimen name="theme_option_icon_sample_height">22dp</dimen>
<dimen name="theme_option_icon_sample_width">22dp</dimen>