Change color option and grid option layout
- Add color option horizontal padding
- Change color option layout
- Make grid option LINEAR_LAYOUT_HORIZONTAL_DISPLAY_OPTIONS_MAX comes from resource file
Before: https://screenshot.googleplex.com/opwP97p7X8Qi6nL
https://screenshot.googleplex.com/3igtadNkX5SUJzy
After: https://screenshot.googleplex.com/AJZ43pWwCnGh6fr
https://screenshot.googleplex.com/9SBxam4MTRM2gwN
Bug: 193374285
Test: Manual
Change-Id: I3dcc4a97caa0919053b7d1db9844d6d341d70209
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
new file mode 100644
index 0000000..288dd19
--- /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