Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <include layout="@layout/toolbar_layout" />
- <android.support.v7.widget.RecyclerView
- android:id="@+id/recyclerViewCart"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom" //----> not working
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_margin="20dp"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/total"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/textViewTotalPrice"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="$23.00" />
- </LinearLayout>
- <Button
- android:id="@+id/buttonCheckout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginEnd="20dp"
- android:layout_weight="1"
- android:background="@color/colorPrimary"
- android:drawableEnd="@drawable/ic_arrow_forward"
- android:paddingEnd="15dp"
- android:text="@string/checkout"
- android:textColor="@color/white" />
- </LinearLayout>
Add Comment
Please, Sign In to add comment