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"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-05-26 12:25:20 +02:00
|
|
|
android:paddingTop="3dp"
|
2013-10-11 20:25:18 +02:00
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:paddingLeft="3dp"
|
|
|
|
android:paddingRight="3dp"
|
|
|
|
android:baselineAligned="false" >
|
2011-03-07 17:47:17 +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-11-16 23:39:37 +01:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginRight="6dp"
|
|
|
|
android:layout_marginLeft="2dp"
|
2013-11-17 06:42:33 +02:00
|
|
|
android:layout_centerVertical="true"
|
2013-11-16 23:39:37 +01:00
|
|
|
/>
|
2011-03-07 17:47:17 +01:00
|
|
|
|
2013-06-10 21:37:59 +10:00
|
|
|
<LinearLayout android:id="@+id/status_icons"
|
2013-11-16 23:39:37 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:padding="4dp">
|
2013-06-10 21:37:59 +10:00
|
|
|
|
2013-11-16 23:39:37 +01:00
|
|
|
<ImageView android:id="@+id/icon_status_has_updates"
|
|
|
|
android:layout_width="18dp"
|
|
|
|
android:layout_height="18dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:gravity="end" />
|
2013-06-10 21:37:59 +10:00
|
|
|
|
2013-11-16 23:39:37 +01:00
|
|
|
<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
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2011-03-07 17:47:17 +01:00
|
|
|
<TextView android:id="@+id/name"
|
2013-11-16 23:39:37 +01:00
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-11-17 06:42:33 +02:00
|
|
|
android:layout_toRightOf="@id/icon" />
|
2011-03-07 17:47:17 +01:00
|
|
|
|
2013-10-11 20:25:18 +02:00
|
|
|
<TextView android:id="@+id/status"
|
2013-11-16 23:39:37 +01:00
|
|
|
android:textSize="12sp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toRightOf="@id/icon"
|
|
|
|
android:layout_below="@id/name" />
|
2011-03-07 17:47:17 +01:00
|
|
|
|
2013-10-11 20:25:18 +02:00
|
|
|
<TextView android:id="@+id/license"
|
2013-11-16 23:39:37 +01:00
|
|
|
android:textSize="12sp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-10-11 20:25:18 +02:00
|
|
|
android:padding="8dp"
|
2013-11-17 06:42:33 +02:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignBaseline="@id/status" />
|
2011-03-09 16:11:23 +01:00
|
|
|
|
2013-11-17 06:42:33 +02:00
|
|
|
<!-- Some of the layout settings are set in
|
|
|
|
AppListAdapater.java:layoutSummary() -->
|
2011-03-07 17:47:17 +01:00
|
|
|
<TextView android:id="@+id/summary"
|
2013-11-16 23:39:37 +01:00
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="end"
|
2013-11-17 06:42:33 +02:00
|
|
|
android:layout_width="wrap_content"
|
2013-11-16 23:39:37 +01:00
|
|
|
android:layout_height="wrap_content"
|
2013-11-17 06:42:33 +02:00
|
|
|
android:layout_below="@id/status"
|
|
|
|
android:layout_toRightOf="@id/icon" />
|
2011-03-07 17:47:17 +01:00
|
|
|
|
|
|
|
</RelativeLayout>
|