2013-08-22 15:11:37 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imgvCover"
|
2014-02-14 14:26:55 +01:00
|
|
|
android:contentDescription="@string/cover_label"
|
2013-08-24 14:23:31 +02:00
|
|
|
android:layout_width="@dimen/thumbnail_length_itemlist"
|
|
|
|
android:layout_height="@dimen/thumbnail_length_itemlist"
|
2013-08-22 15:11:37 +02:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginRight="4dip"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:cropToPadding="true"
|
|
|
|
android:scaleType="fitXY" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2013-08-24 14:23:31 +02:00
|
|
|
android:layout_height="@dimen/thumbnail_length_itemlist"
|
2013-08-22 15:11:37 +02:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_toRightOf="@id/imgvCover"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvTitle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="@dimen/text_size_small" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvDescription"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:textColor="?android:attr/textColorTertiary"
|
|
|
|
android:textSize="@dimen/text_size_micro" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|