55 lines
2.1 KiB
XML
55 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2015 Synced Synapse. All rights reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<androidx.drawerlayout.widget.DrawerLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<include layout="@layout/toolbar_default" />
|
|
|
|
<include layout="@layout/empty_view"/>
|
|
|
|
<GridView
|
|
android:id="@+id/cast_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="@dimen/small_padding"
|
|
android:stretchMode="columnWidth"
|
|
android:numColumns="@integer/cast_grid_view_columns"
|
|
android:horizontalSpacing="@dimen/small_padding"
|
|
android:verticalSpacing="@dimen/small_padding"
|
|
android:fastScrollEnabled="false"
|
|
android:choiceMode="none"
|
|
android:listSelector="?attr/selectableItemBackground"
|
|
android:drawSelectorOnTop="true"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<fragment android:id="@+id/navigation_drawer"
|
|
android:layout_width="@dimen/navigation_drawer_width"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
android:name="org.xbmc.kore.ui.generic.NavigationDrawerFragment"/>
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|