Use view binding in MainActivity.
This commit is contained in:
parent
18d530021c
commit
ba0c0fb109
2 changed files with 87 additions and 90 deletions
|
|
@ -1,7 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<org.schabi.newpipe.views.FocusAwareDrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
|
@ -15,7 +14,9 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="?attr/actionBarSize" />
|
||||
|
||||
<include layout="@layout/toolbar_layout" />
|
||||
<include
|
||||
layout="@layout/toolbar_layout"
|
||||
android:id="@+id/toolbar_layout"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fragment_player_holder"
|
||||
|
|
@ -28,6 +29,8 @@
|
|||
|
||||
</org.schabi.newpipe.views.FocusAwareCoordinator>
|
||||
|
||||
<include layout="@layout/drawer_layout" />
|
||||
<include
|
||||
layout="@layout/drawer_layout"
|
||||
android:id="@+id/drawer_layout" />
|
||||
|
||||
</org.schabi.newpipe.views.FocusAwareDrawerLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue