Skip to content

Commit 18ebb43

Browse files
committed
Pinned mode: expand comments area (move ViewPager out of NestedScrollView; fill remaining height)
1 parent 6bec28e commit 18ebb43

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/main/res/layout/fragment_video_detail.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,9 @@
812812
<androidx.viewpager.widget.ViewPager
813813
android:id="@+id/pinned_view_pager"
814814
android:layout_width="match_parent"
815-
android:layout_height="400dp" />
815+
android:layout_height="0dp"
816+
android:layout_weight="1"
817+
/>
816818

817819
</LinearLayout>
818820

0 commit comments

Comments
 (0)