Skip to content

Commit 9ef1305

Browse files
committed
fix Binary XML file line #8: Binary XML file line #13: Error inflating class android.support.v7.widget.Toolbar
1 parent cc5f91c commit 9ef1305

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

android/ijkplayer/ijkplayer-example/src/main/res/layout/activity_player.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<android.support.v4.widget.DrawerLayout
1+
<androidx.drawerlayout.widget.DrawerLayout
22
xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
xmlns:tools="http://schemas.android.com/tools"
@@ -37,7 +37,7 @@
3737
android:background="@color/ijk_transparent_dark"
3838
android:padding="8dp" />
3939

40-
<android.support.v7.widget.Toolbar
40+
<androidx.appcompat.widget.Toolbar
4141
android:id="@+id/toolbar"
4242
android:layout_width="match_parent"
4343
android:layout_height="wrap_content"
@@ -54,4 +54,4 @@
5454
android:layout_height="match_parent"
5555
android:layout_gravity="right"
5656
android:background="@color/ijk_transparent_dark" />
57-
</android.support.v4.widget.DrawerLayout>
57+
</androidx.drawerlayout.widget.DrawerLayout>

android/ijkplayer/ijkplayer-example/src/main/res/layout/widget_toolbar.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns:app="http://schemas.android.com/apk/res-auto"
33
xmlns:tools="http://schemas.android.com/tools">
44

5-
<android.support.v7.widget.Toolbar
5+
<androidx.appcompat.widget.Toolbar
66
android:id="@+id/toolbar"
77
android:layout_width="match_parent"
88
android:layout_height="wrap_content"
@@ -12,4 +12,4 @@
1212
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
1313
tools:context=".toolbar_widget" />
1414

15-
</merge>
15+
</merge>

0 commit comments

Comments
 (0)