skip to Main Content

Android Studio – Android 14 – bottomsheet dialog transparent background

I have the following attributes for bottom sheet dialog: <style name="DialogStyle" parent="Theme.Design.Light.BottomSheetDialog"> <item name="android:windowIsFloating">false</item> <item name="android:statusBarColor">@android:color/transparent</item> <item name="android:windowSoftInputMode">adjustResize</item> <item name="android:windowBackground">@android:color/transparent</item> <item name="bottomSheetStyle">@style/RoundedBottomSheet</item> <style name="RoundedBottomSheet" parent="Widget.Design.BottomSheet.Modal"> <item name="android:background">@android:color/transparent</item> <item name="android:windowEnterAnimation">@anim/popup_window_enter_animation</item> <item name="android:windowExitAnimation">@anim/popup_window_exit_animation</item> </style> In Versions under android 14 I see the…

VIEW QUESTION

Android Studio – Pre-packaged database has an invalid schema in Room Android kotlin

Hello, I am trying to get data from the asset folder SQL DB but it showing this error. java.lang.IllegalStateException: Pre-packaged database has an invalid schema: recipetype(com.example.finddishrecipe.room.RecipeEntity). Expected: TableInfo{name='recipetype', columns={name=Column{name='name', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, image=Column{name='image', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'},…

VIEW QUESTION
Back To Top
Search