Android: Hopefully fix layout issues with the projects tab

This commit is contained in:
Rom Walton 2013-02-23 13:35:23 -05:00 committed by Oliver Bock
parent 5ead4f3dca
commit 3df74cfa87
2 changed files with 6 additions and 6 deletions

View File

@ -25,18 +25,18 @@
<LinearLayout
android:id="@+id/projectsDescription"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/project_name"
android:layout_width="fill_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
<TextView android:textAppearance="?android:attr/textAppearanceSmall"
android:id="@+id/project_username"
android:layout_width="fill_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</TextView>
@ -46,6 +46,7 @@
android:id="@+id/project_update"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:clickable="false"
android:contentDescription="@string/projects_update"
android:focusable="false"
@ -55,6 +56,7 @@
android:id="@+id/project_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:clickable="false"
android:contentDescription="@string/projects_delete"
android:focusable="false"

View File

@ -111,7 +111,6 @@ public class ProjectsListAdapter extends ArrayAdapter<Project> implements OnItem
viewProject.entryIndex = position;
viewProject.tvProjectName.setText(getProject(position));
viewProject.tvUserName.setText(getUserName(position));
/*
if (listView.isItemChecked(position)) {
viewProject.ibProjectUpdate.setVisibility(View.VISIBLE);
viewProject.ibProjectDelete.setVisibility(View.VISIBLE);
@ -119,7 +118,6 @@ public class ProjectsListAdapter extends ArrayAdapter<Project> implements OnItem
viewProject.ibProjectUpdate.setVisibility(View.INVISIBLE);
viewProject.ibProjectDelete.setVisibility(View.INVISIBLE);
}
*/
return vi;
}