summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorWilhelm Fitzpatrick <rafial@cyngn.com>2014-09-18 19:50:28 -0700
committerlinus_lee <llee@cyngn.com>2014-11-20 12:03:03 -0800
commit6998457ade55dfa358c0737ca7081c2837c08ea1 (patch)
treea6532c780053d411a35688a03bbbf07405f29494 /res/drawable
parente45f89f9521fb203474d85b8ee0675a6fbd4a91c (diff)
downloadandroid_packages_apps_Eleven-6998457ade55dfa358c0737ca7081c2837c08ea1.tar.gz
android_packages_apps_Eleven-6998457ade55dfa358c0737ca7081c2837c08ea1.tar.bz2
android_packages_apps_Eleven-6998457ade55dfa358c0737ca7081c2837c08ea1.zip
Eleven: fix lists so padding/margins are inside the ListView
https://cyanogen.atlassian.net/browse/MUSIC-48 Change-Id: Iaea93f4d97ddb24cf61a5678802fc8bd453a4cd7
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/dnd_list_divider.xml26
-rw-r--r--res/drawable/inset_list_divider.xml2
2 files changed, 27 insertions, 1 deletions
diff --git a/res/drawable/dnd_list_divider.xml b/res/drawable/dnd_list_divider.xml
new file mode 100644
index 0000000..ea3c262
--- /dev/null
+++ b/res/drawable/dnd_list_divider.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2014 The CyanogenMod 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.
+-->
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
+ android:insetLeft="@dimen/drag_and_drop_width"
+ android:insetRight="@dimen/list_preferred_item_padding" >
+
+ <shape>
+ <solid android:color="@color/list_item_divider_color" />
+ <corners android:radius="1.0dip" />
+ </shape>
+
+</inset> \ No newline at end of file
diff --git a/res/drawable/inset_list_divider.xml b/res/drawable/inset_list_divider.xml
index ea3c262..5bff56a 100644
--- a/res/drawable/inset_list_divider.xml
+++ b/res/drawable/inset_list_divider.xml
@@ -15,7 +15,7 @@
limitations under the License.
-->
<inset xmlns:android="http://schemas.android.com/apk/res/android"
- android:insetLeft="@dimen/drag_and_drop_width"
+ android:insetLeft="@dimen/list_preferred_item_padding"
android:insetRight="@dimen/list_preferred_item_padding" >
<shape>