AntennaPod/res/layout/external_player_fragment.xml

59 lines
2.3 KiB
XML
Raw Normal View History

2012-09-05 15:50:10 +02:00
<?xml version="1.0" encoding="utf-8"?>
2012-09-05 17:20:57 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2014-04-18 21:12:10 +02:00
android:id="@+id/fragmentLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
2012-09-05 17:20:57 +02:00
<View
android:layout_width="match_parent"
2014-04-18 21:12:10 +02:00
android:layout_height="2dp"
android:background="@color/bright_blue"/>
2012-09-05 17:20:57 +02:00
<LinearLayout
android:layout_width="match_parent"
2014-04-18 21:12:10 +02:00
android:layout_height="wrap_content">
2012-09-05 17:20:57 +02:00
<RelativeLayout
android:id="@+id/layoutInfo"
android:layout_width="0dp"
2012-09-05 15:50:10 +02:00
android:layout_height="wrap_content"
2012-09-05 17:20:57 +02:00
android:layout_weight="1"
2014-04-18 21:12:10 +02:00
android:background="?attr/borderless_button">
2012-09-05 17:20:57 +02:00
<ImageView
android:id="@+id/imgvCover"
android:contentDescription="@string/cover_label"
2012-09-05 17:20:57 +02:00
android:layout_width="@dimen/external_player_height"
android:layout_height="@dimen/external_player_height"
android:layout_alignParentLeft="true"
2014-04-18 21:12:10 +02:00
android:padding="4dp"
2012-09-05 17:20:57 +02:00
android:adjustViewBounds="true"
android:cropToPadding="true"
2014-04-18 21:12:10 +02:00
android:scaleType="fitXY"/>
2012-09-05 17:20:57 +02:00
<TextView
android:id="@+id/txtvTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginTop="8dp"
android:layout_toRightOf="@id/imgvCover"
android:ellipsize="end"
2014-04-18 21:12:10 +02:00
android:maxLines="2"
android:textSize="18sp"
2014-04-26 23:07:11 +02:00
android:fontFamily="sans-serif-light"/>
2012-09-05 17:20:57 +02:00
</RelativeLayout>
<ImageButton
android:id="@+id/butPlay"
android:contentDescription="@string/pause_label"
2012-09-05 17:20:57 +02:00
android:layout_width="@dimen/external_player_height"
android:layout_height="@dimen/external_player_height"
2014-04-18 21:12:10 +02:00
android:background="?attr/borderless_button"/>
2012-09-05 17:20:57 +02:00
</LinearLayout>
2012-09-05 15:50:10 +02:00
2012-09-05 17:20:57 +02:00
</LinearLayout>