diff options
author | John Pan <johnpan@google.com> | 2021-12-29 13:27:36 +0800 |
---|---|---|
committer | John Pan <johnpan@google.com> | 2022-01-06 11:33:54 +0800 |
commit | beb3e53b5b93ff4935680ea524ba30d8141238e0 (patch) | |
tree | 82098887bf46f068a7f0ff3e11d5a4e2b1ca8fc2 /res/values-w600dp-port | |
parent | 93ac02f6355e066d1820f022111f6318f8e7a1e7 (diff) | |
download | ThemePicker-beb3e53b5b93ff4935680ea524ba30d8141238e0.tar.gz |
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
Diffstat (limited to 'res/values-w600dp-port')
-rw-r--r-- | res/values-w600dp-port/dimens.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/res/values-w600dp-port/dimens.xml b/res/values-w600dp-port/dimens.xml new file mode 100644 index 00000000..1be52bb4 --- /dev/null +++ b/res/values-w600dp-port/dimens.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> + <!-- Dimensions for the customization option tiles --> + <dimen name="option_tile_width">79dp</dimen> + <dimen name="option_tile_grid_padding_horizontal">8dp</dimen> +</resources>
\ No newline at end of file |