
They are more consistent now. Transitioning to RTL languages will also be easier since more of them can be mirrored now. Also fixes some spacing issues with icons and others.
67 lines
2.2 KiB
XML
67 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:paddingTop="5dp"
|
|
android:paddingLeft="6dp"
|
|
android:paddingRight="6dp"
|
|
android:baselineAligned="false"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/header"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:cropToPadding="true"
|
|
android:padding="4dp"
|
|
android:layout_marginRight="3dp"
|
|
android:scaleType="fitCenter" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="6dp"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_below="@id/title"
|
|
android:textSize="12sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/license"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:padding="3dp"
|
|
android:textSize="12sp" />
|
|
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<ListView
|
|
android:id="@android:id/list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:scrollbars="none" />
|
|
|
|
</LinearLayout>
|