layout_share_play_meditation.xml 10.4 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2 3
<androidx.constraintlayout.widget.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
4 5 6
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/csl_root_layout"
7 8
    android:layout_width="match_parent"
    android:layout_height="match_parent"
9
    android:background="#5D000000">
10 11 12 13 14 15 16

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/csl_share_layout"
        android:layout_width="match_parent"
        android:layout_height="176dp"
        android:layout_margin="20dp"
        android:background="@drawable/bg_share_play_meditation_bottom"
17 18 19
        android:paddingHorizontal="15dp"
        android:paddingTop="28dp"
        app:layout_constraintBottom_toBottomOf="parent"
20
        app:layout_constraintEnd_toEndOf="parent"
21
        app:layout_constraintStart_toStartOf="parent">
22 23 24 25 26 27

        <LinearLayout
            android:id="@+id/ll_wechat_friend"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:gravity="center_horizontal"
28
            android:orientation="vertical"
29
            app:layout_constraintEnd_toStartOf="@id/ll_wechat_circle_of_friends"
30 31 32
            app:layout_constraintHorizontal_weight="1"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent">
33 34 35 36

            <ImageView
                android:layout_width="40dp"
                android:layout_height="40dp"
37
                android:src="@drawable/icon_meditation_share_wechat" />
38 39 40 41 42 43 44

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="12dp"
                android:text="微信好友"
                android:textColor="#FF666666"
45
                android:textSize="14sp" />
46 47 48 49 50 51 52 53

        </LinearLayout>

        <LinearLayout
            android:id="@+id/ll_wechat_circle_of_friends"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:gravity="center_horizontal"
54
            android:orientation="vertical"
55
            app:layout_constraintEnd_toStartOf="@id/ll_save_picture"
56 57 58
            app:layout_constraintHorizontal_weight="1"
            app:layout_constraintStart_toEndOf="@id/ll_wechat_friend"
            app:layout_constraintTop_toTopOf="parent">
59 60 61 62

            <ImageView
                android:layout_width="40dp"
                android:layout_height="40dp"
63
                android:src="@drawable/icon_meditation_share_friends" />
64 65 66 67 68 69 70

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="12dp"
                android:text="朋友圈"
                android:textColor="#FF666666"
71
                android:textSize="14sp" />
72 73 74 75 76 77 78 79

        </LinearLayout>

        <LinearLayout
            android:id="@+id/ll_save_picture"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:gravity="center_horizontal"
80
            android:orientation="vertical"
81
            android:visibility="gone"
82
            app:layout_constraintEnd_toStartOf="@id/ll_qq_zone"
83 84 85
            app:layout_constraintHorizontal_weight="1"
            app:layout_constraintStart_toEndOf="@id/ll_wechat_circle_of_friends"
            app:layout_constraintTop_toTopOf="parent">
86 87 88 89

            <ImageView
                android:layout_width="40dp"
                android:layout_height="40dp"
90
                android:src="@drawable/icon_meditation_share_save" />
91 92 93 94 95 96 97

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="12dp"
                android:text="保存图片"
                android:textColor="#FF666666"
98
                android:textSize="14sp" />
99 100 101 102 103 104 105 106

        </LinearLayout>

        <LinearLayout
            android:id="@+id/ll_qq_zone"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:gravity="center_horizontal"
107 108 109
            android:orientation="vertical"
            app:layout_constraintEnd_toStartOf="@id/ll_qq_friend"
            app:layout_constraintHorizontal_weight="1"
110
            app:layout_constraintStart_toEndOf="@id/ll_save_picture"
111
            app:layout_constraintTop_toTopOf="parent">
112 113 114 115

            <ImageView
                android:layout_width="40dp"
                android:layout_height="40dp"
116
                android:src="@drawable/icon_meditation_share_qqzone" />
117 118 119 120 121 122 123

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="12dp"
                android:text="QQ空间"
                android:textColor="#FF666666"
124
                android:textSize="14sp" />
125 126 127 128 129 130 131 132

        </LinearLayout>

        <LinearLayout
            android:id="@+id/ll_qq_friend"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:gravity="center_horizontal"
133 134 135
            android:orientation="vertical"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintHorizontal_weight="1"
136
            app:layout_constraintStart_toEndOf="@id/ll_qq_zone"
137
            app:layout_constraintTop_toTopOf="parent">
138 139 140 141

            <ImageView
                android:layout_width="40dp"
                android:layout_height="40dp"
142
                android:src="@drawable/icon_meditation_share_qq" />
143 144 145 146 147 148 149

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="12dp"
                android:text="QQ好友"
                android:textColor="#FF666666"
150
                android:textSize="14sp" />
151 152 153 154 155 156 157 158 159 160 161

        </LinearLayout>

        <TextView
            android:id="@+id/tv_cancel_share"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="20dp"
            android:text="取消"
            android:textColor="#FF242424"
            android:textSize="16sp"
162
            app:layout_constraintBottom_toBottomOf="parent"
163
            app:layout_constraintEnd_toEndOf="parent"
164
            app:layout_constraintStart_toStartOf="parent" />
165 166 167 168

    </androidx.constraintlayout.widget.ConstraintLayout>

    <androidx.constraintlayout.widget.ConstraintLayout
169
        android:id="@+id/csl_layout_top"
170 171 172 173 174
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="20dp"
        android:layout_marginBottom="20dp"
        android:background="@drawable/bg_share_play_meditation_bottom"
175
        android:paddingBottom="18dp"
176
        android:visibility="gone"
177
        app:layout_constraintBottom_toTopOf="@id/csl_share_layout"
178
        app:layout_constraintEnd_toEndOf="parent"
179
        app:layout_constraintStart_toStartOf="parent">
180 181 182 183 184 185 186 187

        <ImageView
            android:id="@+id/iv_share_picture"
            android:layout_width="match_parent"
            android:layout_height="267dp"
            android:layout_margin="16dp"
            android:scaleType="centerCrop"
            app:layout_constraintEnd_toEndOf="parent"
188 189
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
190 191
            tools:src="@drawable/muse_muse_icon_playing"
            android:visibility="invisible"/>
192 193 194 195 196 197

        <TextView
            android:id="@+id/tv_share_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginHorizontal="24dp"
198
            android:layout_marginTop="18dp"
199
            android:visibility="invisible"
200
            tools:text='" 你一定要站在自己所热爱的世界里闪闪发光 "'
201 202 203
            android:textColor="#FF282E3F"
            android:textSize="18sp"
            android:textStyle="bold"
204
            app:layout_constraintEnd_toEndOf="parent"
205
            app:layout_constraintStart_toStartOf="parent"
206
            app:layout_constraintTop_toBottomOf="@id/iv_share_picture" />
207 208 209 210 211 212 213 214

        <ImageView
            android:id="@+id/iv_share_logo"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_marginStart="16dp"
            android:layout_marginTop="44dp"
            android:scaleType="centerCrop"
215
            android:src="@drawable/muse_muse_icon_playing"
216
            android:visibility="invisible"
217
            app:layout_constraintBottom_toBottomOf="parent"
218
            app:layout_constraintStart_toStartOf="parent"
219
            app:layout_constraintTop_toBottomOf="@id/tv_share_content" />
220 221 222 223 224 225 226 227 228 229

        <TextView
            android:id="@+id/tv_app_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="10dp"
            android:text="壹点灵"
            android:textColor="#FF282E3F"
            android:textSize="18sp"
            android:textStyle="bold"
230
            android:visibility="invisible"
231 232
            app:layout_constraintStart_toEndOf="@id/iv_share_logo"
            app:layout_constraintTop_toTopOf="@id/iv_share_logo" />
233 234 235 236 237 238 239 240

        <TextView
            android:id="@+id/tv_app_slogan"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="10dp"
            android:text="温暖而有力的爱着你"
            android:textColor="#FF999999"
241
            android:textSize="14sp"
242
            android:visibility="invisible"
243
            app:layout_constraintBottom_toBottomOf="@id/iv_share_logo"
244
            app:layout_constraintStart_toEndOf="@id/iv_share_logo" />
245 246 247 248 249 250 251

        <ImageView
            android:id="@+id/iv_share_qr_code"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_marginEnd="16dp"
            android:scaleType="centerCrop"
252
            android:visibility="invisible"
253
            android:src="@drawable/muse_muse_icon_playing"
254
            app:layout_constraintBottom_toBottomOf="@id/iv_share_logo"
255
            app:layout_constraintEnd_toEndOf="parent"
256
            app:layout_constraintTop_toTopOf="@id/iv_share_logo" />
257 258 259 260

    </androidx.constraintlayout.widget.ConstraintLayout>

</androidx.constraintlayout.widget.ConstraintLayout>