90 lines
3.1 KiB
XML
90 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v4.widget.DrawerLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
tools:context="jp.juggler.subwaytooter.ActMain"
|
|
tools:openDrawer="start"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<!-- ここに広告いれたい -->
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llEmpty"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:text="@string/column_empty"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<android.support.v4.view.ViewPager
|
|
android:id="@+id/viewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:id="@+id/fabToot"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="@dimen/fab_margin"
|
|
app:srcCompat="@drawable/ic_toot"
|
|
/>
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
android:id="@+id/fabMenu"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|start"
|
|
android:layout_margin="@dimen/fab_margin"
|
|
app:srcCompat="@drawable/ic_menu"
|
|
/>
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<!--<android.support.design.widget.CoordinatorLayout-->
|
|
<!--android:layout_width="match_parent"-->
|
|
<!--android:layout_height="match_parent"-->
|
|
<!-->-->
|
|
|
|
<!--</android.support.design.widget.CoordinatorLayout>-->
|
|
|
|
<android.support.design.widget.NavigationView
|
|
android:id="@+id/nav_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:menu="@menu/men_navi_drawer"/>
|
|
<!-- app:headerLayout="@layout/nav_header_act_main" -->
|
|
</android.support.v4.widget.DrawerLayout>
|