fix the settings options are not displayed

This commit is contained in:
Li ZongYing
2024-05-26 09:36:24 +08:00
parent ef17427f64
commit 70da1d8241
2 changed files with 16 additions and 12 deletions
@@ -45,7 +45,7 @@ class MainActivity : FragmentActivity(), Request.RequestListener, OnSharedPrefer
private val handler = Handler()
private val delayHideMain: Long = 10000
private val delayHideSetting: Long = 10000
private val delayHideSetting: Long = 15000
init {
Utils.setRequestListener(this)
+8 -4
View File
@@ -1,18 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/setting"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>
<LinearLayout
<ScrollView
android:id="@+id/container"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="match_parent"
android:fillViewport="true"
>
<LinearLayout
android:id="@+id/content"
android:layout_width="300dp"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingTop="20dp"
android:paddingBottom="20dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:background="@drawable/rounded_dark_left"
@@ -105,6 +109,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>
<ImageView
android:id="@+id/appreciate"
android:layout_width="300dp"
@@ -112,4 +117,3 @@
android:src="@drawable/appreciate"
android:background="@drawable/rounded_white_right" />
</LinearLayout>
</FrameLayout>