AntennaPod/res/layout/cover_fragment.xml

53 lines
1.8 KiB
XML
Raw Normal View History

2012-07-01 18:32:52 +02:00
<?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"
2012-07-14 20:26:47 +02:00
android:layout_marginTop="8dp"
2012-07-01 18:32:52 +02:00
android:gravity="center_horizontal"
2013-01-19 23:38:41 +01:00
android:textSize="@dimen/text_size_medium"
2012-07-01 18:32:52 +02:00
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"
2012-08-11 17:34:17 +02:00
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_alignParentBottom="true"
2012-07-01 18:32:52 +02:00
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_below="@id/txtvFeed"
android:gravity="center"
2012-07-01 18:32:52 +02:00
android:orientation="vertical" >
<ImageView
android:id="@+id/imgvCover"
2012-08-26 22:12:09 +02:00
android:layout_marginLeft="50dp"
android:layout_marginRight="50dp"
2012-08-11 17:34:17 +02:00
android:layout_marginTop="8dp"
android:layout_marginBottom="4dp"
2012-08-11 17:34:17 +02:00
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_weight="1"
2012-08-11 17:34:17 +02:00
android:adjustViewBounds="true"
2012-08-26 22:12:09 +02:00
android:scaleType="centerInside" />
2012-07-01 18:32:52 +02:00
</LinearLayout>
</RelativeLayout>