Skip to content

Commit f7a999f

Browse files
authored
Fix Android support for Capacitor 2.0.0 (#42)
* Change to AndroidX, as required by Capacitor 2.0.0
1 parent d13d894 commit f7a999f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

android/src/main/res/layout/bridge_layout_main.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
55
android:layout_width="match_parent"
@@ -12,4 +12,4 @@
1212
android:layout_width="fill_parent"
1313
android:layout_height="fill_parent" />
1414

15-
</android.support.design.widget.CoordinatorLayout>
15+
</androidx.coordinatorlayout.widget.CoordinatorLayout>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
55
android:layout_width="match_parent"
@@ -9,4 +9,4 @@
99
<WebView
1010
android:layout_width="match_parent"
1111
android:layout_height="match_parent" />
12-
</android.support.design.widget.CoordinatorLayout>
12+
</androidx.coordinatorlayout.widget.CoordinatorLayout>

0 commit comments

Comments
 (0)