diff --git a/astrid/plugin-src/com/todoroo/astrid/people/PersonViewFragment.java b/astrid/plugin-src/com/todoroo/astrid/people/PersonViewFragment.java index 4dfc0c1ba..c2e982256 100644 --- a/astrid/plugin-src/com/todoroo/astrid/people/PersonViewFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/people/PersonViewFragment.java @@ -44,7 +44,6 @@ public class PersonViewFragment extends TaskListFragment { @Autowired ActFmPreferenceService actFmPreferenceService; private AsyncImageView userImage; - private TextView userName; private TextView userSubtitle; private TextView userStatusButton; @@ -60,7 +59,6 @@ public class PersonViewFragment extends TaskListFragment { if (user != null) { userImage.setUrl(user.getValue(User.PICTURE)); - userName.setText(user.getDisplayName()); userSubtitle.setText(user.getValue(User.STATUS)); userStatusButton.setText(user.getValue(User.STATUS)); } else { @@ -87,7 +85,6 @@ public class PersonViewFragment extends TaskListFragment { protected void setUpUiComponents() { super.setUpUiComponents(); userImage = (AsyncImageView) getView().findViewById(R.id.user_image); - userName = (TextView) getView().findViewById(R.id.user_name); userSubtitle = (TextView) getView().findViewById(R.id.user_subtitle); userStatusButton = (TextView) getActivity().findViewById(R.id.person_image); } diff --git a/astrid/res/layout/task_list_body_user.xml b/astrid/res/layout/task_list_body_user.xml index 9c84e1133..8e5e987c5 100644 --- a/astrid/res/layout/task_list_body_user.xml +++ b/astrid/res/layout/task_list_body_user.xml @@ -15,7 +15,7 @@ android:id="@+id/user_header" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:padding="5dip" + android:padding="8dip" android:background="#ff0000"> - - + android:layout_alignTop="@id/user_image" + android:layout_toRightOf="@id/user_image"/>