modifiche bottom sheet dialog

This commit is contained in:
Valerio Castellana 2022-12-14 12:35:31 +01:00
parent dfa2a1106e
commit 214d98f181
2 changed files with 31 additions and 14 deletions

View File

@ -1,4 +1,4 @@
<layout xmlns:tools="http://schemas.android.com/tools"> <layout>
<data> <data>
@ -194,6 +194,14 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<View
android:id="@+id/bottom_sheet__background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#99000000"
android:clickable="true"
android:focusable="true"
android:visibility="gone" />
<it.integry.integrywmsnative.view.bottom_sheet__lu_content.BottomSheetFragmentLUContentView <it.integry.integrywmsnative.view.bottom_sheet__lu_content.BottomSheetFragmentLUContentView
android:id="@+id/bottom_sheet_lu_content" android:id="@+id/bottom_sheet_lu_content"
@ -203,7 +211,7 @@
app:behavior_peekHeight="66dp" app:behavior_peekHeight="66dp"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior" app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
app:visibility="@{accettazioneView.bottomSheetEnabled}" app:visibility="@{accettazioneView.bottomSheetEnabled}"
app:parentView="@id/bottom_sheet_lu_content"/> app:parentView="@id/bottom_sheet_lu_content" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -3,6 +3,7 @@
xmlns:fab="http://schemas.android.com/apk/res-auto" xmlns:fab="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"> xmlns:tools="http://schemas.android.com/tools">
<data> <data>
<import type="android.view.View" /> <import type="android.view.View" />
@ -49,7 +50,7 @@
android:gravity="center_horizontal" android:gravity="center_horizontal"
app:layout_collapseMode="pin"> app:layout_collapseMode="pin">
</androidx.appcompat.widget.Toolbar> </androidx.appcompat.widget.Toolbar>
</it.integry.integrywmsnative.ui.ElevatedToolbar> </it.integry.integrywmsnative.ui.ElevatedToolbar>
@ -127,7 +128,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:scrollbars="vertical" android:scrollbars="vertical"
android:clipToPadding="false" android:clipToPadding="false"
android:paddingBottom="72dp"/> android:paddingBottom="72dp" />
</LinearLayout> </LinearLayout>
@ -174,7 +175,7 @@
android:layout_width="72dp" android:layout_width="72dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_playlist_add_check_24dp" android:src="@drawable/ic_playlist_add_check_24dp"
android:adjustViewBounds="true"/> android:adjustViewBounds="true" />
<androidx.appcompat.widget.AppCompatTextView <androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -182,7 +183,7 @@
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textColor="@android:color/black" android:textColor="@android:color/black"
android:textSize="18sp" android:textSize="18sp"
android:text="@string/no_item_to_pick_text"/> android:text="@string/no_item_to_pick_text" />
</LinearLayout> </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
@ -240,17 +241,25 @@
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>
<!-- <RelativeLayout--> <!-- <RelativeLayout-->
<!-- android:id="@+id/empty_space_padding"--> <!-- android:id="@+id/empty_space_padding"-->
<!-- android:layout_width="match_parent"--> <!-- android:layout_width="match_parent"-->
<!-- android:layout_height="?attr/actionBarSize"--> <!-- android:layout_height="?attr/actionBarSize"-->
<!-- android:visibility="@{pickingResiView.bottomSheetEnabled ? View.VISIBLE : View.GONE}"--> <!-- android:visibility="@{pickingResiView.bottomSheetEnabled ? View.VISIBLE : View.GONE}"-->
<!-- android:layout_alignParentBottom="true">--> <!-- android:layout_alignParentBottom="true">-->
<!-- </RelativeLayout>--> <!-- </RelativeLayout>-->
</RelativeLayout> </RelativeLayout>
<View
android:id="@+id/bottom_sheet__background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#99000000"
android:clickable="true"
android:focusable="true"
android:visibility="gone" />
<it.integry.integrywmsnative.view.bottom_sheet__lu_content.BottomSheetFragmentLUContentView <it.integry.integrywmsnative.view.bottom_sheet__lu_content.BottomSheetFragmentLUContentView
android:id="@+id/bottom_sheet_lu_content" android:id="@+id/bottom_sheet_lu_content"
@ -260,7 +269,7 @@
app:behavior_hideable="false" app:behavior_hideable="false"
app:behavior_peekHeight="66dp" app:behavior_peekHeight="66dp"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior" app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
app:parentView="@id/bottom_sheet_lu_content"/> app:parentView="@id/bottom_sheet_lu_content" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>