diff --git a/widgetssdk/src/main/java/com/glia/widgets/entrywidget/EntryWidgetFragment.kt b/widgetssdk/src/main/java/com/glia/widgets/entrywidget/EntryWidgetFragment.kt index 6097ad0575..003199bc24 100644 --- a/widgetssdk/src/main/java/com/glia/widgets/entrywidget/EntryWidgetFragment.kt +++ b/widgetssdk/src/main/java/com/glia/widgets/entrywidget/EntryWidgetFragment.kt @@ -14,6 +14,7 @@ import com.glia.widgets.R import com.glia.widgets.databinding.EntryWidgetFragmentBinding import com.glia.widgets.di.Dependencies import com.glia.widgets.entrywidget.adapter.EntryWidgetAdapter +import com.glia.widgets.helper.wrapWithMaterialThemeOverlay import com.glia.widgets.view.unifiedui.applyLayerTheme import com.glia.widgets.view.unifiedui.theme.entrywidget.EntryWidgetTheme import com.google.android.material.bottomsheet.BottomSheetBehavior @@ -35,7 +36,8 @@ internal class EntryWidgetFragment : BottomSheetDialogFragment() { inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ): View { - val binding = EntryWidgetFragmentBinding.inflate(inflater, container, false) + val layoutInflater = LayoutInflater.from(requireContext().wrapWithMaterialThemeOverlay()) + val binding = EntryWidgetFragmentBinding.inflate(layoutInflater, container, false) val entryWidgetsTheme = Dependencies.gliaThemeManager.theme?.entryWidgetTheme setupView(requireContext(), binding, entryWidgetsTheme) diff --git a/widgetssdk/src/main/java/com/glia/widgets/view/unifiedui/theme/defaulttheme/EntryWidget.kt b/widgetssdk/src/main/java/com/glia/widgets/view/unifiedui/theme/defaulttheme/EntryWidget.kt index ec40f4ddaf..0f0f5e1f6a 100644 --- a/widgetssdk/src/main/java/com/glia/widgets/view/unifiedui/theme/defaulttheme/EntryWidget.kt +++ b/widgetssdk/src/main/java/com/glia/widgets/view/unifiedui/theme/defaulttheme/EntryWidget.kt @@ -27,7 +27,7 @@ internal fun DefaultMediaTypeItemsTheme(pallet: ColorPallet?): MediaTypeItemsThe pallet?.run { MediaTypeItemsTheme( mediaTypeItem = DefaultMediaItemTypeTheme(this), - dividerColor = baseNormalColorTheme + dividerColor = baseShadeColorTheme ) } diff --git a/widgetssdk/src/main/res/drawable/bg_entry_widget_divider.xml b/widgetssdk/src/main/res/drawable/bg_entry_widget_divider.xml index 1e1c391b7f..0d17fd84d9 100644 --- a/widgetssdk/src/main/res/drawable/bg_entry_widget_divider.xml +++ b/widgetssdk/src/main/res/drawable/bg_entry_widget_divider.xml @@ -7,7 +7,7 @@ - + diff --git a/widgetssdk/src/main/res/drawable/ic_drag_handle.xml b/widgetssdk/src/main/res/drawable/ic_drag_handle.xml index 0513800d71..c0b572ec50 100644 --- a/widgetssdk/src/main/res/drawable/ic_drag_handle.xml +++ b/widgetssdk/src/main/res/drawable/ic_drag_handle.xml @@ -5,7 +5,5 @@ android:viewportHeight="4"> + android:fillColor="?attr/gliaBaseShadeColor" /> diff --git a/widgetssdk/src/main/res/layout/entry_widget_fragment.xml b/widgetssdk/src/main/res/layout/entry_widget_fragment.xml index 34721a98f1..1d440e1779 100644 --- a/widgetssdk/src/main/res/layout/entry_widget_fragment.xml +++ b/widgetssdk/src/main/res/layout/entry_widget_fragment.xml @@ -5,7 +5,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:background="@drawable/bg_bottom_sheet"> + android:background="@drawable/bg_bottom_sheet" + android:backgroundTint="?attr/gliaBaseLightColor"> + app:layout_constraintBottom_toTopOf="@id/container" />