diff options
author | Amith Yamasani <yamasani@google.com> | 2011-05-24 14:29:47 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2011-05-24 15:49:34 -0700 |
commit | cfd524f07af0820e2e41fd74e7e3c5b7433854f8 (patch) | |
tree | 0f171e0081d3698ae81da8cb3b8aa3fcaee2150e /src/com/android/settings/AccountPreference.java | |
parent | d12b95093770f1a71f60f67be9a5e28277b634a1 (diff) | |
download | packages_apps_Settings-cfd524f07af0820e2e41fd74e7e3c5b7433854f8.zip packages_apps_Settings-cfd524f07af0820e2e41fd74e7e3c5b7433854f8.tar.gz packages_apps_Settings-cfd524f07af0820e2e41fd74e7e3c5b7433854f8.tar.bz2 |
Visual adjustments for smaller tablets.
Make the Manage Apps tab indicators horizontally scrollable.
Use medium font size for user dictionary.
Bug: 4462313
Change-Id: Iba44e758715c0187ea17ed072794b8596dee0e54
Diffstat (limited to 'src/com/android/settings/AccountPreference.java')
-rw-r--r-- | src/com/android/settings/AccountPreference.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/settings/AccountPreference.java b/src/com/android/settings/AccountPreference.java index 4378399..f3d7d51 100644 --- a/src/com/android/settings/AccountPreference.java +++ b/src/com/android/settings/AccountPreference.java @@ -54,6 +54,7 @@ public class AccountPreference extends Preference { setSummary(""); setPersistent(false); setSyncStatus(SYNC_DISABLED); + setIcon(mProviderIcon); } public Account getAccount() { @@ -68,8 +69,6 @@ public class AccountPreference extends Preference { protected void onBindView(View view) { super.onBindView(view); setSummary(getSyncStatusMessage(mStatus)); - mProviderIconView = (ImageView) view.findViewById(android.R.id.icon); - mProviderIconView.setImageDrawable(mProviderIcon); mSyncStatusIcon = (ImageView) view.findViewById(R.id.syncStatusIcon); mSyncStatusIcon.setImageResource(getSyncStatusIcon(mStatus)); } |