Manage address function + improve performance app

This commit is contained in:
Nezumi
2023-03-20 16:24:43 +07:00
parent 30b4e9338c
commit 7df8e7dd4f
15 changed files with 326 additions and 130 deletions
@@ -111,22 +111,12 @@
>
<ImageView
android:src="@drawable/baseline_edit_24"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.5"
android:layout_gravity="center_vertical"
android:id="@+id/edit_button"
/>
<ImageView
android:id="@+id/delete_button"
android:src="@drawable/baseline_delete_24"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="0.5"
/>
android:src="@drawable/baseline_edit_24" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
+15 -2
View File
@@ -38,8 +38,8 @@
android:id="@+id/linearLayout_district_ward"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginRight="10dp"
android:layout_marginLeft="10dp"
android:layout_marginEnd="10dp"
android:layout_marginStart="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInput_address"
@@ -84,6 +84,19 @@
android:visibility="gone"
/>
<CheckBox
android:id="@+id/checkbox_default_address"
android:text="Đặt làm địa chỉ mặc định"
android:fontFamily="@font/opensans"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginStart="10dp"
android:buttonTint="@color/primaryColor"
app:layout_constraintTop_toBottomOf="@id/errorTextDistrictWard"
app:layout_constraintStart_toStartOf="parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout