From b1777447d9b9700b48f8060f8b318f2363c43e8d Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 16 Jun 2015 13:35:04 -0700 Subject: Refactoring fast scroller. - Fixing issue with fast scroller not fitting name width. - Refactoring fast scrolling/scroll bar code out of base recycler view - Adding animations to fast scroller to match design - Smooth scrolling when jumping between app rows - Fixing issue with fast scroller jumping when you first pick it up - Fixing issue with wrong background paddings being used Bug: 21874346 Bug: 22031923 Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601 --- res/layout/all_apps_container.xml | 4 ++-- res/layout/all_apps_search_bar.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'res/layout') diff --git a/res/layout/all_apps_container.xml b/res/layout/all_apps_container.xml index 1de82019c..0b624e6a5 100644 --- a/res/layout/all_apps_container.xml +++ b/res/layout/all_apps_container.xml @@ -38,8 +38,8 @@ android:id="@+id/prediction_bar" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingTop="@dimen/all_apps_prediction_bar_top_bottom_padding" - android:paddingBottom="@dimen/all_apps_prediction_bar_top_bottom_padding" + android:paddingTop="@dimen/all_apps_prediction_bar_top_padding" + android:paddingBottom="@dimen/all_apps_prediction_bar_bottom_padding" android:orientation="horizontal" android:focusable="true" android:descendantFocusability="afterDescendants" diff --git a/res/layout/all_apps_search_bar.xml b/res/layout/all_apps_search_bar.xml index 8d75b15a6..cf30eac36 100644 --- a/res/layout/all_apps_search_bar.xml +++ b/res/layout/all_apps_search_bar.xml @@ -63,8 +63,8 @@ android:layout_width="wrap_content" android:layout_height="@dimen/all_apps_search_bar_height" android:layout_gravity="end|center_vertical" - android:layout_marginEnd="6dp" - android:layout_marginRight="6dp" + android:layout_marginEnd="4dp" + android:layout_marginRight="4dp" android:contentDescription="@string/all_apps_search_bar_hint" android:paddingBottom="13dp" android:paddingTop="13dp" -- cgit v1.2.3