agreement_activity.xml
2.76 KB
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
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/login_bg"
android:gravity="center"
android:orientation="vertical"
tools:context="com.studymachine.www.ui.activity.AgreementActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/dp_12"
android:background="@drawable/kuangda"
android:gravity="center_horizontal"
android:orientation="vertical"
android:paddingVertical="@dimen/dp_23">
<!-- <androidx.appcompat.widget.AppCompatTextView-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/user_agreement_title"-->
<!-- android:textColor="@color/white"-->
<!-- android:textSize="@dimen/sp_14" />-->
<!-- <androidx.core.widget.NestedScrollView-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="0px"-->
<!-- android:layout_weight="1"-->
<!-- android:paddingHorizontal="@dimen/dp_35"-->
<!-- android:paddingVertical="@dimen/dp_9">-->
<!-- <androidx.appcompat.widget.AppCompatTextView-->
<!-- android:id="@+id/content_tv"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:textColor="@color/white90" />-->
<!-- </androidx.core.widget.NestedScrollView>-->
<com.studymachine.www.widget.X5WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_marginHorizontal="@dimen/dp_35"
android:layout_marginVertical="@dimen/dp_9"
android:layout_weight="1" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/read_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/button_theme_selector"
android:paddingHorizontal="@dimen/dp_18"
android:paddingVertical="@dimen/dp_4"
android:text="阅读完成"
android:textColor="@color/white"
android:textSize="@dimen/dp_11" />
</LinearLayout>
</LinearLayout>