BobStore/F-Droid/res/layout/applistitem.xml

100 lines
3.9 KiB
XML
Raw Normal View History

2010-10-19 23:24:04 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2015-10-19 09:21:48 +02:00
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeight"
android:paddingLeft="?attr/listPreferredItemPaddingLeft"
android:paddingRight="?attr/listPreferredItemPaddingRight"
android:baselineAligned="false">
2011-03-07 17:47:17 +01:00
2015-10-19 09:21:48 +02:00
<ImageView
android:id="@+id/icon"
android:contentDescription="@string/app_icon"
android:layout_width="48dip"
android:layout_height="48dip"
android:layout_gravity="center_vertical"
android:scaleType="fitCenter"
tools:src="@drawable/ic_launcher" />
2011-03-07 17:47:17 +01:00
2015-10-19 09:21:48 +02:00
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:baselineAligned="false">
2015-10-19 09:21:48 +02:00
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
2015-10-19 09:21:48 +02:00
android:layout_height="wrap_content"
android:baselineAligned="false">
2015-10-19 09:21:48 +02:00
<TextView android:id="@+id/name"
android:textSize="16sp"
2015-10-19 09:21:48 +02:00
android:singleLine="true"
android:ellipsize="end"
android:layout_weight="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="?attr/listPreferredItemPaddingLeft"
android:paddingRight="?attr/listPreferredItemPaddingRight"
2015-10-19 09:21:48 +02:00
android:layout_gravity="center_vertical"
android:gravity="start"
android:textAlignment="viewStart"
tools:text="F-Droid" />
2015-10-19 09:21:48 +02:00
<TextView android:id="@+id/status"
android:textSize="14sp"
2015-10-19 09:21:48 +02:00
android:singleLine="true"
android:ellipsize="end"
android:layout_weight="0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="end"
android:textAlignment="viewEnd"
tools:text="Installed" />
2015-10-19 09:21:48 +02:00
</LinearLayout>
2015-10-19 09:21:48 +02:00
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
2015-10-19 09:21:48 +02:00
android:layout_height="wrap_content"
android:baselineAligned="false">
2015-10-19 09:21:48 +02:00
<TextView android:id="@+id/summary"
android:textSize="14sp"
android:textColor="?android:attr/textColorSecondary"
2015-10-19 09:21:48 +02:00
android:singleLine="true"
android:ellipsize="end"
android:layout_weight="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingLeft="?attr/listPreferredItemPaddingLeft"
android:paddingRight="?attr/listPreferredItemPaddingRight"
2015-10-19 09:21:48 +02:00
android:gravity="start"
android:textAlignment="viewStart"
tools:text="Application manager" />
2015-10-19 09:21:48 +02:00
<TextView android:id="@+id/license"
android:textSize="14sp"
android:textColor="?android:attr/textColorSecondary"
2015-10-19 09:21:48 +02:00
android:singleLine="true"
android:ellipsize="end"
android:layout_weight="0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="end"
android:textAlignment="viewEnd"
tools:text="GPLv3+" />
2015-10-19 09:21:48 +02:00
</LinearLayout>
2015-10-19 09:21:48 +02:00
</LinearLayout>
</LinearLayout>