aboutsummaryrefslogtreecommitdiff
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/activity_rpanactivity.xml23
-rw-r--r--app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml192
-rw-r--r--app/src/main/res/layout/fragment_view_rpan_broadcast.xml15
-rw-r--r--app/src/main/res/layout/item_rpan_comment.xml38
4 files changed, 0 insertions, 268 deletions
diff --git a/app/src/main/res/layout/activity_rpanactivity.xml b/app/src/main/res/layout/activity_rpanactivity.xml
deleted file mode 100644
index b7e22b40..00000000
--- a/app/src/main/res/layout/activity_rpanactivity.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#000000"
- android:id="@+id/coordinator_layout_rpan_activity"
- android:keepScreenOn="true"
- tools:context=".activities.RPANActivity">
-
- <androidx.viewpager2.widget.ViewPager2
- android:id="@+id/view_pager_2_rpan_activity"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
- <ProgressBar
- android:id="@+id/progress_bar_rpan_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center" />
-
-</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml b/app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml
deleted file mode 100644
index 4e224e24..00000000
--- a/app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml
+++ /dev/null
@@ -1,192 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<androidx.constraintlayout.widget.ConstraintLayout 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"
- android:background="#44000000"
- android:id="@+id/constraint_layout_exo_rpan_broadcast_playback_control_view"
- android:focusableInTouchMode="true"
- xmlns:app="http://schemas.android.com/apk/res-auto">
-
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- app:layout_constraintBottom_toTopOf="@id/title_text_view_exo_rpan_broadcast_playback_control_view"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintVertical_bias="1">
-
- <ImageView
- android:id="@+id/subreddit_icon_image_view_exo_rpan_broadcast_playback_control_view"
- android:layout_width="24dp"
- android:layout_height="24dp"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
-
- <TextView
- android:id="@+id/subreddit_name_text_view_exo_rpan_broadcast_playback_control_view"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:paddingBottom="4dp"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- android:textColor="@color/colorAccent"
- app:layout_constraintBottom_toTopOf="@id/username_text_view_exo_rpan_broadcast_playback_control_view"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintStart_toEndOf="@id/barrier5" />
-
- <TextView
- android:id="@+id/username_text_view_exo_rpan_broadcast_playback_control_view"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- android:textColor="#02BAEE"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toEndOf="@id/barrier5" />
-
- <androidx.constraintlayout.widget.Barrier
- android:id="@+id/barrier5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:barrierDirection="end"
- app:constraint_referenced_ids="subreddit_icon_image_view_exo_rpan_broadcast_playback_control_view" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
-
- <TextView
- android:id="@+id/title_text_view_exo_rpan_broadcast_playback_control_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp"
- android:textColor="#FFFFFF"
- android:textSize="20sp"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toTopOf="@id/control_linear_layout"
- app:layout_constraintVertical_bias="1" />
-
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/control_linear_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingTop="4dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
-
- <ImageButton
- android:id="@+id/hd_exo_rpan_broadcast_playback_control_view"
- style="@style/ExoMediaButton"
- android:src="@drawable/ic_video_quality_24dp"
- android:visibility="gone"
- app:layout_constraintEnd_toStartOf="@+id/exo_rew"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintHorizontal_chainStyle="spread_inside"
- app:layout_constraintStart_toStartOf="parent"
- tools:layout_editor_absoluteY="4dp" />
-
- <ImageButton
- android:id="@id/exo_rew"
- style="@style/ExoMediaButton.Rewind"
- app:layout_constraintEnd_toStartOf="@+id/exo_play"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/hd_exo_rpan_broadcast_playback_control_view"
- tools:layout_editor_absoluteY="4dp" />
-
- <ImageButton
- android:id="@id/exo_play"
- style="@style/ExoMediaButton.Play"
- app:layout_constraintEnd_toStartOf="@+id/exo_pause"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/exo_rew"
- tools:layout_editor_absoluteY="4dp" />
-
- <ImageButton
- android:id="@id/exo_pause"
- style="@style/ExoMediaButton.Pause"
- app:layout_constraintEnd_toStartOf="@+id/exo_ffwd"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/exo_play"
- tools:layout_editor_absoluteY="4dp" />
-
- <ImageButton
- android:id="@id/exo_ffwd"
- style="@style/ExoMediaButton.FastForward"
- app:layout_constraintEnd_toStartOf="@+id/mute_exo_rpan_broadcast_playback_control_view"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/exo_pause"
- tools:layout_editor_absoluteY="4dp" />
-
- <ImageButton
- android:id="@+id/mute_exo_rpan_broadcast_playback_control_view"
- style="@style/ExoMediaButton"
- android:visibility="gone"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/exo_ffwd"
- tools:layout_editor_absoluteY="4dp" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
-
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recycler_view_exo_rpan_broadcast_playback_control_view"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:paddingTop="16dp"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- app:layout_constraintTop_toBottomOf="@id/control_linear_layout"
- app:layout_constraintBottom_toTopOf="@id/time_bar_linear_layout"
- app:layoutManager="ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFixed" />
-
- <LinearLayout
- android:id="@+id/time_bar_linear_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="4dp"
- android:padding="16dp"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent">
-
- <TextView android:id="@id/exo_position"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="14sp"
- android:textStyle="bold"
- android:paddingStart="0dp"
- android:paddingEnd="4dp"
- android:includeFontPadding="false"
- android:textColor="#FFFFFF"
- android:fontFamily="?attr/font_family" />
-
- <com.google.android.exoplayer2.ui.DefaultTimeBar
- android:id="@id/exo_progress"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="26dp"
- app:bar_height="2dp"
- app:scrubber_color="@color/colorAccent"
- app:played_color="@color/colorAccent" />
-
- <TextView android:id="@id/exo_duration"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="14sp"
- android:textStyle="bold"
- android:paddingStart="4dp"
- android:paddingEnd="0dp"
- android:includeFontPadding="false"
- android:textColor="#FFFFFF"
- android:fontFamily="?attr/font_family" />
-
- </LinearLayout>
-
-</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_view_rpan_broadcast.xml b/app/src/main/res/layout/fragment_view_rpan_broadcast.xml
deleted file mode 100644
index abab4f52..00000000
--- a/app/src/main/res/layout/fragment_view_rpan_broadcast.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<FrameLayout 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:app="http://schemas.android.com/apk/res-auto"
- tools:context=".fragments.ViewRPANBroadcastFragment">
-
- <com.google.android.exoplayer2.ui.PlayerView
- android:id="@+id/player_view_view_rpan_broadcast_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:controller_layout_id="@layout/exo_rpan_broadcast_playback_control_view" />
-
-</FrameLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_rpan_comment.xml b/app/src/main/res/layout/item_rpan_comment.xml
deleted file mode 100644
index 54ace9c5..00000000
--- a/app/src/main/res/layout/item_rpan_comment.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="8dp">
-
- <ImageView
- android:id="@+id/icon_image_view_item_rpan_comment"
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:layout_gravity="center_vertical" />
-
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_gravity="center_vertical"
- android:layout_marginStart="16dp"
- android:layout_marginEnd="0dp"
- android:orientation="vertical">
-
- <TextView
- android:id="@+id/author_text_view_item_rpan_comment"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="#02BAEE" />
-
- <TextView
- android:id="@+id/content_text_view_item_rpan_comment"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="4dp"
- android:textColor="#FFFFFF" />
-
- </LinearLayout>
-
-</LinearLayout> \ No newline at end of file