mirror of https://github.com/BOINC/boinc.git
59 lines
2.2 KiB
XML
59 lines
2.2 KiB
XML
![]() |
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!--
|
||
|
This file is part of BOINC.
|
||
|
http://boinc.berkeley.edu
|
||
|
Copyright (C) 2012 University of California
|
||
|
|
||
|
BOINC is free software; you can redistribute it and/or modify it
|
||
|
under the terms of the GNU Lesser General Public License
|
||
|
as published by the Free Software Foundation,
|
||
|
either version 3 of the License, or (at your option) any later version.
|
||
|
|
||
|
BOINC is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||
|
See the GNU Lesser General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU Lesser General Public License
|
||
|
along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
||
|
-->
|
||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:id="@+id/listitem"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:minHeight="60dp"
|
||
|
android:background="@drawable/navlist_selector">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/icon"
|
||
|
android:layout_width="32dp"
|
||
|
android:layout_height="32dp"
|
||
|
android:contentDescription="@string/app_name"
|
||
|
android:src="@drawable/boinc"
|
||
|
android:layout_alignParentLeft="true"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginLeft="12dp"
|
||
|
android:layout_marginRight="12dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/title"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_toRightOf="@id/icon"
|
||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||
|
android:textColor="@color/black"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:paddingRight="40dp"/>
|
||
|
|
||
|
<TextView android:id="@+id/counter"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:background="@drawable/navlist_counter_background"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:paddingLeft="3dp"
|
||
|
android:paddingRight="3dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:textColor="@android:color/white"/>
|
||
|
</RelativeLayout>
|