2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

Use android:theme instead of app:theme because it is deprecated

Summary:
When starting kdeconnect the following message appears in logcat:

I/AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.

Test Plan: Apply patch, launch app and verify that this message is no longer logged to logcat

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D17434
This commit is contained in:
Erik Duisters 2018-12-08 17:58:56 +01:00
parent 4f54d55cc5
commit 53422e0900

View File

@ -17,7 +17,7 @@
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:elevation="8dp"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
<FrameLayout
android:id="@+id/container"