am 0fbaacaa: am 138a695f: am cfd524f0: Visual adjustments for smaller tablets.

* commit '0fbaacaa9b29401a4191ca85dccfe68660928a11':
  Visual adjustments for smaller tablets.
This commit is contained in:
Amith Yamasani
2011-05-25 21:28:22 -07:00
committed by Android Git Automerger
4 changed files with 59 additions and 5 deletions

View File

@@ -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));
}

View File

@@ -585,7 +585,7 @@ public class ManageApplications extends Fragment implements
mCreatedRunning = mResumedRunning = false;
mCurView = VIEW_NOTHING;
View tabRoot = mInflater.inflate(com.android.internal.R.layout.tab_content, null);
View tabRoot = mInflater.inflate(R.layout.manage_apps_tab_content, null);
mTabHost = (TabHost)tabRoot.findViewById(com.android.internal.R.id.tabhost);
mTabHost.setup();
final TabHost tabHost = mTabHost;