53 lines
1.9 KiB
XML
53 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".crate">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@font/inter_bold"
|
|
android:textSize="20sp"
|
|
android:text="Корзина" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/inOrderList"
|
|
android:layout_width="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginBottom="90dp"
|
|
android:layout_gravity="bottom">
|
|
<TextView
|
|
android:id="@+id/sum_pizzas"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:layout_margin="15dp"
|
|
android:fontFamily="@font/inter_bold"
|
|
android:textSize="15sp"
|
|
android:text="0" />
|
|
<Button
|
|
android:id="@+id/button_buy"
|
|
android:layout_width="wrap_content"
|
|
android:backgroundTint="#BD350A"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="15dp"
|
|
android:layout_gravity="right"
|
|
android:text="Заказать" />
|
|
</LinearLayout>
|
|
</FrameLayout> |