充电站充电桩保存到数据库
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
android:layout_marginLeft="18dp"
|
||||
android:layout_toRightOf="@id/tv_name"
|
||||
android:background="@color/white"
|
||||
android:hint="充电桩"
|
||||
android:text="充电桩"
|
||||
android:layout_toEndOf="@id/tv_name"
|
||||
android:textSize="15sp"
|
||||
android:textColor="#333" />
|
||||
@@ -419,7 +419,77 @@
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_scutcheon"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="#03A9F4"
|
||||
android:visibility="gone"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="10dp">
|
||||
<ImageView
|
||||
android:id="@+id/image_scutcheon"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="20dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:background="@drawable/equipsign"
|
||||
android:layout_height="20dp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
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_scutcheon"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/iv_scutcheon"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_device"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="#03A9F4"
|
||||
android:visibility="gone"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="10dp">
|
||||
<ImageView
|
||||
android:id="@+id/image_device"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="20dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:background="@drawable/equipsign"
|
||||
android:layout_height="20dp"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
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_device"
|
||||
/>
|
||||
<ImageView
|
||||
android:id="@+id/iv_device"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/linear_stake"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<ScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/scroller_view"
|
||||
@@ -455,12 +456,14 @@
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_03"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="03.添加"
|
||||
android:layout_margin="10dp"
|
||||
android:text="03.添加"
|
||||
app:layout_constraintBottom_toTopOf="@+id/recycler_station"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/linear_photograph" />
|
||||
|
||||
@@ -468,23 +471,31 @@
|
||||
android:id="@+id/recycler_station"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tv_03" />
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linear_charging_pile" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linear_charging_pile"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/underline"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/recycler_station">
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linear_photograph">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/plus" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/plus" />
|
||||
android:text="添加桩" />
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/tv_04"
|
||||
@@ -493,7 +504,7 @@
|
||||
android:text="04.描述"
|
||||
android:layout_margin="10dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/linear_charging_pile" />
|
||||
app:layout_constraintTop_toBottomOf="@id/recycler_station" />
|
||||
<LinearLayout
|
||||
android:id="@+id/linear_describe"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -2,13 +2,36 @@
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="120dp"
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_item"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_margin="10dp"
|
||||
android:background="#03A9F4"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="30dp"
|
||||
android:background="@drawable/chartall" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/image"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_margin="5dp"
|
||||
android:text="*充电桩"
|
||||
android:textColor="@color/pickerview_wheelview_textcolor_divider"
|
||||
android:textSize="8sp" />
|
||||
</RelativeLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user