summaryrefslogtreecommitdiffstats
path: root/res/layout/account_preference.xml
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-11-17 15:21:18 -0800
committerAmith Yamasani <yamasani@google.com>2010-11-17 16:37:16 -0800
commit43a673053f2e9b1ace7ad9f32a58ae37f3e431d3 (patch)
tree95004921acaea7e12d63ca57a3bfa563b294a755 /res/layout/account_preference.xml
parent8ba83bf5ff70dca2c31c644c3fde7c9f5d7d92ea (diff)
downloadpackages_apps_Settings-43a673053f2e9b1ace7ad9f32a58ae37f3e431d3.zip
packages_apps_Settings-43a673053f2e9b1ace7ad9f32a58ae37f3e431d3.tar.gz
packages_apps_Settings-43a673053f2e9b1ace7ad9f32a58ae37f3e431d3.tar.bz2
Use the new Preference:icon attribute and placeholder for showing icons on the left.
Diffstat (limited to 'res/layout/account_preference.xml')
-rw-r--r--res/layout/account_preference.xml45
1 files changed, 1 insertions, 44 deletions
diff --git a/res/layout/account_preference.xml b/res/layout/account_preference.xml
index 810c57a..5e2edc6 100644
--- a/res/layout/account_preference.xml
+++ b/res/layout/account_preference.xml
@@ -14,51 +14,8 @@
limitations under the License.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:minHeight="?android:attr/listPreferredItemHeight"
- android:gravity="center_vertical"
- android:paddingLeft="16dip"
- android:paddingRight="?android:attr/scrollbarSize">
-
- <ImageView
- android:id="@+id/providerIcon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="5dip"
- android:layout_gravity="center" />
-
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginRight="6dip"
- android:layout_marginTop="6dip"
- android:layout_marginBottom="6dip"
- android:layout_weight="1">
-
- <TextView android:id="@+android:id/title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:singleLine="true"
- android:textAppearance="?android:attr/textAppearanceMedium" />
-
- <TextView android:id="@+android:id/summary"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@android:id/title"
- android:layout_alignLeft="@android:id/title"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:maxLines="2" />
-
- </RelativeLayout>
-
- <ImageView
+<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/syncStatusIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="5dip"
- android:layout_marginRight="7dip"
android:layout_gravity="center" />
-
-</LinearLayout>