wangzhibo
4 天以前 ae6f40460dcd56af6c5f60ba52c883854c3bac55
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
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/streaks_dashboard"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:minWidth="1000dp">
 
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
 
        <LinearLayout
            android:id="@+id/streaks_dashboard_inner"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">
 
            <TextView
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_gravity="center"
                android:layout_marginStart="1dp"
                android:layout_marginEnd="1dp"
                android:layout_weight="1"
                android:gravity="center"
                android:maxLines="2"
                android:scrollHorizontally="false"
                android:text="@string/steps_streaks"
                android:textAllCaps="true"
                android:textSize="24sp"
                android:textStyle="bold"
                android:tooltipText="@string/steps_streaks_hint" />
 
            <include
                layout="@layout/steps_streak_current_line_layout"
                android:visibility="gone" />
 
            <include
                layout="@layout/steps_streak_maximum_line_layout"
                android:visibility="gone" />
 
            <include
                layout="@layout/steps_streak_total_line_layout"
                android:visibility="gone" />
 
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginTop="0dp"
                android:layout_marginBottom="0dp"
                android:gravity="center"
                android:orientation="vertical">
 
                <ImageView
                    android:layout_width="100dp"
                    android:layout_height="100dp"
                    android:layout_marginStart="35dp"
                    android:layout_marginTop="39dp"
                    app:srcCompat="@drawable/ic_events_gold" />
 
                <ProgressBar
                    android:id="@+id/step_streak_dashboard_loading_circle"
                    android:layout_width="171dp"
                    android:layout_height="171dp"
                    android:indeterminate="true" />
            </RelativeLayout>
        </LinearLayout>
 
        <ImageButton
            android:id="@+id/step_streak_share_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_alignParentBottom="true"
            app:srcCompat="@drawable/ic_share" />
    </RelativeLayout>
</ScrollView>