AntennaPod/res/layout/cover_fragment.xml
2012-08-26 22:12:09 +02:00

53 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/cover_fragment_root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/txtvTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="8dp"
android:gravity="center_horizontal"
android:textSize="18dp"
android:textStyle="bold" />
<TextView
android:id="@+id/txtvFeed"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/txtvTitle"
android:gravity="center_horizontal" />
<LinearLayout
android:id="@+id/cover_layout"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_below="@id/txtvFeed"
android:gravity="center"
android:orientation="vertical" >
<ImageView
android:id="@+id/imgvCover"
android:layout_marginLeft="50dp"
android:layout_marginRight="50dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="4dp"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_weight="1"
android:adjustViewBounds="true"
android:scaleType="centerInside" />
</LinearLayout>
</RelativeLayout>