diff --git a/core/java/com/android/internal/app/ResolverActivity.java b/core/java/com/android/internal/app/ResolverActivity.java index 5726de1e8c3ed..0e02ed6f126d3 100644 --- a/core/java/com/android/internal/app/ResolverActivity.java +++ b/core/java/com/android/internal/app/ResolverActivity.java @@ -393,12 +393,7 @@ public class ResolverActivity extends Activity { final DisplayResolveInfo dri = mAdapter.getOtherProfile(); if (dri != null) { mProfileView.setVisibility(View.VISIBLE); - final ImageView icon = (ImageView) mProfileView.findViewById(R.id.icon); - final TextView text = (TextView) mProfileView.findViewById(R.id.text1); - if (!dri.hasDisplayIcon()) { - new LoadIconIntoViewTask(dri, icon).execute(); - } - icon.setImageDrawable(dri.getDisplayIcon()); + final TextView text = (TextView) mProfileView.findViewById(R.id.profile_button); text.setText(dri.getDisplayLabel()); } else { mProfileView.setVisibility(View.GONE); diff --git a/core/res/res/layout/chooser_grid.xml b/core/res/res/layout/chooser_grid.xml index 41726fb71f7f2..d12c8ba2f2efb 100644 --- a/core/res/res/layout/chooser_grid.xml +++ b/core/res/res/layout/chooser_grid.xml @@ -25,63 +25,48 @@ android:maxCollapsedHeightSmall="56dp" android:id="@id/contentPanel"> - + + android:scaleType="fitCenter" + android:layout_below="@id/profile_button" + android:layout_alignParentLeft="true" + /> - - - - - + android:paddingBottom="12dp" + android:layout_below="@id/profile_button" + android:layout_toRightOf="@id/title_icon"/> + - + - - - - - + Android System - - Personal + + Switch to Personal - - Work + + Switch to Work Contacts