mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-27 06:36:29 +08:00
fix the settings options are not displayed
This commit is contained in:
@@ -45,7 +45,7 @@ class MainActivity : FragmentActivity(), Request.RequestListener, OnSharedPrefer
|
|||||||
|
|
||||||
private val handler = Handler()
|
private val handler = Handler()
|
||||||
private val delayHideMain: Long = 10000
|
private val delayHideMain: Long = 10000
|
||||||
private val delayHideSetting: Long = 10000
|
private val delayHideSetting: Long = 15000
|
||||||
|
|
||||||
init {
|
init {
|
||||||
Utils.setRequestListener(this)
|
Utils.setRequestListener(this)
|
||||||
|
|||||||
@@ -1,18 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?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:id="@+id/setting"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
>
|
>
|
||||||
<LinearLayout
|
<ScrollView
|
||||||
|
android:id="@+id/container"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="match_parent"
|
||||||
|
android:fillViewport="true"
|
||||||
|
>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/content"
|
android:id="@+id/content"
|
||||||
android:layout_width="300dp"
|
android:layout_width="300dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingTop="20dp"
|
android:paddingTop="20dp"
|
||||||
|
android:paddingBottom="20dp"
|
||||||
android:paddingLeft="10dp"
|
android:paddingLeft="10dp"
|
||||||
android:paddingRight="10dp"
|
android:paddingRight="10dp"
|
||||||
android:background="@drawable/rounded_dark_left"
|
android:background="@drawable/rounded_dark_left"
|
||||||
@@ -105,11 +109,11 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<ImageView
|
</ScrollView>
|
||||||
android:id="@+id/appreciate"
|
<ImageView
|
||||||
android:layout_width="300dp"
|
android:id="@+id/appreciate"
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="300dp"
|
||||||
android:src="@drawable/appreciate"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/rounded_white_right" />
|
android:src="@drawable/appreciate"
|
||||||
</LinearLayout>
|
android:background="@drawable/rounded_white_right" />
|
||||||
</FrameLayout>
|
</LinearLayout>
|
||||||
Reference in New Issue
Block a user