|
|
@@ -7,54 +7,195 @@
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="322dp"
|
|
|
- android:layout_height="245dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:background="@drawable/corners_gray_f5_5dp"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_x"
|
|
|
- android:layout_width="11dp"
|
|
|
- android:layout_height="11dp"
|
|
|
+ <View
|
|
|
+ android:id="@+id/v_close"
|
|
|
+ android:layout_width="12dp"
|
|
|
+ android:layout_height="12dp"
|
|
|
android:layout_alignParentRight="true"
|
|
|
- android:layout_marginTop="15dp"
|
|
|
- android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:layout_marginRight="14dp"
|
|
|
android:background="@mipmap/ic_dialog_dismiss" />
|
|
|
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="29dp"
|
|
|
- android:gravity="center"
|
|
|
- android:singleLine="true"
|
|
|
- android:text="@string/mine_light"
|
|
|
- android:textColor="@color/text_black"
|
|
|
- android:textSize="@dimen/px54_18sp" />
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/et_content"
|
|
|
- android:layout_width="293dp"
|
|
|
- android:layout_height="108dp"
|
|
|
- android:layout_below="@id/tv_title"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="14dp"
|
|
|
- android:background="@drawable/corners_stork_gray_dd_5dp"
|
|
|
- android:gravity="left"
|
|
|
- android:hint="@string/hint_mine_light"
|
|
|
- android:lineSpacingExtra="5dp"
|
|
|
- android:padding="15dp"
|
|
|
- android:textColor="@color/text_black"
|
|
|
- android:textColorHint="@color/text_gray_88"
|
|
|
- android:textSize="@dimen/px45_15sp" />
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_marginTop="29dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="@string/tips"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px54_18sp" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_information"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="42dp"
|
|
|
+ android:layout_marginLeft="29dp"
|
|
|
+ android:layout_marginRight="29dp"
|
|
|
+ android:layout_marginBottom="14dp"
|
|
|
+ android:lineSpacingExtra="3dp"
|
|
|
+ android:text="@string/my_light_tips"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px36_12sp" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_name"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="42dp"
|
|
|
+ android:layout_marginLeft="14dp"
|
|
|
+ android:layout_marginRight="14dp"
|
|
|
+ android:background="@drawable/corners_stork_gray_dd_5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingLeft="14dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/name_title"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px39_13sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_name"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:hint="@string/please_input"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textColorHint="@color/text_gray_88"
|
|
|
+ android:textSize="@dimen/px39_13sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_name_error"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:layout_marginLeft="29dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="@string/error_toast"
|
|
|
+ android:textColor="@color/text_red_d1"
|
|
|
+ android:textSize="@dimen/px36_12sp"
|
|
|
+ android:visibility="invisible" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_id"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="42dp"
|
|
|
+ android:layout_marginLeft="14dp"
|
|
|
+ android:layout_marginRight="14dp"
|
|
|
+ android:background="@drawable/corners_stork_gray_dd_5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingLeft="14dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/id_title"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px39_13sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_id"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:maxLength="18"
|
|
|
+ android:hint="@string/please_input"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textColorHint="@color/text_gray_88"
|
|
|
+ android:textSize="@dimen/px39_13sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_id_error"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:layout_marginLeft="29dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="@string/error_toast"
|
|
|
+ android:textColor="@color/text_red_d1"
|
|
|
+ android:textSize="@dimen/px36_12sp"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="85dp"
|
|
|
+ android:layout_marginLeft="14dp"
|
|
|
+ android:layout_marginRight="14dp"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:background="@drawable/corners_stork_gray_dd_5dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingLeft="14dp"
|
|
|
+ android:paddingTop="12dp"
|
|
|
+ android:paddingRight="14dp"
|
|
|
+ android:paddingBottom="12dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/my_light_title"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px39_13sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ android:gravity="left"
|
|
|
+ android:hint="@string/hint_mine_light"
|
|
|
+ android:lineSpacingExtra="5dp"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textColorHint="@color/text_gray_88"
|
|
|
+ android:textSize="@dimen/px39_13sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|