summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/about.xml1
-rw-r--r--app/src/main/res/layout/feeditem_dialog.xml45
-rw-r--r--app/src/main/res/layout/videoplayer_activity.xml37
3 files changed, 42 insertions, 41 deletions
diff --git a/app/src/main/res/layout/about.xml b/app/src/main/res/layout/about.xml
index acde9d786..02e232d9a 100644
--- a/app/src/main/res/layout/about.xml
+++ b/app/src/main/res/layout/about.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/webvContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
diff --git a/app/src/main/res/layout/feeditem_dialog.xml b/app/src/main/res/layout/feeditem_dialog.xml
index 24abae762..5937480df 100644
--- a/app/src/main/res/layout/feeditem_dialog.xml
+++ b/app/src/main/res/layout/feeditem_dialog.xml
@@ -1,58 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/contentContainer"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<TextView
+ android:id="@+id/txtvTitle"
+ style="@style/AntennaPod.Dialog.Title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:id="@+id/txtvTitle"
android:layout_alignParentTop="true"
- style="@style/AntennaPod.Dialog.Title"
- android:maxLines="5"
- android:ellipsize="none"/>
+ android:layout_margin="16dp"
+ android:ellipsize="none"
+ android:maxLines="5" />
<View
android:id="@+id/title_divider"
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_below="@id/txtvTitle"
- android:background="@color/bright_blue"/>
+ android:background="@color/bright_blue" />
<LinearLayout
android:id="@+id/header"
- android:orientation="horizontal"
- android:layout_below="@id/title_divider"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:layout_below="@id/title_divider"
+ android:orientation="horizontal">
<ImageButton
+ android:id="@+id/butAction1"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
- android:id="@+id/butAction1"
android:background="?attr/selectableItemBackground"
- tools:ignore="ContentDescription"/>
+ tools:ignore="ContentDescription" />
<ImageButton
+ android:id="@+id/butAction2"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
- android:id="@+id/butAction2"
android:background="?attr/selectableItemBackground"
- tools:ignore="ContentDescription"/>
+ tools:ignore="ContentDescription" />
<ImageButton
+ android:id="@+id/butMoreActions"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_weight="1"
- android:id="@+id/butMoreActions"
android:background="?attr/selectableItemBackground"
- android:src="?attr/ic_action_overflow"
- android:contentDescription="@string/butAction_label"/>
+ android:contentDescription="@string/butAction_label"
+ android:src="?attr/ic_action_overflow" />
</LinearLayout>
<View
@@ -60,13 +61,13 @@
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_below="@id/header"
- android:background="@color/bright_blue"/>
+ android:background="@color/bright_blue" />
<WebView
+ android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="0dp"
- android:layout_below="@id/divider"
android:layout_alignParentBottom="true"
- android:id="@+id/webview"/>
+ android:layout_below="@id/divider" />
</RelativeLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/videoplayer_activity.xml b/app/src/main/res/layout/videoplayer_activity.xml
index f1e54f7c3..766cd6e04 100644
--- a/app/src/main/res/layout/videoplayer_activity.xml
+++ b/app/src/main/res/layout/videoplayer_activity.xml
@@ -1,47 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/black"
+ android:orientation="vertical">
<de.danoeh.antennapod.view.AspectRatioVideoView
android:id="@+id/videoview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="center"/>
+ android:layout_gravity="center" />
<ProgressBar
android:id="@+id/progressIndicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:visibility="invisible"
- android:indeterminateOnly="true"/>
+ android:indeterminateOnly="true"
+ android:visibility="invisible" />
<ImageButton
android:id="@+id/butPlay"
- android:contentDescription="@string/pause_label"
- android:layout_width="80dp"
- android:layout_height="80dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_gravity="center"
- android:scaleType="fitXY"
android:background="@drawable/overlay_button_circle_background"
- android:src="@drawable/ic_action_pause_over_video"/>
+ android:contentDescription="@string/pause_label"
+ android:src="@drawable/ic_av_pause_circle_outline_80dp" />
<LinearLayout
android:id="@+id/overlay"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
- android:background="#80000000"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/timecontrol"
android:layout_width="match_parent"
android:layout_height="50dp"
- android:paddingTop="8dp"
- android:layout_marginBottom="4dp">
+ android:background="#80000000"
+ android:paddingTop="8dp">
<TextView
android:id="@+id/txtvPosition"
@@ -53,9 +52,9 @@
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginTop="4dp"
+ android:text="@string/position_default_label"
android:textColor="@color/white"
- android:textStyle="bold"
- android:text="@string/position_default_label"/>
+ android:textStyle="bold" />
<TextView
android:id="@+id/txtvLength"
@@ -67,9 +66,9 @@
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginTop="4dp"
+ android:text="@string/position_default_label"
android:textColor="@color/white"
- android:textStyle="bold"
- android:text="@string/position_default_label"/>
+ android:textStyle="bold" />
<SeekBar
android:id="@+id/sbPosition"
@@ -77,7 +76,7 @@
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/txtvLength"
android:layout_toRightOf="@+id/txtvPosition"
- android:max="500"/>
+ android:max="500" />
</RelativeLayout>
</LinearLayout>