lmw
2023-06-20 7e4a923b472a1ffb9d6deeb80302551ba4178ca3
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:background="@color/white"
    android:layout_height="match_parent">
 
    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:orientation="vertical"
        android:layout_marginHorizontal="23dp"
        android:background="@drawable/bg_qr_code"
        android:gravity="center_horizontal"
        android:layout_marginTop="13dp"
        android:paddingTop="35dp"
        android:layout_height="wrap_content">
 
        <com.facebook.drawee.view.SimpleDraweeView
            android:id="@+id/iv_code"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            app:layout_constraintDimensionRatio="1:1"
            app:layout_constraintTop_toTopOf="parent"
            android:layout_marginHorizontal="35dp"/>
 
        <TextView
            android:layout_width="match_parent"
            android:gravity="center"
            android:layout_marginTop="12dp"
            android:layout_marginBottom="35dp"
            android:layout_height="wrap_content"
            android:text="芳华代驾,扫码下单"
            android:textColor="@color/blue"
            app:layout_constraintTop_toBottomOf="@id/iv_code"
            app:layout_constraintBottom_toBottomOf="parent"
            android:textSize="16sp"
            android:textStyle="bold"/>
 
    </androidx.constraintlayout.widget.ConstraintLayout>
 
</LinearLayout>