3ecbbea7cb
- on Android TV you'll be able to navigate with D-pad in main fragment and in the player. But not between them for now - play/pause/next/previous buttons are smaller now - replaced ic_list with previous version of it - activity_main looks better which helps with Android TV support
36 lines
1.3 KiB
XML
36 lines
1.3 KiB
XML
<?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"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<org.schabi.newpipe.views.FocusAwareCoordinator
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/fragment_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="?attr/actionBarSize" />
|
|
|
|
<include layout="@layout/toolbar_layout" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/fragment_player_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_horizontal"
|
|
app:behavior_hideable="true"
|
|
app:behavior_peekHeight="0dp"
|
|
app:layout_behavior="org.schabi.newpipe.player.event.CustomBottomSheetBehavior">
|
|
</FrameLayout>
|
|
|
|
</org.schabi.newpipe.views.FocusAwareCoordinator>
|
|
|
|
<include layout="@layout/drawer_layout"/>
|
|
|
|
</org.schabi.newpipe.views.FocusAwareDrawerLayout>
|