SetupWizardLibrary/library/gingerbread/res/values/dimens.xml
Maurice Lam 52b85e4fa2 Polish UX of expandable switch
- Padding from the expandable arrow is now 4dp
- Arrow is pushed down 2.5dp (by modifying the drawable) to align
  with the text
- Switch and the switch divider is now fixed 36dp from top rather
  than vertically aligned

Bug: 37576453
Test: ./gradlew connectedAndroidTest test
Change-Id: Ibb3028d3bb17ca9d054911e4ff27098a200af0da
2017-04-24 14:19:58 -07:00

32 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2017 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>
<!-- SwitchItem -->
<dimen name="suw_switch_padding_start">16dp</dimen>
<dimen name="suw_switch_padding_end">0dp</dimen>
<dimen name="suw_switch_padding_top">39dp</dimen>
<dimen name="suw_switch_divider_height">32dp</dimen>
<dimen name="suw_switch_divider_padding_top">36dp</dimen>
<dimen name="suw_switch_content_padding_end">16dp</dimen>
<!-- ExpandableSwithItem -->
<dimen name="suw_expand_arrow_drawable_padding">4dp</dimen>
</resources>