mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Move onClickListeners to ViewHolders in PostRecyclerViewAdapter. Pause video after fragment pause.
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/parent_relative_layout_view_gif_activity"
|
||||
android:background="@android:color/black"
|
||||
android:background="#000000"
|
||||
android:keepScreenOn="true"
|
||||
tools:application="ml.docilealligator.infinityforreddit.Activity.ViewGIFActivity">
|
||||
|
||||
<ProgressBar
|
||||
|
@@ -4,7 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/black"
|
||||
android:background="#000000"
|
||||
android:id="@+id/relative_layout_view_video_activity"
|
||||
android:keepScreenOn="true"
|
||||
tools:application="ml.docilealligator.infinityforreddit.Activity.ViewVideoActivity">
|
||||
|
@@ -16,7 +16,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false" />-->
|
||||
|
||||
<im.ene.toro.widget.Container
|
||||
<ml.docilealligator.infinityforreddit.CustomView.CustomToroContainer
|
||||
android:id="@+id/recycler_view_post_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
@@ -109,6 +109,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dp"
|
||||
android:text="@string/video"
|
||||
android:textSize="?attr/font_12"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedView="true"
|
||||
@@ -189,6 +190,7 @@
|
||||
android:id="@+id/aspect"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:background="#000000"
|
||||
app:resize_mode="fixed_width">
|
||||
|
||||
<com.google.android.exoplayer2.ui.PlayerView
|
||||
|
Reference in New Issue
Block a user