Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save laurentyhuel/cef48966e0b840cf0a9d676afbdfcaa8 to your computer and use it in GitHub Desktop.
Save laurentyhuel/cef48966e0b840cf0a9d676afbdfcaa8 to your computer and use it in GitHub Desktop.
2x screen : full layout
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<ViewFlipper
android:id="@+id/viewFlipper"
android:theme="@style/IO">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/presentation_image"
app:srcCompat="@drawable/logo_innovorder_inline"/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/empty_cart_text"
android:text="@string/order_cart_empty" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/empty_cart_image"
app:srcCompat="@drawable/cart_empty" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/order_summary_ordered_items" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/confirm_print_receipt_title"
android:text="@string/presentation_confirm_print_receipt_title" />
<com.google.android.material.button.MaterialButton
android:id="@+id/confirm_print_receipt_action_cancel"
android:text="@string/presentation_confirm_print_receipt_not_print" />
<com.google.android.material.button.MaterialButton
android:id="@+id/confirm_print_receipt_action"
android:text="@string/presentation_confirm_print_receipt_print" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ViewFlipper>
</layout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment