aniyomi/app/src/main/res/layout/activity_main.xml

67 lines
2.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
android:id="@+id/drawer"
2015-12-30 16:10:31 +03:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2015-09-24 18:27:43 +03:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
2015-09-24 18:27:43 +03:00
<RelativeLayout
android:id="@+id/main_content"
2015-12-26 02:07:45 +03:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2015-12-26 02:07:45 +03:00
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2015-12-26 02:07:45 +03:00
<include layout="@layout/toolbar"/>
</android.support.design.widget.AppBarLayout>
2015-09-25 13:44:11 +03:00
2015-09-24 18:27:43 +03:00
2015-09-25 13:44:11 +03:00
<FrameLayout
android:id="@+id/frame_container"
2015-09-24 18:27:43 +03:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/appbar">
<RelativeLayout
android:id="@+id/information_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center">
<ImageView
android:id="@+id/image_view"
android:layout_width="128dp"
android:layout_height="128dp"
android:layout_centerHorizontal="true"/>
<TextView
android:id="@+id/text_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/image_view"
android:layout_centerHorizontal="true"
android:alpha=".87"
android:textSize="24sp"/>
</RelativeLayout>
2015-09-24 18:27:43 +03:00
2015-09-25 13:44:11 +03:00
</FrameLayout>
</RelativeLayout>
<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:headerLayout="@layout/navigation_header"
app:menu="@menu/menu_navigation"/>
</android.support.v4.widget.DrawerLayout>