2010-10-19 23:24:04 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-03-07 17:47:17 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-12-26 00:08:43 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="6dp"
|
|
|
|
android:paddingBottom="6dp"
|
|
|
|
android:baselineAligned="false" >
|
2011-03-07 17:47:17 +01:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
<!-- Actual icon size is dependent on preferences and set in
|
2013-11-17 22:09:04 +02:00
|
|
|
AppListAdapater.java:layoutIcon() -->
|
2013-12-26 00:08:43 +01:00
|
|
|
<ImageView android:id="@+id/icon"
|
2013-11-16 23:39:37 +01:00
|
|
|
android:scaleType="fitCenter"
|
2013-11-17 06:42:33 +02:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
2013-12-26 00:08:43 +01:00
|
|
|
android:layout_marginLeft="8dp"
|
2013-12-26 13:18:28 +01:00
|
|
|
android:layout_centerVertical="true" />
|
2011-03-07 17:47:17 +01:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2013-12-26 13:18:28 +01:00
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp"
|
2014-01-01 02:15:27 +01:00
|
|
|
android:paddingBottom="3dp"
|
2013-12-26 00:08:43 +01:00
|
|
|
android:layout_toRightOf="@id/icon"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:baselineAligned="false" >
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/status_icons"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:padding="4dp">
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/icon_status_has_updates"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="18dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:gravity="end" />
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/icon_status_installed"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="18dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:gravity="end" />
|
2013-06-10 21:37:59 +10:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
</LinearLayout>
|
2013-06-10 21:37:59 +10:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
<TextView android:id="@+id/status"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
2013-12-26 13:18:28 +01:00
|
|
|
android:paddingTop="2dp"
|
|
|
|
android:paddingBottom="2dp"
|
2013-12-26 00:08:43 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-01 02:15:27 +01:00
|
|
|
android:layout_marginLeft="8dp"
|
2013-12-26 00:08:43 +01:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentRight="true" />
|
2013-06-10 21:37:59 +10:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
<TextView android:id="@+id/license"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textSize="13sp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-01-01 02:15:27 +01:00
|
|
|
android:layout_marginLeft="8dp"
|
2013-12-26 00:08:43 +01:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentRight="true" />
|
2013-06-10 21:37:59 +10:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
<TextView android:id="@+id/name"
|
2013-12-26 13:18:28 +01:00
|
|
|
android:textSize="17sp"
|
2013-12-26 00:08:43 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_toLeftOf="@id/status" />
|
2013-12-25 22:46:46 +01:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
<TextView android:id="@+id/summary"
|
2011-03-07 17:47:17 +01:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:layout_below="@id/name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_toLeftOf="@id/license" />
|
2013-11-17 22:09:04 +02:00
|
|
|
|
2013-12-26 00:08:43 +01:00
|
|
|
</RelativeLayout>
|
2011-03-09 16:11:23 +01:00
|
|
|
|
2011-03-07 17:47:17 +01:00
|
|
|
</RelativeLayout>
|