summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aga Wronska <agawronska@google.com> 2016-03-04 16:10:12 -0800
committer Aga Wronska <agawronska@google.com> 2016-03-04 16:12:38 -0800
commitf4627dd97a3c63551319570c92de8991d1cbd18f (patch)
treec1334b298dda47938981996c4219719b136383f1
parentb0802a02384d2000816356308a9abdd891eb46e6 (diff)
Changed breadcrumb arrow to match mocks
Bug: 27136601 Change-Id: I03b3d789c1edf8de7f3d92238045cca123ce5e72
-rw-r--r--res/drawable/ic_breadcrumb_arrow_down.xml8
-rw-r--r--res/layout/drawer_layout.xml1
-rw-r--r--res/layout/fixed_layout.xml1
-rw-r--r--res/layout/item_subdir_title.xml3
-rw-r--r--res/layout/single_pane_layout.xml1
5 files changed, 13 insertions, 1 deletions
diff --git a/res/drawable/ic_breadcrumb_arrow_down.xml b/res/drawable/ic_breadcrumb_arrow_down.xml
new file mode 100644
index 000000000..199a308f2
--- /dev/null
+++ b/res/drawable/ic_breadcrumb_arrow_down.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rotate xmlns:android="http://schemas.android.com/apk/res/android"
+ android:fromDegrees="90"
+ android:toDegrees="90"
+ android:pivotX="50%"
+ android:pivotY="50%"
+ android:drawable="@drawable/ic_breadcrumb_arrow">
+</rotate> \ No newline at end of file
diff --git a/res/layout/drawer_layout.xml b/res/layout/drawer_layout.xml
index 09f4401b8..b65c5a066 100644
--- a/res/layout/drawer_layout.xml
+++ b/res/layout/drawer_layout.xml
@@ -47,6 +47,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:popupTheme="?actionBarPopupTheme"
+ android:background="@android:color/transparent"
android:overlapAnchor="true" />
</com.android.documentsui.DocumentsToolbar>
diff --git a/res/layout/fixed_layout.xml b/res/layout/fixed_layout.xml
index 9f7296b2b..deb089418 100644
--- a/res/layout/fixed_layout.xml
+++ b/res/layout/fixed_layout.xml
@@ -45,6 +45,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:popupTheme="?actionBarPopupTheme"
+ android:background="@android:color/transparent"
android:overlapAnchor="true" />
</com.android.documentsui.DocumentsToolbar>
diff --git a/res/layout/item_subdir_title.xml b/res/layout/item_subdir_title.xml
index de6c5234b..8d0d80790 100644
--- a/res/layout/item_subdir_title.xml
+++ b/res/layout/item_subdir_title.xml
@@ -28,6 +28,7 @@
android:singleLine="true"
android:ellipsize="end"
android:textAlignment="viewStart"
+ android:drawablePadding="12dp"
+ android:drawableRight="@drawable/ic_breadcrumb_arrow_down"
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title" />
-
</LinearLayout>
diff --git a/res/layout/single_pane_layout.xml b/res/layout/single_pane_layout.xml
index 8bf023f11..7b7e2299b 100644
--- a/res/layout/single_pane_layout.xml
+++ b/res/layout/single_pane_layout.xml
@@ -44,6 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:popupTheme="?actionBarPopupTheme"
+ android:background="@android:color/transparent"
android:layout_marginStart="4dp"
android:overlapAnchor="true" />