<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:id="@+id/linearLayoutUser"
>
<!-- TODO: Update blank fragment layout -->
<ExpandableListView
android:id="@+id/expandableListView"
android:layout_width="match_parent"
android:layout_alignParentTop="true"
android:groupIndicator="@null"
android:layout_gravity="left|top"
android:layout_weight="1"
/>
//only above code is visible //Below this code is not visible //below is details information inside scrollview
<ScrollView
android:layout_width="match_parent"
android:layout_gravity="center"
android:layout_weight="1"
>
</scrollView>
</LinearLayout>
Set proper
android:layout_weight
andandroid:layout_height
value .