其他逻辑处理
This commit is contained in:
@@ -20,13 +20,13 @@
|
||||
android:layout_margin="20dp"
|
||||
android:text="01.选择情报类型"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/rl_other"/>
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="150dp"
|
||||
android:layout_height="100dp"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tv_select_type"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_select_type">
|
||||
|
||||
@@ -36,24 +36,32 @@
|
||||
android:layout_margin="20dp"
|
||||
android:background="@drawable/other_text">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_down"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="下拉选择"
|
||||
android:textStyle="bold"
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinner_other"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_margin="2dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:background="@color/white"
|
||||
android:textColor="#333"
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/other_dawn"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/ic_arrow_down"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:background="@drawable/ic_baseline_arrow_drop"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
@@ -95,15 +103,20 @@
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/et_position"
|
||||
android:layout_width="230dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@null"
|
||||
android:paddingLeft="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tv_indeo"
|
||||
app:layout_constraintLeft_toRightOf="@id/tv_indeo"
|
||||
app:layout_constraintTop_toTopOf="@id/tv_indeo" />
|
||||
<CheckBox
|
||||
android:id="@+id/check_pot"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="20dp"
|
||||
android:background="@drawable/selector_change_bg"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="编辑"
|
||||
android:textSize="8sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_indeo"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_other_map"
|
||||
@@ -164,47 +177,70 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_other_picture">
|
||||
|
||||
<LinearLayout
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_picture"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_margin="10dp"
|
||||
android:background="#03A9F4"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
android:gravity="center">
|
||||
<ImageView
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:background="@drawable/plus" />
|
||||
|
||||
android:id="@+id/image_picture"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="40dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/plus"
|
||||
android:layout_height="40dp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*照片"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="照片"
|
||||
android:textSize="8sp"
|
||||
android:layout_margin="5dp"
|
||||
android:textColor="@color/pickerview_wheelview_textcolor_divider"
|
||||
android:layout_below="@id/image_picture"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/iv_picture"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_pictures"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_margin="10dp"
|
||||
android:background="#03A9F4"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
android:gravity="center">
|
||||
<ImageView
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:background="@drawable/plus" />
|
||||
|
||||
android:id="@+id/image_pictures"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="40dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@drawable/plus"
|
||||
android:layout_height="40dp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="*照片"
|
||||
android:textColor="@color/white" />
|
||||
|
||||
</LinearLayout>
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="照片"
|
||||
android:textSize="8sp"
|
||||
android:layout_margin="5dp"
|
||||
android:textColor="@color/pickerview_wheelview_textcolor_divider"
|
||||
android:layout_below="@id/image_pictures"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/iv_pictures"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user