ソースを参照

1.添加直播统计是和否接口

王鹏鹏 2 年 前
コミット
64444c8038
1 ファイル変更17 行追加17 行削除
  1. 17 17
      tuichat/src/main/res/layout/chat_layout.xml

+ 17 - 17
tuichat/src/main/res/layout/chat_layout.xml

@@ -67,10 +67,9 @@
                 android:layout_height="wrap_content"
                 android:layout_above="@+id/chat_input_layout"
                 android:layout_alignParentEnd="true"
-                android:layout_alignParentRight="true"
                 android:layout_marginEnd="@dimen/btn_margin_right"
-                android:layout_marginRight="@dimen/btn_margin_right"
                 android:layout_marginBottom="@dimen/btn_margin_right"
+                android:visibility="gone"
                 app:cardCornerRadius="4dp"
                 app:cardElevation="6dp"
                 app:cardUseCompatPadding="true">
@@ -82,9 +81,9 @@
                     android:background="#FFFFFF"
                     android:gravity="center"
                     android:orientation="horizontal"
-                    android:paddingLeft="10.08dp"
+                    android:paddingStart="10.08dp"
                     android:paddingTop="9.12dp"
-                    android:paddingRight="9.6dp"
+                    android:paddingEnd="9.6dp"
                     android:paddingBottom="8.64dp"
                     android:visibility="visible">
 
@@ -110,38 +109,39 @@
                 </LinearLayout>
             </androidx.cardview.widget.CardView>
 
-            <RelativeLayout
+            <androidx.cardview.widget.CardView
                 android:id="@+id/voice_recording_view"
-                android:layout_width="150dp"
-                android:layout_height="150dp"
+                android:layout_width="@dimen/divider_430px"
+                android:layout_height="@dimen/divider_320px"
                 android:layout_centerInParent="true"
-                android:background="@drawable/ic_volume_dialog_bg"
-                android:visibility="gone">
+                android:visibility="gone"
+                app:cardCornerRadius="@dimen/divider_30px">
 
                 <LinearLayout
                     android:layout_width="match_parent"
                     android:layout_height="match_parent"
                     android:layout_centerInParent="true"
+                    android:background="@drawable/ic_volume_dialog_bg"
                     android:gravity="center_horizontal"
                     android:orientation="vertical">
 
-
                     <ImageView
                         android:id="@+id/recording_icon"
-                        android:layout_width="match_parent"
-                        android:layout_height="100dp"
-                        android:layout_marginTop="10dp" />
-
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="@dimen/divider_62px"
+                        android:scaleType="centerInside" />
 
                     <TextView
                         android:id="@+id/recording_tips"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
-                        android:layout_marginTop="10dp"
-                        android:textSize="12sp" />
+                        android:layout_marginTop="@dimen/divider_48px"
+                        android:textColor="@android:color/white"
+                        android:textSize="@dimen/divider_32px" />
 
                 </LinearLayout>
-            </RelativeLayout>
+            </androidx.cardview.widget.CardView>
         </RelativeLayout>
     </androidx.cardview.widget.CardView>
 </RelativeLayout>