summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-12-29 14:16:55 -0800
committerAmith Yamasani <yamasani@google.com>2010-12-29 14:16:55 -0800
commitd1d7e97a9ce4bd22c536040ee6dbccbbfd256842 (patch)
tree74e306fe8457e7671c6498eed8b5a6192572e739
parent864dd1ca3a070265a0f46521ddd62ec46d8da229 (diff)
downloadframeworks_base-d1d7e97a9ce4bd22c536040ee6dbccbbfd256842.zip
frameworks_base-d1d7e97a9ce4bd22c536040ee6dbccbbfd256842.tar.gz
frameworks_base-d1d7e97a9ce4bd22c536040ee6dbccbbfd256842.tar.bz2
Use proper divider asset and margins.
Bug: 3191953
-rw-r--r--core/res/res/drawable-hdpi/nav_divider.pngbin1012 -> 0 bytes
-rw-r--r--core/res/res/drawable-mdpi/nav_divider.pngbin2846 -> 0 bytes
-rw-r--r--core/res/res/layout/fragment_bread_crumb_item.xml7
3 files changed, 4 insertions, 3 deletions
diff --git a/core/res/res/drawable-hdpi/nav_divider.png b/core/res/res/drawable-hdpi/nav_divider.png
deleted file mode 100644
index 7ca3e61..0000000
--- a/core/res/res/drawable-hdpi/nav_divider.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/drawable-mdpi/nav_divider.png b/core/res/res/drawable-mdpi/nav_divider.png
deleted file mode 100644
index c9413d7..0000000
--- a/core/res/res/drawable-mdpi/nav_divider.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/layout/fragment_bread_crumb_item.xml b/core/res/res/layout/fragment_bread_crumb_item.xml
index e97508f..dbbb9a5 100644
--- a/core/res/res/layout/fragment_bread_crumb_item.xml
+++ b/core/res/res/layout/fragment_bread_crumb_item.xml
@@ -20,11 +20,12 @@
>
<ImageView
android:id="@android:id/left_icon"
- android:src="@drawable/nav_divider"
+ android:src="?attr/dividerVertical"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_marginTop="8dip"
- android:layout_marginBottom="8dip"
+ android:scaleType="fitXY"
+ android:layout_marginTop="12dip"
+ android:layout_marginBottom="12dip"
/>
<TextView