Completato dialog scan or create UL per la rettifica giacenze

This commit is contained in:
2018-11-29 11:42:13 +01:00
parent 07ae8fc605
commit 7207b83f39
11 changed files with 389 additions and 16 deletions

View File

@@ -26,8 +26,7 @@
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintWidth_percent="0.3">
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<layout>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_margin="16dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="10">
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<android.support.v7.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginStart="8dp"
android:layout_marginEnd="12dp"
android:layout_gravity="center_vertical"
android:gravity="center_horizontal"
android:text="Scansiona il codice a barre di una UL"/>
</LinearLayout>
<android.support.v7.widget.AppCompatTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="12dp"
android:textSize="16sp"
android:textStyle="bold"
android:layout_gravity="center_vertical"
android:text="OPPURE"
tools:text="OPPURE"/>
<android.support.v7.widget.AppCompatButton
android:id="@+id/create_new_lu_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="Crea nuova UL"
android:textStyle="bold"
android:textColor="@android:color/white"
android:backgroundTint="@color/blue_700"/>
</LinearLayout>
</android.support.v7.widget.CardView>
</layout>

View File

@@ -12,6 +12,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
tools:context=".gest.vendita.MainVenditaFragment">
<RelativeLayout