arena_list_activity.xml
2.67 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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/arena_bg"
tools:context="com.studymachine.www.ui.activity.ArenaListActivity">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:src="@drawable/arena_person_bg"
android:translationZ="@dimen/dp_2" />
<androidx.appcompat.widget.AppCompatImageView
android:translationZ="@dimen/dp_2"
android:id="@+id/iv_person"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:src="@drawable/arena_person_to" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.hjq.bar.TitleBar
android:translationZ="@dimen/dp_3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:barStyle="transparent"
app:leftIconWidth="@dimen/dp_20"
app:titleIcon="@drawable/arena_title"
app:titleIconWidth="@dimen/dp_79"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_marginTop="@dimen/dp_16"
android:layout_weight="1"
android:gravity="center_vertical"
android:paddingBottom="@dimen/dp_48"
android:paddingEnd="@dimen/dp_170">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_list"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_200"
android:orientation="horizontal"
android:overScrollMode="ifContentScrolls"
android:requiresFadingEdge="horizontal"
android:fadingEdgeLength="@dimen/dp_40"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/arena_list_item" />
<!-- <androidx.appcompat.widget.AppCompatImageView-->
<!-- android:layout_width="@dimen/dp_170"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:src="@drawable/aier" />-->
</LinearLayout>
</LinearLayout>
</RelativeLayout>