The problem is the following, I placed too many elements (of a different type) on the screen of my activism, because of which if there are many values in the 4th element (list for example) then the element that is located below in the activation is no longer displayed. I understand you need to add Scroll or is there some other alternative solution to the issue?
2 answers
Take your xml , where are your elements and do something like this:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/scrollView" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> //Ваши элементы TextView, WebView не важно. </LinearLayout> </ScrollView> |
From the commentary, it was found out that 8 TextView and WebView are placed on the screen.
In this case, it is advisable to wrap items in a ScrollView .
|
RecyclerView. If not,ScrollView. It all depends on what you need. - VAndrJ