summaryrefslogtreecommitdiffstats
path: root/res/layout/account_sync_screen.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-11-30 12:36:53 -0800
committerJeff Sharkey <jsharkey@android.com>2012-11-30 16:15:09 -0800
commit97d07fa3aedde44368818551dc789eaff7bfb047 (patch)
treedec682dae35f943a1251a98455c6db4f37d72f0d /res/layout/account_sync_screen.xml
parent6f8cd76870b01cd27333d3ddd8dcb3a7951e3375 (diff)
downloadpackages_apps_Settings-97d07fa3aedde44368818551dc789eaff7bfb047.zip
packages_apps_Settings-97d07fa3aedde44368818551dc789eaff7bfb047.tar.gz
packages_apps_Settings-97d07fa3aedde44368818551dc789eaff7bfb047.tar.bz2
Push scrollbars to screen edges.
Push scrollbar to screen edges on custom ListView and ScrollViews to match Preferences framework behavior. Bug: 7633165 Change-Id: Ideecd0e243c7de7bf977caef2b1585e707a00ca4
Diffstat (limited to 'res/layout/account_sync_screen.xml')
-rw-r--r--res/layout/account_sync_screen.xml40
1 files changed, 7 insertions, 33 deletions
diff --git a/res/layout/account_sync_screen.xml b/res/layout/account_sync_screen.xml
index aa080cf..4c1bf7e 100644
--- a/res/layout/account_sync_screen.xml
+++ b/res/layout/account_sync_screen.xml
@@ -22,23 +22,23 @@
android:layout_height="match_parent"
android:orientation="vertical">
- <include layout="@layout/title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ <include layout="@layout/title" />
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_marginStart="@*android:dimen/preference_fragment_padding_side"
+ android:layout_marginEnd="@*android:dimen/preference_fragment_padding_side"
android:scaleType="fitXY"
android:src="?android:attr/listDivider" />
- <ListView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/list"
+ <ListView
+ android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
- android:drawSelectorOnTop="false"
- android:scrollbarAlwaysDrawVerticalTrack="true"
- />
+ android:clipToPadding="false"
+ android:scrollbarStyle="@*android:integer/preference_fragment_scrollbarStyle" />
<TextView android:id="@+id/sync_settings_error_info"
android:layout_width="match_parent"
@@ -48,32 +48,6 @@
android:drawablePadding="8dip"
android:drawableLeft="@drawable/ic_sync_error_holo" />
- <!--
- <LinearLayout android:id="@+id/remove_account_area"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:background="@android:drawable/bottom_bar">
-
- <View
- android:layout_width="0dip"
- android:layout_height="match_parent"
- android:layout_weight="1"/>
-
- <Button android:id="@+id/remove_account_button"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:layout_marginTop="5dip"
- android:text="@string/remove_account_label" />
-
- <View
- android:layout_width="0dip"
- android:layout_height="match_parent"
- android:layout_weight="1"/>
- </LinearLayout>
- -->
-
<RelativeLayout android:id="@+id/finish_button_area"
android:layout_height="wrap_content"
android:layout_width="match_parent"