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

58 lines
2.2 KiB
XML
Raw Normal View History

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"
2018-06-03 23:28:04 +02:00
android:orientation="vertical"
2016-06-04 17:28:05 +02:00
android:layout_width="match_parent"
2018-06-04 21:34:21 +02:00
android:layout_height="match_parent"
android:clipChildren="false"
android:clipToPadding="false">
2016-06-04 17:28:05 +02:00
2019-05-16 13:57:37 +02:00
<androidx.appcompat.widget.Toolbar
2018-06-04 21:34:21 +02:00
android:id="@+id/toolbar"
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"
2018-06-04 21:34:21 +02:00
android:background="@color/colorPrimary"
app:contentInsetEndWithActions="48dp"
app:contentInsetStartWithNavigation="48dp"
android:elevation="4dp">
2016-06-04 17:28:05 +02:00
2019-05-16 13:57:37 +02:00
<com.google.android.material.tabs.TabLayout
2018-06-04 21:34:21 +02:00
android:id="@+id/tabs_normal"
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-04 21:34:21 +02:00
android:background="@android:color/transparent"
app:tabIndicatorColor="#FFFFFF"
app:tabMode="scrollable" />
2017-05-04 19:13:56 +02:00
2019-05-16 13:57:37 +02:00
<com.google.android.material.tabs.TabLayout
2018-06-04 21:34:21 +02:00
android:id="@+id/tabs_compact"
2018-06-03 23:28:04 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
2018-06-04 21:34:21 +02:00
app:tabMinWidth="0dp"
app:tabPadding="0dp"
app:tabIndicatorColor="#FFFFFF"
app:tabMode="scrollable" />
2019-05-16 13:57:37 +02:00
</androidx.appcompat.widget.Toolbar>
2017-05-04 19:13:56 +02:00
2019-05-16 13:57:37 +02:00
<androidx.drawerlayout.widget.DrawerLayout
2018-06-03 23:28:04 +02:00
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
2019-05-16 13:57:37 +02:00
<androidx.viewpager.widget.ViewPager
2018-06-03 23:28:04 +02:00
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
2017-05-04 19:13:56 +02:00
2019-05-16 13:57:37 +02:00
<com.google.android.material.navigation.NavigationView
2018-06-03 23:28:04 +02:00
android:id="@+id/navigation_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2018-06-04 21:34:21 +02:00
app:itemBackground="?selectableItemBackground"
2018-06-03 23:28:04 +02:00
app:itemTextColor="#FFFFFF"
android:layout_gravity="start" />
2019-05-16 13:57:37 +02:00
</androidx.drawerlayout.widget.DrawerLayout>
2017-04-29 20:16:50 +02:00
2018-06-03 23:28:04 +02:00
</LinearLayout>