summaryrefslogtreecommitdiffstats
path: root/chrome/android/java/res/values-v21
diff options
context:
space:
mode:
authornewt <newt@chromium.org>2015-02-26 20:18:22 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-27 04:18:58 +0000
commit9e17dba3c2d82b714640d9e71ce18b28314bab77 (patch)
tree476f2c23c63d25eb7a253e11ad4872a47da474de /chrome/android/java/res/values-v21
parent01b5ec9d188ea65c712bd0490abb9afb894a4031 (diff)
downloadchromium_src-9e17dba3c2d82b714640d9e71ce18b28314bab77.zip
chromium_src-9e17dba3c2d82b714640d9e71ce18b28314bab77.tar.gz
chromium_src-9e17dba3c2d82b714640d9e71ce18b28314bab77.tar.bz2
Add divider lines in Settings after on/off switches.
ChromeSwitchPreference now draws a divider line as the bottom part of its background if requested. The approach for adding a divider line used in Site Settings (adding a preference whose layout is just View with a divider line background), sadly, doesn't work in the rest of Settings. The ListView puts 1dp of space between preferences, so when the switch is pressed, there's a visible gap between its background and the divider line below it. This doesn't happen in Site Settings because in that case, the ListView's divider height is set to 0. BUG=455047 Review URL: https://codereview.chromium.org/961763003 Cr-Commit-Position: refs/heads/master@{#318404}
Diffstat (limited to 'chrome/android/java/res/values-v21')
-rw-r--r--chrome/android/java/res/values-v21/dimens.xml9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/android/java/res/values-v21/dimens.xml b/chrome/android/java/res/values-v21/dimens.xml
deleted file mode 100644
index 27424ca..0000000
--- a/chrome/android/java/res/values-v21/dimens.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright 2014 The Chromium Authors. All rights reserved.
- Use of this source code is governed by a BSD-style license that can be
- found in the LICENSE file. -->
-
-<resources>
- <!-- Preferences dimensions -->
- <dimen name="pref_homepage_layout_margin">0dp</dimen>
-</resources>