|
@@ -25,14 +25,10 @@
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
android:id="@+id/photo_iv"
|
|
android:id="@+id/photo_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
|
|
+ android:layout_width="260dp"
|
|
|
|
|
+ android:layout_height="260dp"
|
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginBottom="8dp"
|
|
|
-
|
|
|
|
|
- android:layout_marginLeft="32dp"
|
|
|
|
|
- android:layout_marginRight="32dp"
|
|
|
|
|
-
|
|
|
|
|
- android:layout_marginTop="20dp"
|
|
|
|
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
android:background="@drawable/black_border"
|
|
android:background="@drawable/black_border"
|
|
|
android:padding="0.1dp"
|
|
android:padding="0.1dp"
|
|
|
android:scaleType="centerCrop"
|
|
android:scaleType="centerCrop"
|
|
@@ -71,53 +67,50 @@
|
|
|
android:id="@+id/barcode_tv"
|
|
android:id="@+id/barcode_tv"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="24dp"
|
|
|
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
android:text="Model:"
|
|
android:text="Model:"
|
|
|
android:textAllCaps="false"
|
|
android:textAllCaps="false"
|
|
|
android:textSize="17sp"
|
|
android:textSize="17sp"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/note_et"
|
|
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/note_et" />
|
|
|
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/note_et"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/photo_iv"/>
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/barcode_et"
|
|
android:id="@+id/barcode_et"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginLeft="8dp"
|
|
|
android:layout_marginRight="8dp"
|
|
android:layout_marginRight="8dp"
|
|
|
- android:layout_marginStart="1dp"
|
|
|
|
|
- android:layout_marginTop="0dp"
|
|
|
|
|
android:background="@null"
|
|
android:background="@null"
|
|
|
|
|
+ android:editable="false"
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
android:inputType="none"
|
|
android:inputType="none"
|
|
|
- android:editable="false"
|
|
|
|
|
android:textSize="17sp"
|
|
android:textSize="17sp"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/barcode_tv"
|
|
app:layout_constraintBottom_toBottomOf="@+id/barcode_tv"
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/barcode_tv"
|
|
app:layout_constraintLeft_toRightOf="@+id/barcode_tv"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/btn_type"
|
|
app:layout_constraintRight_toLeftOf="@+id/btn_type"
|
|
|
app:layout_constraintTop_toTopOf="@+id/barcode_tv"
|
|
app:layout_constraintTop_toTopOf="@+id/barcode_tv"
|
|
|
- app:layout_constraintVertical_bias="0.482" />
|
|
|
|
|
|
|
+ app:layout_constraintVertical_bias="0.482"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/note_et"
|
|
android:id="@+id/note_et"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="48dp"
|
|
android:layout_height="48dp"
|
|
|
- android:layout_marginBottom="16dp"
|
|
|
|
|
android:layout_marginLeft="48dp"
|
|
android:layout_marginLeft="48dp"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
android:layout_marginRight="48dp"
|
|
android:layout_marginRight="48dp"
|
|
|
android:background="@drawable/black_border"
|
|
android:background="@drawable/black_border"
|
|
|
android:gravity="left"
|
|
android:gravity="left"
|
|
|
- android:inputType="textMultiLine"
|
|
|
|
|
android:hint="Note:"
|
|
android:hint="Note:"
|
|
|
|
|
+ android:inputType="textMultiLine"
|
|
|
android:textColor="#000000"
|
|
android:textColor="#000000"
|
|
|
android:textSize="15sp"
|
|
android:textSize="15sp"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/camera_btn"
|
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent" />
|
|
|
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/btn_type"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
<ImageButton
|
|
|
android:id="@+id/upload_btn"
|
|
android:id="@+id/upload_btn"
|