Я хочу добиться чего-то подобного
Я пытался сделать горизонтальный просмотр в виде строки в качестве файла строки вертикального просмотра, но я не смог добиться горизонтальной прокрутки.
Это будет здорово, если кто-нибудь мне поможет
Вот код
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:background="@color/colorPrimaryDark">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_player"
android:layout_width="0dp"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
android:layout_height="match_parent"
android:layout_weight="3" />
<HorizontalScrollView
android:id="@+id/horizontal"
android:layout_width="0dp"
android:layout_weight="7"
android:fillViewport="true"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/lin_main"
android:layout_width="wrap_content"
android:orientation="vertical"
android:layout_height="wrap_content">
</LinearLayout>
</HorizontalScrollView>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
Здесь я пытаюсь добавить динами c представления в LinearLyout (lin_main)