Commit 398425f9 authored by Max Lv's avatar Max Lv

Fix the scrollview in about fragment

parent 494d35ee
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:id="@+id/about_container"> android:id="@+id/about_container">
<include layout="@layout/toolbar_light_dark"/> <include layout="@layout/toolbar_light_dark"/>
<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"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:scrollbars="vertical"> android:scrollbars="vertical">
<com.github.shadowsocks.widget.AutoCollapseTextView <com.github.shadowsocks.widget.AutoCollapseTextView
android:id="@+id/tv_about" android:id="@+id/tv_about"
...@@ -16,5 +18,5 @@ ...@@ -16,5 +18,5 @@
android:padding="16dp" android:padding="16dp"
android:textIsSelectable="true" android:textIsSelectable="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/> android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
</ScrollView> </androidx.core.widget.NestedScrollView>
</LinearLayout> </LinearLayout>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment