|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<android.support.v4.widget.DrawerLayout |
| 2 | +<androidx.drawerlayout.widget.DrawerLayout |
3 | 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
4 | 4 | xmlns:app="http://schemas.android.com/apk/res-auto" |
5 | 5 | xmlns:tools="http://schemas.android.com/tools" |
|
8 | 8 | android:id="@+id/drawer_layout" |
9 | 9 | tools:context=".MainActivity"> |
10 | 10 |
|
11 | | - <android.support.design.widget.CoordinatorLayout |
| 11 | + <androidx.coordinatorlayout.widget.CoordinatorLayout |
12 | 12 | android:layout_width="match_parent" |
13 | 13 | android:layout_height="match_parent"> |
14 | 14 |
|
15 | | - <android.support.design.widget.AppBarLayout |
| 15 | + <com.google.android.material.appbar.AppBarLayout |
16 | 16 | android:layout_width="match_parent" |
17 | 17 | android:layout_height="wrap_content" |
18 | 18 | android:background="?attr/colorPrimary" |
19 | 19 | android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" |
20 | 20 | app:popupTheme="@style/ThemeOverlay.AppCompat.Light"> |
21 | 21 |
|
22 | | - <android.support.v7.widget.Toolbar |
| 22 | + <androidx.appcompat.widget.Toolbar |
23 | 23 | android:id="@+id/toolbar" |
24 | 24 | android:layout_width="match_parent" |
25 | 25 | android:layout_height="?attr/actionBarSize"/> |
26 | 26 |
|
27 | | - </android.support.design.widget.AppBarLayout> |
| 27 | + </com.google.android.material.appbar.AppBarLayout> |
28 | 28 |
|
29 | 29 | <FrameLayout |
30 | 30 | android:id="@+id/container" |
31 | 31 | android:layout_width="match_parent" |
32 | 32 | android:layout_height="match_parent" |
33 | 33 | app:layout_behavior="@string/appbar_scrolling_view_behavior"/> |
34 | 34 |
|
35 | | - </android.support.design.widget.CoordinatorLayout> |
| 35 | + </androidx.coordinatorlayout.widget.CoordinatorLayout> |
36 | 36 |
|
37 | | - <android.support.design.widget.NavigationView |
| 37 | + <com.google.android.material.navigation.NavigationView |
38 | 38 | android:id="@+id/navigation_view" |
39 | 39 | android:layout_width="280dp" |
40 | 40 | android:layout_height="match_parent" |
41 | 41 | android:layout_gravity="start" |
42 | 42 | app:menu="@menu/navigation_main"/> |
43 | 43 |
|
44 | | -</android.support.v4.widget.DrawerLayout> |
| 44 | +</androidx.drawerlayout.widget.DrawerLayout> |
0 commit comments