65 lines
2.5 KiB
XML
65 lines
2.5 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.
|
|
-->
|
|
<android.support.v4.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" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/background_image"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:alpha="0.2"
|
|
android:contentDescription="@string/fanart"/>
|
|
|
|
<android.support.v4.view.ViewPager
|
|
android:id="@+id/pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
<org.xbmc.kore.ui.views.CirclePageIndicator
|
|
android:id="@+id/pager_indicator"
|
|
style="@style/ViewPagerIndicator"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/small_padding"
|
|
android:layout_marginBottom="2dp"/>
|
|
</FrameLayout>
|
|
</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"/>
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|