Fixed: app:theme is now deprecated. Please move to using android:theme instead.

* Now we are using the `android:theme` everywhere in our project instead of `app:theme`.
This commit is contained in:
MohitMaliFtechiz 2024-10-10 11:56:22 +05:30
parent 83899c61c4
commit 3e52a897cd
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:popupTheme="@style/KiwixTheme" app:popupTheme="@style/KiwixTheme"
app:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar" android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
tools:showIn="@layout/fragment_search" /> tools:showIn="@layout/fragment_search" />
<androidx.appcompat.widget.SwitchCompat <androidx.appcompat.widget.SwitchCompat

View File

@ -24,6 +24,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
app:layout_scrollFlags="scroll|enterAlways" app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/KiwixTheme" app:popupTheme="@style/KiwixTheme"
app:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar" /> android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar" />
</merge> </merge>

View File

@ -7,7 +7,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:popupTheme="@style/KiwixTheme" app:popupTheme="@style/KiwixTheme"
app:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar" android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
tools:showIn="@layout/fragment_search"> tools:showIn="@layout/fragment_search">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout