修改了配色,添加了解除绑定提示
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#000000" /> <!-- 整体黑色背景 -->
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="#333333" /> <!-- 边框颜色和宽度 -->
|
||||
<corners android:radius="12dp" /> <!-- 圆角半径 -->
|
||||
</shape>
|
||||
+1
-1
@@ -4,5 +4,5 @@
|
||||
<corners android:radius="12dp" />
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="#887872" />
|
||||
android:color="#FFCC99" />
|
||||
</shape>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="6dp" />
|
||||
<solid android:color="#F0C8B4" />
|
||||
<solid android:color="#FFCC99" />
|
||||
</shape>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="12dp" />
|
||||
<!-- <solid android:color="#F3D2BD"/>-->
|
||||
<gradient
|
||||
android:endColor="#E5B79F"
|
||||
android:startColor="#F9DDC9" />
|
||||
<solid android:color="#FFCC99" />
|
||||
</shape>
|
||||
@@ -3,5 +3,5 @@
|
||||
<corners android:radius="12dp" />
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="#F0C8B4" />
|
||||
android:color="#FFCC99" />
|
||||
</shape>
|
||||
@@ -21,7 +21,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="手机后四位"
|
||||
android:textColor="#F0C8B4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="26sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="25dp"
|
||||
android:text="校验码"
|
||||
android:textColor="#F0C8B4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="26sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
android:layout_marginTop="40dp"
|
||||
android:padding="8dp"
|
||||
android:text="人脸识别"
|
||||
android:textColor="#887872"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="26sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
android:layout_marginTop="129dp"
|
||||
android:text="请正视屏幕"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="36sp" />
|
||||
|
||||
<LinearLayout
|
||||
@@ -69,7 +69,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="208dp"
|
||||
android:layout_marginTop="730dp"
|
||||
android:background="@drawable/btn_outline_887872"
|
||||
android:background="@drawable/btn_outline"
|
||||
android:gravity="center"
|
||||
android:paddingHorizontal="45dp"
|
||||
android:paddingVertical="18dp">
|
||||
@@ -78,7 +78,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="密码登录"
|
||||
android:textColor="#ff887872"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="24sp" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
android:padding="12dp"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="185dp"
|
||||
android:textColor="#F0C8B4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="36sp" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1024dp"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/dialogContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/bg_dialog"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="30dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_tip_warn_unbind" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_tip_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
tools:text="即将解除【曹德磊】的餐盘"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="28sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
android:text="解绑后该用户将无法使用餐盘柜"
|
||||
android:textColor="#ff999999"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:background="#ff333333" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="90dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cancel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="取消"
|
||||
android:textColor="#ff999999"
|
||||
android:textSize="30sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#333333" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_confirm"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="确定解绑"
|
||||
android:textColor="#ffffcc99"
|
||||
android:textSize="30sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@@ -14,7 +14,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="60dp"
|
||||
android:text="柜体编号"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#999999"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<TextView
|
||||
@@ -22,7 +22,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="36sp"
|
||||
android:textStyle="bold"
|
||||
tools:text="1-12" />
|
||||
@@ -43,7 +43,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="餐盘码"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="26sp" />
|
||||
|
||||
<Space
|
||||
@@ -55,7 +55,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="确认餐盘码是否有误"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#666666"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -72,11 +72,11 @@
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:hint="请录入餐盘码"
|
||||
android:inputType="number"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColorHint="#ff7c6d6a"
|
||||
android:maxLines="1"
|
||||
android:textColor="#FFCC99"
|
||||
android:textColorHint="#999999"
|
||||
android:textSize="26sp"
|
||||
android:textStyle="bold"
|
||||
tools:text="" />
|
||||
@@ -92,7 +92,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="会员"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="26sp" />
|
||||
|
||||
<Space
|
||||
@@ -104,7 +104,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="仅限VIP会员绑定,非VIP暂不支持"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#666666"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -117,17 +117,25 @@
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_user_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center"
|
||||
android:hint="请输入会员姓名或手机号"
|
||||
android:imeOptions="actionSearch"
|
||||
android:inputType="text"
|
||||
android:maxLines="1"
|
||||
android:textColor="#F0C8B4"
|
||||
android:textColorHint="#ff7c6d6a"
|
||||
android:textColor="#FFCC99"
|
||||
android:textColorHint="#999999"
|
||||
android:textSize="26sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_search"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="24dp"
|
||||
android:src="@drawable/ic_search" />
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
@@ -150,7 +158,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="绑定开门"
|
||||
android:textColor="#ff11111c"
|
||||
android:textColor="#11111C"
|
||||
android:textSize="30sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
@@ -162,6 +170,6 @@
|
||||
android:layout_marginTop="46dp"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:text="返回"
|
||||
android:textColor="#ff887872"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="26sp" />
|
||||
</LinearLayout>
|
||||
@@ -18,7 +18,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="48dp"
|
||||
android:text="餐盘柜已满"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="36sp" />
|
||||
|
||||
<TextView
|
||||
@@ -27,7 +27,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:text="3秒后返回主屏"
|
||||
android:textColor="#ff887872"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="20sp" />
|
||||
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
android:layout_marginHorizontal="20dp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textColor="#ff887872"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<TextView
|
||||
@@ -60,7 +60,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="34dp"
|
||||
android:text="3"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="36sp" />
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="25dp"
|
||||
android:text="柜体编号"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#999999"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<TextView
|
||||
@@ -30,7 +30,7 @@
|
||||
android:layout_marginTop="23dp"
|
||||
tools:text="1-12"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="36sp" />
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="餐盘码"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#999999"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<Space
|
||||
@@ -66,7 +66,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="100888"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
@@ -88,7 +88,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="姓名"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#999999"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<Space
|
||||
@@ -101,7 +101,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="曹*磊"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
@@ -123,7 +123,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="手机号"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#999999"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<Space
|
||||
@@ -136,7 +136,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="138****8000"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
@@ -157,7 +157,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="最近使用"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#999999"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<Space
|
||||
@@ -170,7 +170,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="14天前使用"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
@@ -188,7 +188,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="解除绑定"
|
||||
android:textColor="#ff11111c"
|
||||
android:textColor="#11111C"
|
||||
android:textSize="30sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
@@ -200,6 +200,6 @@
|
||||
android:layout_marginTop="48dp"
|
||||
android:paddingHorizontal="20dp"
|
||||
android:text="返回"
|
||||
android:textColor="#ff887872"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="26sp" />
|
||||
</LinearLayout>
|
||||
@@ -16,7 +16,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:text="02"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_weight="1"
|
||||
android:text="未绑定"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:visibility="gone" />
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="马*飞(8000)"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="26sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="138****8000"
|
||||
android:textColor="#ff7c6d6a"
|
||||
android:textColor="#999999"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
@@ -12,7 +12,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingTop="20dp"
|
||||
android:textColor="#F0C8B4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
@@ -24,7 +24,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingTop="20dp"
|
||||
android:textColor="#F0C8B4"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/tvLeftDate"
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
<color name="bind_4E535D">#4E535D</color>
|
||||
<color name="bind_585868">#585868</color>
|
||||
<color name="bind_time_old">#FF9632</color>
|
||||
<color name="bind_F0C8B4">#F0C8B4</color>
|
||||
<color name="unbind_F0C8B4">#F0C8B4</color>
|
||||
<color name="bind_FFCC99">#FFCC99</color>
|
||||
<color name="unbind_FFCC99">#FFCC99</color>
|
||||
<color name="unbind_32283C">#32283C</color>
|
||||
|
||||
<color name="divColor">#4c91ceff</color>
|
||||
<color name="tip_title_success">#ff02f1be</color>
|
||||
<color name="tip_title_fail">#FF9933</color>
|
||||
<color name="tip_sub_title">#887872</color>
|
||||
<color name="tip_title_fail">#FFCC99</color>
|
||||
<color name="tip_sub_title">#FFCC99</color>
|
||||
</resources>
|
||||
@@ -22,4 +22,14 @@
|
||||
<item name="windowActionBar">false</item>
|
||||
</style>
|
||||
|
||||
<style name="DialogActivityTheme" parent="Theme.AppCompat.Dialog">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
<!--取消默认的居中-->
|
||||
<item name="android:windowIsFloating">false</item>
|
||||
<item name="android:windowBackground">#BF000000</item>
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
<!--触摸外部关闭-->
|
||||
<item name="android:windowCloseOnTouchOutside">false</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user