Replaced ScrollViews by NestedScrollViews

This commit is contained in:
Sylvain Berfini 2020-10-21 11:07:08 +02:00
parent f34a2f65c9
commit 0ed7da68a3
28 changed files with 56 additions and 56 deletions

View file

@ -33,7 +33,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
tools:layout="@layout/assistant_top_bar_fragment" /> tools:layout="@layout/assistant_top_bar_fragment" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar_fragment"> android:layout_below="@id/top_bar_fragment">
@ -134,7 +134,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -183,7 +183,7 @@
android:text="@string/history_calls_list" android:text="@string/history_calls_list"
android:textAllCaps="true" /> android:textAllCaps="true" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -194,7 +194,7 @@
app:entries="@{viewModel.callsHistory}" app:entries="@{viewModel.callsHistory}"
app:layout="@{@layout/history_detail_cell}"/> app:layout="@{@layout/history_detail_cell}"/>
</ScrollView> </androidx.core.widget.NestedScrollView>
</LinearLayout> </LinearLayout>

View file

@ -167,7 +167,7 @@
android:text="@string/history_calls_list" android:text="@string/history_calls_list"
android:textAllCaps="true" /> android:textAllCaps="true" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -178,7 +178,7 @@
app:entries="@{viewModel.callsHistory}" app:entries="@{viewModel.callsHistory}"
app:layout="@{@layout/history_detail_cell}"/> app:layout="@{@layout/history_detail_cell}"/>
</ScrollView> </androidx.core.widget.NestedScrollView>
</LinearLayout> </LinearLayout>

View file

@ -60,7 +60,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar" android:layout_below="@id/top_bar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -148,7 +148,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -60,7 +60,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar" android:layout_below="@id/top_bar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -148,7 +148,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -61,7 +61,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar" android:layout_below="@id/top_bar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -211,7 +211,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
<include <include
layout="@layout/wait_layout" layout="@layout/wait_layout"

View file

@ -32,7 +32,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
tools:layout="@layout/assistant_top_bar_fragment" /> tools:layout="@layout/assistant_top_bar_fragment" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar_fragment" android:layout_below="@id/top_bar_fragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -251,7 +251,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
<include <include
layout="@layout/wait_layout" layout="@layout/wait_layout"

View file

@ -23,7 +23,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
tools:layout="@layout/assistant_top_bar_fragment" /> tools:layout="@layout/assistant_top_bar_fragment" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar_fragment" android:layout_below="@id/top_bar_fragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -142,7 +142,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
<include <include
layout="@layout/wait_layout" layout="@layout/wait_layout"

View file

@ -24,7 +24,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
tools:layout="@layout/assistant_top_bar_fragment" /> tools:layout="@layout/assistant_top_bar_fragment" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar_fragment" android:layout_below="@id/top_bar_fragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -178,7 +178,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
<include <include
layout="@layout/wait_layout" layout="@layout/wait_layout"

View file

@ -28,7 +28,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
tools:layout="@layout/assistant_top_bar_fragment" /> tools:layout="@layout/assistant_top_bar_fragment" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar_fragment" android:layout_below="@id/top_bar_fragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -203,7 +203,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
<include <include
layout="@layout/wait_layout" layout="@layout/wait_layout"

View file

@ -28,7 +28,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
tools:layout="@layout/assistant_top_bar_fragment" /> tools:layout="@layout/assistant_top_bar_fragment" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar_fragment" android:layout_below="@id/top_bar_fragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -180,7 +180,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
<include <include
layout="@layout/wait_layout" layout="@layout/wait_layout"

View file

@ -33,7 +33,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
tools:layout="@layout/assistant_top_bar_fragment" /> tools:layout="@layout/assistant_top_bar_fragment" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar_fragment"> android:layout_below="@id/top_bar_fragment">
@ -134,7 +134,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -9,7 +9,7 @@
type="org.linphone.activities.call.viewmodels.StatisticsListViewModel" /> type="org.linphone.activities.call.viewmodels.StatisticsListViewModel" />
</data> </data>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?attr/backgroundColor" android:background="?attr/backgroundColor"
@ -23,6 +23,6 @@
app:entries="@{viewModel.callStatsList}" app:entries="@{viewModel.callStatsList}"
app:layout="@{@layout/call_statistics_cell}" /> app:layout="@{@layout/call_statistics_cell}" />
</ScrollView> </androidx.core.widget.NestedScrollView>
</layout> </layout>

View file

@ -52,7 +52,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -64,7 +64,7 @@
app:entries="@{viewModel.participants}" app:entries="@{viewModel.participants}"
app:layout="@{@layout/chat_room_devices_group_cell}" /> app:layout="@{@layout/chat_room_devices_group_cell}" />
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -60,7 +60,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -105,7 +105,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -68,7 +68,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -115,7 +115,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
<include <include
layout="@layout/wait_layout" layout="@layout/wait_layout"

View file

@ -60,7 +60,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -213,7 +213,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -167,7 +167,7 @@
android:text="@string/history_calls_list" android:text="@string/history_calls_list"
android:textAllCaps="true" /> android:textAllCaps="true" />
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -178,7 +178,7 @@
app:entries="@{viewModel.callsHistory}" app:entries="@{viewModel.callsHistory}"
app:layout="@{@layout/history_detail_cell}"/> app:layout="@{@layout/history_detail_cell}"/>
</ScrollView> </androidx.core.widget.NestedScrollView>
</LinearLayout> </LinearLayout>

View file

@ -56,7 +56,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -239,7 +239,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
<include <include
layout="@layout/wait_layout" layout="@layout/wait_layout"

View file

@ -55,7 +55,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -156,7 +156,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -55,7 +55,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -149,7 +149,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -55,7 +55,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -171,7 +171,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -55,7 +55,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -134,7 +134,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -54,7 +54,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -106,7 +106,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -54,7 +54,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_below="@id/top_bar" android:layout_below="@id/top_bar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -142,7 +142,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -55,7 +55,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -114,7 +114,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -55,7 +55,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -118,7 +118,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>

View file

@ -55,7 +55,7 @@
</LinearLayout> </LinearLayout>
<ScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"> android:layout_below="@id/top_bar">
@ -162,7 +162,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </androidx.core.widget.NestedScrollView>
</RelativeLayout> </RelativeLayout>