|
|
@@ -5,93 +5,364 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/colorPrimary"
|
|
|
android:fitsSystemWindows="true"
|
|
|
- android:orientation="vertical"
|
|
|
android:focusable="true"
|
|
|
- android:focusableInTouchMode="true">
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="vertical">
|
|
|
<!--启用深色模式之后,需要使用fitsSystemWindows来不让布局上滑-->
|
|
|
|
|
|
<include layout="@layout/view_toolbar" />
|
|
|
<!--阴影效果android:background="?android:attr/listDivider"-->
|
|
|
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:layout_marginEnd="@dimen/margin_default"
|
|
|
- android:layout_marginTop="@dimen/margin_default"
|
|
|
- android:hint="请输入邮箱"
|
|
|
- app:boxBackgroundMode="outline"
|
|
|
- app:boxCornerRadiusBottomEnd="4dp"
|
|
|
- app:boxCornerRadiusBottomStart="4dp"
|
|
|
- app:boxCornerRadiusTopEnd="4dp"
|
|
|
- app:boxCornerRadiusTopStart="4dp"
|
|
|
- app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
- app:boxStrokeWidthFocused="@dimen/width_stroke"
|
|
|
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_email"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textSize="@dimen/text_normal_s"
|
|
|
- android:inputType="textEmailAddress"
|
|
|
- android:maxLength="50"/>
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="商品标题[必填]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
|
|
|
- <com.google.android.material.textfield.TextInputLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:layout_marginEnd="@dimen/margin_default"
|
|
|
- android:layout_marginTop="@dimen/margin_default"
|
|
|
- android:hint="请输入密码"
|
|
|
- app:boxBackgroundMode="outline"
|
|
|
- app:boxCornerRadiusBottomEnd="4dp"
|
|
|
- app:boxCornerRadiusBottomStart="4dp"
|
|
|
- app:boxCornerRadiusTopEnd="4dp"
|
|
|
- app:boxCornerRadiusTopStart="4dp"
|
|
|
- app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
- app:boxStrokeWidthFocused="@dimen/width_stroke"
|
|
|
- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/et_password"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:inputType="textPassword"
|
|
|
- android:maxLength="20"
|
|
|
- android:textSize="@dimen/text_normal_s"/>
|
|
|
-
|
|
|
- </com.google.android.material.textfield.TextInputLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_forget"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/margin_message"
|
|
|
- android:layout_marginEnd="@dimen/margin_default"
|
|
|
- android:text="忘记密码"
|
|
|
- android:textColor="@color/gray_hint"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textSize="@dimen/text_s"
|
|
|
- android:background="?attr/selectableItemBackground"
|
|
|
- android:layout_gravity="end"/>
|
|
|
-
|
|
|
- <android.widget.Button
|
|
|
- android:id="@+id/btn_login"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:minHeight="0dp"
|
|
|
- android:layout_marginTop="@dimen/margin_message"
|
|
|
- android:layout_marginStart="@dimen/margin_default"
|
|
|
- android:layout_marginEnd="@dimen/margin_default"
|
|
|
- android:paddingTop="@dimen/padding_full_width"
|
|
|
- android:paddingBottom="@dimen/padding_full_width"
|
|
|
- android:text="立即登录 购物返利"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textStyle="bold"
|
|
|
- android:background="@drawable/selector_btn"
|
|
|
- style="?android:attr/borderlessButtonStyle"/>
|
|
|
-
|
|
|
-</LinearLayout>
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_goods_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="封面URL[必填]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_cover_url"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="描述[可选]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_desc"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="一句话推荐[必填]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_reason"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="原价[单位:分,必填]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_old_price"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:inputType="number"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="展示出来的现价[单位:分,原价-(原价-真现价)/2]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_now_price"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:inputType="number"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="卖家所在省份[可选]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_province"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="商家名称[必填]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_shop_name"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="优惠券信息"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_coupon"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="商品推广URL[必填]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_goods_url"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="月销量[单位:件,必填]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_sales_per_month"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:inputType="number"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="好评率[小数,必填]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_good_comment_percent"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789."
|
|
|
+ android:inputType="numberDecimal"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
+ android:hint="评论条数[可选]"
|
|
|
+ app:boxBackgroundMode="outline"
|
|
|
+ app:boxCornerRadiusBottomEnd="4dp"
|
|
|
+ app:boxCornerRadiusBottomStart="4dp"
|
|
|
+ app:boxCornerRadiusTopEnd="4dp"
|
|
|
+ app:boxCornerRadiusTopStart="4dp"
|
|
|
+ app:boxStrokeWidth="@dimen/width_stroke"
|
|
|
+ app:boxStrokeWidthFocused="@dimen/width_stroke">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/et_comment_num"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:digits="0123456789"
|
|
|
+ android:inputType="number"
|
|
|
+ android:textSize="@dimen/text_normal_s" />
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/cb_self"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
+ android:text="自营商品" />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/cb_enable"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
+ android:text="是否生效" />
|
|
|
+
|
|
|
+ <android.widget.Button
|
|
|
+ android:id="@+id/btn_add_goods"
|
|
|
+ style="?android:attr/borderlessButtonStyle"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="@dimen/margin_default"
|
|
|
+ android:background="@drawable/selector_btn"
|
|
|
+ android:minHeight="0dp"
|
|
|
+ android:paddingTop="@dimen/padding_full_width"
|
|
|
+ android:paddingBottom="@dimen/padding_full_width"
|
|
|
+ android:text="立即添加"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
+</LinearLayout>
|