summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2014-11-14 17:34:03 -0800
committerWinson Chung <winsonc@google.com>2014-11-17 17:55:28 -0800
commitc041d883c3591670441d4c2da8fd1108dfd28acd (patch)
tree5e3a1ef2d33c40ec86cc080b9b3902196559e53c /packages/SystemUI/res/layout
parent99253d001f835a8d23c337b8dfd6a6cbc6d7a740 (diff)
downloadframeworks_base-c041d883c3591670441d4c2da8fd1108dfd28acd.zip
frameworks_base-c041d883c3591670441d4c2da8fd1108dfd28acd.tar.gz
frameworks_base-c041d883c3591670441d4c2da8fd1108dfd28acd.tar.bz2
Tweaking animation XMLs and removing dead code. (Bug 17672056, Bug 18415217)
- Use shape drawable for pin background instead of asset. - Includes fix for scrolling regression when task stack scroller was not reset. Change-Id: I11eec1f3b0386b4354c8c5e3deca2b17cff83be1
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r--packages/SystemUI/res/layout/recents_task_view.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/SystemUI/res/layout/recents_task_view.xml b/packages/SystemUI/res/layout/recents_task_view.xml
index d1d3828..9c6f67c 100644
--- a/packages/SystemUI/res/layout/recents_task_view.xml
+++ b/packages/SystemUI/res/layout/recents_task_view.xml
@@ -29,8 +29,8 @@
<include layout="@layout/recents_task_view_header" />
<FrameLayout
android:id="@+id/lock_to_app_fab"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ android:layout_width="@dimen/recents_lock_to_app_size"
+ android:layout_height="@dimen/recents_lock_to_app_size"
android:layout_gravity="bottom|right"
android:layout_marginRight="15dp"
android:layout_marginBottom="15dp"
@@ -38,8 +38,8 @@
android:contentDescription="@string/recents_lock_to_app_button_label"
android:background="@drawable/recents_lock_to_task_button_bg">
<ImageView
- android:layout_width="24dp"
- android:layout_height="24dp"
+ android:layout_width="@dimen/recents_lock_to_app_icon_size"
+ android:layout_height="@dimen/recents_lock_to_app_icon_size"
android:layout_gravity="center"
android:src="@drawable/recents_lock_to_app_pin" />
</FrameLayout>