summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-06-16 13:35:04 -0700
committerWinson Chung <winsonc@google.com>2015-06-23 14:24:15 -0700
commitb1777447d9b9700b48f8060f8b318f2363c43e8d (patch)
treea5b94ed9b83316765b73265b4c030e40ed0bf4c9 /res/layout
parente5106b687f6978bb8bb11ec90d7e8924a1b9e795 (diff)
downloadandroid_packages_apps_Trebuchet-b1777447d9b9700b48f8060f8b318f2363c43e8d.tar.gz
android_packages_apps_Trebuchet-b1777447d9b9700b48f8060f8b318f2363c43e8d.tar.bz2
android_packages_apps_Trebuchet-b1777447d9b9700b48f8060f8b318f2363c43e8d.zip
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
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/all_apps_container.xml4
-rw-r--r--res/layout/all_apps_search_bar.xml4
2 files changed, 4 insertions, 4 deletions
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"