mirror of https://github.com/BOINC/boinc.git
Android: Hopefully fix layout issues with the projects tab
This commit is contained in:
parent
5ead4f3dca
commit
3df74cfa87
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue