[Solved] Horizontal ScrollView in fragment Android


Its not vertically, it is horizontally

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

    <HorizontalScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal">
        // Add your ImageButtons
    </LinearLayout>
</HorizontalScrollView>

5

solved Horizontal ScrollView in fragment Android