From ae4dc86b64bd8ef85bc832106741fb98e8d516da Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 11 六月 2021 17:15:03 +0800
Subject: [PATCH] 特价完善

---
 app/src/main/res/layout/fragment_order_appeal.xml |  298 +++++++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 196 insertions(+), 102 deletions(-)

diff --git a/app/src/main/res/layout/fragment_order_appeal.xml b/app/src/main/res/layout/fragment_order_appeal.xml
index 13dd8d0..851e3e4 100644
--- a/app/src/main/res/layout/fragment_order_appeal.xml
+++ b/app/src/main/res/layout/fragment_order_appeal.xml
@@ -3,124 +3,218 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:background="@color/white"
+    android:gravity="center_horizontal"
     android:orientation="vertical">
 
-    <ScrollView
-        android:id="@+id/sv_content"
+
+    <LinearLayout
         android:layout_width="match_parent"
-        android:layout_height="match_parent">
+        android:layout_height="0dp"
+        android:layout_weight="1"
+        android:orientation="vertical">
+
+        <View
+            android:layout_width="match_parent"
+            android:layout_height="10dp"
+            android:background="@color/transparent" />
+
+        <include layout="@layout/item_yellow_notice" />
+
+
+        <com.wpc.library.widget.ResizableImageView
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginLeft="30dp"
+            android:layout_marginTop="-48dp"
+            android:layout_marginRight="30dp"
+            android:src="@drawable/ic_order_appeal_top" />
+
+        <TextView
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_gravity="center_horizontal"
+            android:layout_marginTop="-50dp"
+            android:text="璇烽�夋嫨璁㈠崟娓犻亾"
+            android:textColor="#4E9AFA"></TextView>
 
         <LinearLayout
+            android:id="@+id/ll_source"
             android:layout_width="match_parent"
-            android:layout_height="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginLeft="40dp"
+            android:layout_marginTop="10dp"
+            android:layout_marginRight="40dp"
+            android:background="@drawable/shape_find_order_source_bg"
+            android:orientation="vertical"
+            android:padding="18dp">
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content">
+
+                <CheckBox
+                    android:id="@+id/cb_tb"
+                    style="@style/findOrderSource"
+                    android:layout_height="match_parent"
+                    android:text="娣樺疂"></CheckBox>
+
+                <View
+                    android:layout_width="0dp"
+                    android:layout_height="1dp"
+                    android:layout_weight="1"></View>
+
+                <CheckBox
+                    android:id="@+id/cb_jd"
+                    style="@style/findOrderSource"
+                    android:text="浜笢"></CheckBox>
+
+                <View
+                    android:layout_width="0dp"
+                    android:layout_height="1dp"
+                    android:layout_weight="1"></View>
+
+                <CheckBox
+                    android:id="@+id/cb_pdd"
+                    style="@style/findOrderSource"
+                    android:text="鎷煎澶�"></CheckBox>
+
+            </LinearLayout>
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginTop="20dp">
+
+                <CheckBox
+                    android:id="@+id/cb_vip"
+                    style="@style/findOrderSource"
+                    android:text="鍞搧浼�"></CheckBox>
+
+                <View
+                    android:layout_width="0dp"
+                    android:layout_height="1dp"
+                    android:layout_weight="1"></View>
+
+                <CheckBox
+                    android:id="@+id/cb_suning"
+                    style="@style/findOrderSource"
+                    android:text="鑻忓畞"></CheckBox>
+
+                <View
+                    android:layout_width="0dp"
+                    android:layout_height="1dp"
+                    android:layout_weight="1"></View>
+
+                <CheckBox
+                    android:id="@+id/cb_elme"
+                    style="@style/findOrderSource"
+                    android:text="楗夸簡涔�"></CheckBox>
+
+            </LinearLayout>
+
+
+        </LinearLayout>
+
+        <androidx.appcompat.widget.LinearLayoutCompat
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginLeft="20dp"
+            android:layout_marginTop="40dp"
+            android:layout_marginRight="20dp"
+            android:gravity="center_horizontal"
             android:orientation="vertical">
 
-            <View
+            <EditText
+                android:id="@+id/et_order_id"
                 android:layout_width="match_parent"
-                android:layout_height="10dp"
-                android:background="@color/transparent" />
-
-            <include layout="@layout/item_yellow_notice" />
-
-            <com.wpc.library.widget.ResizableImageView
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginLeft="30dp"
-                android:layout_marginRight="30dp"
-                android:src="@drawable/ic_order_appeal_top" />
-
-            <androidx.appcompat.widget.LinearLayoutCompat
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginLeft="20dp"
-                android:layout_marginTop="40dp"
-                android:layout_marginRight="20dp"
-                android:gravity="center_horizontal"
-                android:orientation="vertical">
-
-                <EditText
-                    android:id="@+id/et_order_id"
-                    android:layout_width="match_parent"
-                    android:layout_height="45dp"
-                    android:layout_weight="8"
-                    android:background="@drawable/shape_find_order_input"
-                    android:digits="abcdefghijklmnopqrstuvwxyz1234567890-"
-                    android:focusable="false"
-                    android:focusableInTouchMode="true"
-                    android:gravity="center"
-                    android:hint="璇疯緭鍏ユ垨绮樿创璁㈠崟鍙�"
-                    android:inputType="phone"
-                    android:paddingStart="24dp"
-                    android:paddingLeft="8dp"
-                    android:paddingRight="8dp"
-                    android:textCursorDrawable="@drawable/shape_input_cursor"
-                    android:textColor="#999999"
-                    android:textSize="17sp" />
-
-                <TextView
-                    android:id="@+id/tv_refer_appeal"
-                    android:layout_width="wrap_content"
-                    android:layout_height="wrap_content"
-                    android:layout_marginTop="22.5dp"
-                    android:layout_weight="2"
-                    android:background="@drawable/shape_find_order_btn"
-                    android:gravity="center"
-                    android:text="鎻愪氦"
-                    android:textColor="@color/white"
-                    android:textSize="18sp" />
-            </androidx.appcompat.widget.LinearLayoutCompat>
+                android:layout_height="45dp"
+                android:layout_weight="8"
+                android:background="@drawable/shape_find_order_input"
+                android:digits="abcdefghijklmnopqrstuvwxyz1234567890-"
+                android:focusable="false"
+                android:focusableInTouchMode="true"
+                android:gravity="center"
+                android:hint="璇疯緭鍏ユ垨绮樿创璁㈠崟鍙�"
+                android:imeOptions="actionSend"
+                android:inputType="phone"
+                android:paddingStart="24dp"
+                android:paddingLeft="8dp"
+                android:paddingRight="8dp"
+                android:maxLines="1"
+                android:textColor="#999999"
+                android:textCursorDrawable="@drawable/shape_input_cursor"
+                android:textSize="17sp" />
 
 
-            <androidx.appcompat.widget.LinearLayoutCompat
-                android:layout_width="match_parent"
-                android:layout_height="30dp"
-                android:layout_marginLeft="30dp"
-                android:layout_marginTop="22dp"
-                android:layout_marginRight="30dp"
-                android:orientation="horizontal"
-                android:visibility="gone">
+        </androidx.appcompat.widget.LinearLayoutCompat>
 
-                <TextView
-                    android:id="@+id/tv_order_appeal_aout"
-                    android:layout_width="103dp"
-                    android:layout_height="match_parent"
-                    android:background="@drawable/shape_redsmall_bg3"
-                    android:gravity="center"
-                    android:text="鑷姩鎵惧洖"
-                    android:textColor="#ffe5005c"
-                    android:textSize="15sp"
-                    android:visibility="gone" />
 
-                <TextView
-                    android:id="@+id/tv_order_appeal_doubt"
-                    android:layout_width="match_parent"
-                    android:layout_height="match_parent"
-                    android:layout_marginRight="15dp"
-                    android:gravity="center_vertical|right"
-                    android:text="璁㈠崟鎵惧洖鏄粈涔�?"
-                    android:textColor="@color/theme"
-                    android:textSize="15sp" />
-            </androidx.appcompat.widget.LinearLayoutCompat>
+        <androidx.appcompat.widget.LinearLayoutCompat
+            android:layout_width="match_parent"
+            android:layout_height="30dp"
+            android:layout_marginLeft="30dp"
+            android:layout_marginTop="22dp"
+            android:layout_marginRight="30dp"
+            android:orientation="horizontal"
+            android:visibility="gone">
 
             <TextView
-                android:id="@+id/iv_order_coursetxt"
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:layout_gravity="center_horizontal"
-                android:layout_marginTop="50dp"
-                android:text="鎵嬫満娣樺疂涓鍒惰鍗曞彿鏁欑▼"
-                android:textColor="#ff333333"
-                android:textSize="17sp"
+                android:id="@+id/tv_order_appeal_aout"
+                android:layout_width="103dp"
+                android:layout_height="match_parent"
+                android:background="@drawable/shape_redsmall_bg3"
+                android:gravity="center"
+                android:text="鑷姩鎵惧洖"
+                android:textColor="#ffe5005c"
+                android:textSize="15sp"
                 android:visibility="gone" />
 
-            <com.wpc.library.widget.ResizableImageView
-                android:id="@+id/iv_order_course"
+            <TextView
+                android:id="@+id/tv_order_appeal_doubt"
                 android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginTop="35dp"
-                android:layout_marginBottom="106dp"
-                android:src="@drawable/ic_order_appeal_buttom"
-                android:visibility="gone" />
-        </LinearLayout>
-    </ScrollView>
+                android:layout_height="match_parent"
+                android:layout_marginRight="15dp"
+                android:gravity="center_vertical|right"
+                android:text="璁㈠崟鎵惧洖鏄粈涔�?"
+                android:textColor="@color/theme"
+                android:textSize="15sp" />
+        </androidx.appcompat.widget.LinearLayoutCompat>
+
+        <TextView
+            android:id="@+id/iv_order_coursetxt"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_gravity="center_horizontal"
+            android:layout_marginTop="50dp"
+            android:text="鎵嬫満娣樺疂涓鍒惰鍗曞彿鏁欑▼"
+            android:textColor="#ff333333"
+            android:textSize="17sp"
+            android:visibility="gone" />
+
+        <com.wpc.library.widget.ResizableImageView
+            android:id="@+id/iv_order_course"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginTop="35dp"
+            android:layout_marginBottom="106dp"
+            android:src="@drawable/ic_order_appeal_buttom"
+            android:visibility="gone" />
+
+
+    </LinearLayout>
+
+    <TextView
+        android:id="@+id/tv_refer_appeal"
+        android:layout_width="match_parent"
+        android:layout_height="45dp"
+        android:layout_marginLeft="20dp"
+        android:layout_marginTop="22.5dp"
+        android:layout_marginRight="20dp"
+        android:layout_marginBottom="20dp"
+        android:background="@drawable/shape_find_order_btn"
+        android:gravity="center"
+        android:text="鎻愪氦"
+        android:textColor="@color/white"
+        android:textSize="18sp" />
+
 </LinearLayout>
\ No newline at end of file

--
Gitblit v1.8.0