Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (49 sloc) 1.93 KB
<?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" >
<View
android:id="@+id/top_bar"
android:layout_width="wrap_content"
android:layout_height="42dip"
android:layout_alignParentTop="true"
android:background="#7F000000" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="42dip"
android:layout_alignParentTop="true"
android:gravity="center_vertical" >
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dip"
android:ellipsize="end"
android:singleLine="true"
android:text="name"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@android:color/white" />
<TextView
android:id="@+id/author"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dip"
android:ellipsize="end"
android:singleLine="true"
android:text="author"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white" />
</LinearLayout>
<ImageView
android:id="@+id/thumb"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/top_bar"
android:layout_marginBottom="5dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginTop="5dp"
android:contentDescription="@null"
android:scaleType="centerCrop"
android:src="@drawable/thumbnail" />
</RelativeLayout>
Something went wrong with that request. Please try again.