Fix issue #832 - Fetch More with wrong width

This commit is contained in:
Thomas 2023-03-22 16:35:36 +01:00
parent 15416b8c5a
commit dca3e444d7
3 changed files with 27 additions and 31 deletions

View File

@ -45,7 +45,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textSize="16sp"
app:layout_constraintBottom_toTopOf="@+id/container_fetchmore"
app:layout_constraintBottom_toTopOf="@+id/layout_fetch_more"
app:layout_constraintEnd_toStartOf="@+id/display_button"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -57,28 +57,21 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/show_anyway"
app:layout_constraintBottom_toTopOf="@+id/container_fetchmore"
app:layout_constraintBottom_toTopOf="@+id/layout_fetch_more"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/filtered_text"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/container_fetchmore"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/filtered_text">
<include
android:id="@+id/layout_fetch_more"
layout="@layout/drawer_fetch_more"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/filtered_text"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/filtered_text"
tools:visibility="visible" />
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>

View File

@ -33,21 +33,11 @@
android:layout_height="1px"
android:background="?colorOutline" />
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/container_fetchmore"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="5dp">
<include
android:id="@+id/layout_fetch_more"
android:layout_width="match_parent"
android:layout_height="wrap_content"
layout="@layout/drawer_fetch_more"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/filtered_text"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
</androidx.appcompat.widget.LinearLayoutCompat>
</com.google.android.material.card.MaterialCardView>

View File

@ -0,0 +1,13 @@
Added:
Changed:
- Some layout improvements for Peertube
- Better management of resolution with Peertube
- Improve instance picker for Peertube
Fixed:
- URL in upper cases
- GIF does not honor nsfw
- Issues with Peertube player
- Fix crashes when scrolling timeline with animated gif