summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_products.xml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-01-27 17:23:30 -0300
committerTorsten Grote <t@grobox.de>2020-01-30 15:03:38 -0300
commit7d299bf8358c854987aab61d139ca74c83079d17 (patch)
treeb9dcae61779a808a3b0871b76dd9be6c42ba5323 /app/src/main/res/layout/fragment_products.xml
parent8080e4b4e96655c79fda8cf1bc9b4d8f084dec00 (diff)
downloadmerchant-terminal-android-7d299bf8358c854987aab61d139ca74c83079d17.tar.gz
merchant-terminal-android-7d299bf8358c854987aab61d139ca74c83079d17.tar.bz2
merchant-terminal-android-7d299bf8358c854987aab61d139ca74c83079d17.zip
Add screen to process an order
Diffstat (limited to 'app/src/main/res/layout/fragment_products.xml')
-rw-r--r--app/src/main/res/layout/fragment_products.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_products.xml b/app/src/main/res/layout/fragment_products.xml
new file mode 100644
index 0000000..909fece
--- /dev/null
+++ b/app/src/main/res/layout/fragment_products.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_height="match_parent">
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/productsList"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ tools:listitem="@layout/list_item_product" />
+
+ <ProgressBar
+ android:id="@+id/progressBar"
+ style="?android:attr/progressBarStyleLarge"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>