Commit ccae031697ef1d5cd4ddc157ee4ae5e37ac87f07

Authored by YangShuai
1 parent 634eb8a4

1 修改二维码邀请页展示样式

config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "0.1.7",
  24 + version: "0.1.8",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.module",
27 27 //Lib库名称
... ...
module_xiaojiaSoundBox/src/main/res/drawable-hdpi/bg_xiaojia_qrcode.png 0 → 100644

3.45 KB

module_xiaojiaSoundBox/src/main/res/drawable-xhdpi/bg_xiaojia_qrcode.png 0 → 100644

5.33 KB

module_xiaojiaSoundBox/src/main/res/drawable-xxhdpi/bg_xiaojia_qrcode.png 0 → 100644

9.51 KB

module_xiaojiaSoundBox/src/main/res/layout/fragment_invit_friend.xml
... ... @@ -56,38 +56,45 @@
56 56 <FrameLayout
57 57 android:layout_width="wrap_content"
58 58 android:layout_height="wrap_content"
59   - android:layout_gravity="center_horizontal">
60   -
61   - <ImageView
62   - android:id="@+id/iv_qrcode"
63   - android:layout_width="200dp"
64   - android:layout_height="200dp" />
65   -
66   - <LinearLayout
67   - android:id="@+id/ll_no_qrcode"
68   - android:layout_width="200dp"
69   - android:layout_height="200dp"
70   - android:background="#E1F9D7"
71   - android:gravity="center"
72   - android:orientation="vertical">
73   -
74   - <TextView
75   - android:layout_width="wrap_content"
76   - android:layout_height="wrap_content"
77   - android:text="选择家人角色"
78   - android:textColor="@color/color_199F18"
79   - android:textSize="18sp"
80   - android:textStyle="bold" />
81   -
82   - <TextView
83   - android:layout_width="wrap_content"
84   - android:layout_height="wrap_content"
85   - android:layout_marginTop="20dp"
86   - android:text="生成二维码"
87   - android:textColor="@color/color_199F18"
88   - android:textSize="18sp"
89   - android:textStyle="bold" />
90   - </LinearLayout>
  59 + android:layout_gravity="center_horizontal"
  60 + android:padding="5dp"
  61 + android:background="@drawable/bg_xiaojia_qrcode">
  62 +
  63 + <FrameLayout
  64 + android:layout_width="wrap_content"
  65 + android:layout_height="wrap_content">
  66 +
  67 + <ImageView
  68 + android:id="@+id/iv_qrcode"
  69 + android:layout_width="220dp"
  70 + android:layout_height="220dp" />
  71 +
  72 + <LinearLayout
  73 + android:id="@+id/ll_no_qrcode"
  74 + android:layout_width="220dp"
  75 + android:layout_height="220dp"
  76 + android:background="#E1F9D7"
  77 + android:gravity="center"
  78 + android:orientation="vertical">
  79 +
  80 + <TextView
  81 + android:layout_width="wrap_content"
  82 + android:layout_height="wrap_content"
  83 + android:text="选择家人角色"
  84 + android:textColor="@color/color_199F18"
  85 + android:textSize="18sp"
  86 + android:textStyle="bold" />
  87 +
  88 + <TextView
  89 + android:layout_width="wrap_content"
  90 + android:layout_height="wrap_content"
  91 + android:layout_marginTop="20dp"
  92 + android:text="生成二维码"
  93 + android:textColor="@color/color_199F18"
  94 + android:textSize="18sp"
  95 + android:textStyle="bold" />
  96 + </LinearLayout>
  97 + </FrameLayout>
91 98 </FrameLayout>
92 99 </LinearLayout>
93 100 <!--3-->
... ...
module_xiaojiaSoundBox/src/main/res/layout/fragment_select_im_friend.xml
... ... @@ -92,7 +92,7 @@
92 92 android:layout_marginTop="10dp"
93 93 android:layout_marginRight="30dp"
94 94 android:layout_marginBottom="20dp"
95   - android:background="@drawable/selector_xiaojia_btn_green"
  95 + android:background="@drawable/shape_xiaojia_btn_press"
96 96 android:text="下一步"
97 97 android:textColor="@color/white"
98 98 android:textSize="17sp"
... ...
module_xiaojiaSoundBox/src/main/res/values/colors.xml
... ... @@ -28,7 +28,7 @@
28 28 <color name="color_999999">#999999</color>
29 29 <color name="color_23D41E">#23D41E</color>
30 30 <color name="btn_green">#23D41E</color>
31   - <color name="btn_xiaojia_press">#D3D3D3</color>
  31 + <color name="btn_xiaojia_press">#80999999</color>
32 32 <color name="round_rectangle_press">#80CCCCCC</color>
33 33 <color name="color_C3C3C3">#C3C3C3</color>
34 34 <color name="color_F2F2F2">#F2F2F2</color>
... ...