admin
2024-10-30 4c44b1036ff555e63a9a8b027dbe89d0b08a430b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
 
 
    <include layout="@layout/item_youth_nav"></include>
 
 
    <com.lcjian.library.widget.RatioLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:ratio="0.408">
 
        <ImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:src="@drawable/ic_youth_banner"></ImageView>
    </com.lcjian.library.widget.RatioLayout>
 
    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">
 
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="22dp"
            android:orientation="vertical">
 
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/youth_notify_1"
                android:textColor="#ff00a365"
                android:textSize="15sp" />
 
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="36dp"
                android:text="@string/youth_notify_2"
                android:textColor="#ff333333"
                android:textSize="15sp" />
 
 
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:lineSpacingExtra="5dp"
                android:text="建议青少年们适当观看本App中与学习课程、科普知识相关的内容等"
                android:textColor="#fffe3c69"
                android:textSize="15sp" />
 
 
        </LinearLayout>
    </ScrollView>
 
    <TextView
        android:id="@+id/tv_open"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:background="#35C791"
        android:gravity="center"
        android:text="开启青少年模式"
        android:textColor="#FFFFFF"
        android:textSize="18sp">
 
 
    </TextView>
 
</LinearLayout>