Modificate le stampanti delle gestioni. Creato layout con shortcut in HomePage.
323 lines
15 KiB
XML
323 lines
15 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"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".gest.main.MainFragment"
|
|
android:background="@color/full_white">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<net.cachapa.expandablelayout.ExpandableLayout
|
|
android:id="@+id/no_connection_top_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/gray_detail_background"
|
|
app:el_duration="400"
|
|
app:el_expanded="false">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="12dp"
|
|
android:paddingLeft="8dp"
|
|
android:background="@color/red_600">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/white"
|
|
android:text="NESSUNA CONNESSIONE DISPONIBILE, RIPROVA"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</net.cachapa.expandablelayout.ExpandableLayout>
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
app:cardBackgroundColor="@android:color/white"
|
|
app:cardCornerRadius="4dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:textColor="@android:color/black"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Informazioni generali"
|
|
android:textAllCaps="true"
|
|
android:textStyle="bold"/>
|
|
|
|
<LinearLayout
|
|
android:padding="15dp"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
android:id="@+id/guideline_username"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
app:layout_constraintGuide_percent="0.40"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:text="Utente corrente"
|
|
android:textColor="@android:color/black"
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/current_user_name"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="0dp"
|
|
android:layout_marginStart="0dp"
|
|
android:text="N/A"
|
|
android:textSize="16sp"
|
|
app:layout_constraintStart_toStartOf="@+id/guideline_username"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
android:id="@+id/guideline1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
app:layout_constraintGuide_percent="0.40"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:text="Segnale WI-FI"
|
|
android:textColor="@android:color/black"
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/wifi_power"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="0dp"
|
|
android:layout_marginStart="0dp"
|
|
android:text="N/A"
|
|
android:textSize="16sp"
|
|
app:layout_constraintStart_toStartOf="@+id/guideline1"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
app:cardBackgroundColor="@android:color/white"
|
|
app:cardCornerRadius="4dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:textColor="@android:color/black"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Azioni rapide"
|
|
android:textAllCaps="true"
|
|
android:textStyle="bold"/>
|
|
|
|
<LinearLayout
|
|
android:layout_margin="15dp"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fast_button_accettazione"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.5"
|
|
android:gravity="center">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:layout_margin="8dp"
|
|
android:background="@android:color/white"
|
|
android:src="@drawable/ic_download_black_24dp"
|
|
android:tint="@color/mainGreen" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Accettazione"
|
|
android:gravity="center_horizontal"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fast_button_spedizione"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.5"
|
|
android:gravity="center">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:layout_margin="8dp"
|
|
android:background="@android:color/white"
|
|
android:src="@drawable/ic_upload_black_24dp"
|
|
android:tint="@color/mainOrange" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Spedizione"
|
|
android:gravity="center_horizontal"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="16dp"
|
|
android:weightSum="0.9">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fast_button_rettifica_giacenze"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.3"
|
|
android:gravity="center">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:layout_margin="8dp"
|
|
android:background="@android:color/white"
|
|
android:src="@drawable/ic_empty_box_96"
|
|
android:tint="@color/brown_500" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Rettifica Giacenze"
|
|
android:gravity="center_horizontal"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fast_button_versamento"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.3"
|
|
android:gravity="center">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:layout_margin="8dp"
|
|
android:background="@android:color/white"
|
|
android:src="@drawable/ic_load_shelf_96"
|
|
android:tint="@color/teal_500" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:text="Versamento Merce"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fast_button_picking_libero"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.3"
|
|
android:gravity="center">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:layout_margin="8dp"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="centerInside"
|
|
android:background="@android:color/white"
|
|
android:src="@drawable/ic_barcode_96"
|
|
android:tint="@color/colorPrimary" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/free_picking"
|
|
android:gravity="center_horizontal"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>
|
|
</FrameLayout> |