title_view_top_nav_effect.xml
2.36 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
<?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">
<org.libpag.PAGView
android:id="@+id/ivIndicator"
android:layout_width="@dimen/rmrb_dp50"
android:layout_height="@dimen/rmrb_dp44"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/navigate_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginHorizontal="@dimen/rmrb_dp8"
android:alpha="0.7"
android:gravity="center"
android:text="热点"
android:textColor="@color/res_color_common_C1"
android:textSize="@dimen/rmrb_dp17"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/ivChannel"
android:layout_width="wrap_content"
android:layout_height="@dimen/rmrb_dp36"
android:minHeight="@dimen/rmrb_dp36"
android:layout_marginHorizontal="@dimen/rmrb_dp8"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/ivRedPoint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp3"
android:layout_marginTop="@dimen/rmrb_dp1"
android:src="@drawable/simple_red_dot"
android:visibility="gone"
app:layout_constraintLeft_toRightOf="@+id/navigate_content"
app:layout_constraintTop_toTopOf="@+id/navigate_content"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>