2016-06-04 17:28:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-06-03 23:28:04 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-06-04 17:28:05 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-06-03 23:28:04 +02:00
|
|
|
android:orientation="vertical"
|
2016-06-04 17:28:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-06-03 23:28:04 +02:00
|
|
|
<FrameLayout
|
2016-06-04 17:28:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-06-03 23:28:04 +02:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false">
|
2016-06-04 17:28:05 +02:00
|
|
|
|
2018-06-03 23:28:04 +02:00
|
|
|
<android.support.v7.widget.Toolbar
|
2016-06-04 17:28:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-05-04 19:13:56 +02:00
|
|
|
android:layout_height="match_parent"
|
2018-06-03 23:28:04 +02:00
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:elevation="4dp"
|
|
|
|
app:contentInsetEnd="0dp"
|
|
|
|
app:contentInsetEndWithActions="0dp"
|
|
|
|
app:contentInsetStart="0dp"
|
|
|
|
app:contentInsetStartWithNavigation="0dp">
|
2016-06-04 17:28:05 +02:00
|
|
|
|
2018-06-03 23:28:04 +02:00
|
|
|
<android.support.design.widget.TabLayout
|
2017-05-04 19:13:56 +02:00
|
|
|
android:id="@+id/tabs"
|
|
|
|
android:layout_width="match_parent"
|
2018-06-03 23:28:04 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:paddingRight="64dp"
|
|
|
|
android:paddingLeft="64dp"
|
|
|
|
app:tabIndicatorColor="@color/colorAccent"
|
|
|
|
app:tabMode="scrollable" />
|
|
|
|
</android.support.v7.widget.Toolbar>
|
2017-05-04 19:13:56 +02:00
|
|
|
|
2018-06-03 23:28:04 +02:00
|
|
|
<info.nightscout.androidaps.tabs.NonConsumingToolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:translationZ="4dp" />
|
|
|
|
</FrameLayout>
|
2017-05-04 19:13:56 +02:00
|
|
|
|
2018-06-03 23:28:04 +02:00
|
|
|
<android.support.v4.widget.DrawerLayout
|
|
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp">
|
2017-05-04 19:13:56 +02:00
|
|
|
|
2018-06-03 23:28:04 +02:00
|
|
|
<android.support.v4.view.ViewPager
|
|
|
|
android:id="@+id/pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
2017-05-04 19:13:56 +02:00
|
|
|
|
2018-06-03 23:28:04 +02:00
|
|
|
<android.support.design.widget.NavigationView
|
|
|
|
android:id="@+id/navigation_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:itemBackground="@android:color/transparent"
|
|
|
|
app:itemTextColor="#FFFFFF"
|
|
|
|
android:layout_gravity="start" />
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|
2017-04-29 20:16:50 +02:00
|
|
|
|
2018-06-03 23:28:04 +02:00
|
|
|
</LinearLayout>
|