personal_center_activity.xml
3.51 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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/person_bg"
android:orientation="vertical"
tools:context="com.studymachine.www.ui.activity.PersonalCenterActivity">
<com.hjq.bar.TitleBar
style="@style/ActionBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:translationZ="@dimen/dp_2"
app:barStyle="transparent"
app:layout_constraintTop_toTopOf="parent"
app:leftIconWidth="@dimen/dp_22"
app:title="" />
<com.hjq.widget.layout.NoScrollViewPager
android:id="@+id/vp_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<LinearLayout
android:id="@+id/shop_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_35"
android:layout_marginTop="@dimen/dp_95"
android:gravity="center"
android:orientation="vertical"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="@dimen/dp_21"
android:layout_height="@dimen/dp_21"
android:src="@drawable/person_shop" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_5"
android:text="@string/personal_center_shop"
android:textColor="@color/white70"
android:textSize="@dimen/sp_8" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_7">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_integral"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="5555"
android:textColor="@color/white"
android:textSize="@dimen/sp_11" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/personal_center_unit"
android:textColor="@color/white70"
android:textSize="@dimen/sp_8" />
</LinearLayout>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_list"
android:layout_width="wrap_content"
android:layout_height="0px"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginBottom="@dimen/dp_80"
android:orientation="vertical"
app:layoutManager="com.google.android.flexbox.FlexboxLayoutManager"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="@+id/shop_view"
app:layout_constraintRight_toRightOf="@+id/shop_view"
app:layout_constraintTop_toBottomOf="@+id/shop_view"
tools:listitem="@layout/personal_select_item" />
</androidx.constraintlayout.widget.ConstraintLayout>