其他逻辑处理
This commit is contained in:
@@ -120,7 +120,81 @@
|
||||
android:layout_margin="10dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/linear_name" />
|
||||
<RadioGroup
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_charging"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:padding="2dp"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/underline"
|
||||
app:layout_constraintTop_toBottomOf="@id/text"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
<CheckBox
|
||||
android:id="@+id/check_button1"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="对所有车辆开放"
|
||||
/>
|
||||
<CheckBox
|
||||
android:id="@+id/check_button2"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="对环卫车开放"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
<CheckBox
|
||||
android:id="@+id/check_button3"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="对公交车开放"
|
||||
/>
|
||||
<CheckBox
|
||||
android:id="@+id/check_button4"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="对出租车开放"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginBottom="10dp"
|
||||
>
|
||||
<CheckBox
|
||||
android:id="@+id/check_button5"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="80dp"
|
||||
android:text="对除环卫,公交,出租,品牌,之外的其他 特种车辆开放"
|
||||
/>
|
||||
<CheckBox
|
||||
android:id="@+id/check_button6"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="对某品牌汽车开放"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<!-- <RadioGroup
|
||||
android:id="@+id/radio_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@@ -169,7 +243,7 @@
|
||||
android:text="对某品牌汽车开放"
|
||||
/>
|
||||
|
||||
</RadioGroup>
|
||||
</RadioGroup>-->
|
||||
<RelativeLayout
|
||||
android:id="@+id/linear_type"
|
||||
android:layout_width="match_parent"
|
||||
@@ -177,7 +251,7 @@
|
||||
android:layout_margin="10dp"
|
||||
android:padding="2dp"
|
||||
android:background="@drawable/underline"
|
||||
app:layout_constraintTop_toBottomOf="@id/radio_group"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_charging"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
<TextView
|
||||
@@ -311,7 +385,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="2dp"
|
||||
android:background="@drawable/underline"
|
||||
app:layout_constraintTop_toBottomOf="@id/radio_group"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
<TextView
|
||||
@@ -497,7 +570,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="2dp"
|
||||
android:background="@drawable/underline"
|
||||
app:layout_constraintTop_toBottomOf="@id/radio_group"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
<TextView
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
android:background="@drawable/chartall" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/image"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_other_final"
|
||||
android:id="@+id/iv_final"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="45dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
|
||||
@@ -389,7 +389,7 @@
|
||||
android:id="@+id/tv_03"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="02拍照"
|
||||
android:text="03描述"
|
||||
android:layout_margin="10dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/linear_photograph" />
|
||||
|
||||
Reference in New Issue
Block a user