aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-08 04:54:41 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-08 04:54:41 +0000
commit231f3b6b0902652c17ef10d16f12ba4079062f92 (patch)
tree5aedac320085010f7ae57660d72bfe958d6af030 /app/src/main/res
parent61d907308cd0944e99ef61cf6d2abe77f988e357 (diff)
downloadinfinity-for-reddit-231f3b6b0902652c17ef10d16f12ba4079062f92.tar
infinity-for-reddit-231f3b6b0902652c17ef10d16f12ba4079062f92.tar.gz
infinity-for-reddit-231f3b6b0902652c17ef10d16f12ba4079062f92.tar.bz2
infinity-for-reddit-231f3b6b0902652c17ef10d16f12ba4079062f92.tar.lz
infinity-for-reddit-231f3b6b0902652c17ef10d16f12ba4079062f92.tar.xz
infinity-for-reddit-231f3b6b0902652c17ef10d16f12ba4079062f92.tar.zst
infinity-for-reddit-231f3b6b0902652c17ef10d16f12ba4079062f92.zip
Show subreddit name and icon and username in ViewRPANBroadcastFragment.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml48
1 files changed, 48 insertions, 0 deletions
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
index e0d11e64..6d1c7f21 100644
--- 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
@@ -7,6 +7,54 @@
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"