diff --git a/app/src/main/res/drawable/badge_round_corner.xml b/app/src/main/res/drawable/badge_round_corner.xml index e7af763b..1b3c0ba6 100644 --- a/app/src/main/res/drawable/badge_round_corner.xml +++ b/app/src/main/res/drawable/badge_round_corner.xml @@ -7,7 +7,7 @@ diff --git a/app/src/main/res/layout/activity_prod_dettaglio_linea.xml b/app/src/main/res/layout/activity_prod_dettaglio_linea.xml index 9883adae..739d66db 100644 --- a/app/src/main/res/layout/activity_prod_dettaglio_linea.xml +++ b/app/src/main/res/layout/activity_prod_dettaglio_linea.xml @@ -26,8 +26,7 @@ + android:layout_height="match_parent"> - - - - - - - - - - - + android:layout_margin="8dp"> - - - - - - - + android:orientation="vertical" + android:padding="16dp"> - + + + + + + + + + + + android:orientation="horizontal"> - + + + + + + android:layout_marginTop="16dp" + app:visibility="@{view.isStarted}"> + + + + - + - + + - - + app:visibility="@{view.flagShowProdInfo}"> - - - - + android:orientation="vertical" + android:padding="16dp"> - - + android:text="@string/production_in_progress" + android:textAppearance="@style/TextAppearance.Material3.TitleMedium" + tools:text="Lavorazione in corso" /> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + android:text="@string/orders_in_progress" + android:textAppearance="@style/TextAppearance.Material3.BodyMedium" + tools:text="Ordini in lavorazione" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + - + + + + - - - + android:layout_margin="8dp" + android:layout_marginTop="16dp"> + android:orientation="vertical" + android:padding="16dp"> - + android:text="@string/versamento_merce_fragment_title" + android:textAppearance="@style/TextAppearance.Material3.TitleMedium" /> - + android:layout_gravity="center_horizontal" + android:layout_marginTop="24dp" + android:orientation="horizontal" + android:visibility="visible" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/header_content"> + + + + + + - - + diff --git a/app/src/main/res/layout/bottom_sheet_line_actions.xml b/app/src/main/res/layout/bottom_sheet_line_actions.xml index 873ff9d3..eeb666b9 100644 --- a/app/src/main/res/layout/bottom_sheet_line_actions.xml +++ b/app/src/main/res/layout/bottom_sheet_line_actions.xml @@ -58,7 +58,7 @@ @@ -116,21 +119,20 @@ android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:text="@string/orders_in_progress" - android:textColor="@android:color/black" - android:textSize="14sp" /> + style="@style/TextAppearance.Material3.BodyMedium"/> + + android:layout_marginTop="16dp" + android:paddingHorizontal="16dp" + android:paddingVertical="16dp" + android:gravity="center_vertical"> - + android:src="@drawable/ic_baseline_person_add_24" + app:tint="?attr/colorOnSurface" + android:layout_marginEnd="16dp"/> - @@ -163,18 +169,21 @@ android:focusable="true" android:onClick="@{()->view.onPlayClicked()}" android:orientation="horizontal" - android:padding="16dp"> + android:paddingHorizontal="16dp" + android:paddingVertical="16dp" + android:gravity="center_vertical"> + android:src="@drawable/ic_baseline_play_arrow_24" + app:tint="?attr/colorOnSurface" + android:layout_marginEnd="16dp" /> @@ -187,18 +196,21 @@ android:focusable="true" android:onClick="@{()->view.onStopClicked()}" android:orientation="horizontal" - android:padding="16dp"> + android:paddingHorizontal="16dp" + android:paddingVertical="16dp" + android:gravity="center_vertical"> + android:src="@drawable/ic_baseline_stop_24" + app:tint="?attr/colorOnSurface" + android:layout_marginEnd="16dp" /> @@ -211,18 +223,21 @@ android:focusable="true" android:onClick="@{()->view.onRecoverClicked()}" android:orientation="horizontal" - android:padding="16dp"> + android:paddingHorizontal="16dp" + android:paddingVertical="16dp" + android:gravity="center_vertical"> + android:src="@drawable/ic_black_download" + app:tint="?attr/colorOnSurface" + android:layout_marginEnd="16dp" /> diff --git a/app/src/main/res/layout/fragment_linee_prod.xml b/app/src/main/res/layout/fragment_linee_prod.xml index f289e450..e741eb64 100644 --- a/app/src/main/res/layout/fragment_linee_prod.xml +++ b/app/src/main/res/layout/fragment_linee_prod.xml @@ -11,8 +11,7 @@ + android:layout_height="match_parent"> + android:src="@drawable/ic_playlist_add_check_24dp" + android:tint="?attr/colorControlNormal"/> diff --git a/app/src/main/res/layout/fragment_linee_prod_main_list_model.xml b/app/src/main/res/layout/fragment_linee_prod_main_list_model.xml index d417ee6d..562199ce 100644 --- a/app/src/main/res/layout/fragment_linee_prod_main_list_model.xml +++ b/app/src/main/res/layout/fragment_linee_prod_main_list_model.xml @@ -62,13 +62,11 @@ @@ -81,13 +79,15 @@ android:backgroundTint="@{ContextCompat.getColor(context, listModel.isStarted() ? R.color.green_600 : listModel.isPaused() ? R.color.orange_600 : R.color.red_600)}" android:orientation="horizontal" android:weightSum="2" + android:paddingHorizontal="4dp" tools:backgroundTint="@color/green_600"> @@ -97,9 +97,10 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@{listModel.isStarted() ? R.string.in_progress : listModel.isPaused() ? R.string.stand_by : R.string.stopped}" - android:textAppearance="@style/AppTheme.NewMaterial.Text.Medium" + android:textAppearance="@style/TextAppearance.Material3.LabelLarge" android:textColor="@android:color/white" android:textStyle="bold" + android:layout_marginHorizontal="2dp" tools:text="In lavorazione" /> @@ -119,7 +120,6 @@ android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:text="@string/risorse_impostate" - android:textColor="@android:color/black" android:textSize="14sp" /> @@ -146,7 +145,6 @@ android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:text="@string/orders_in_progress" - android:textColor="@android:color/black" android:textSize="14sp" /> @@ -173,7 +170,6 @@ android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:text="@string/inizio_produzione" - android:textColor="@android:color/black" android:textSize="14sp" /> @@ -200,7 +195,6 @@ android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:text="@string/ultima_produzione" - android:textColor="@android:color/black" android:textSize="14sp" /> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index a5e93cff..f6b5e68c 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -94,14 +94,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -