mirror of
https://github.com/Nezumi-2711/Foodify.git
synced 2026-09-22 20:00:50 +00:00
Manage address function + improve performance app
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user