2018-03-04 05:49:16 -06:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-05-02 14:51:23 -05:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-03-04 05:49:16 -06:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/main_activity_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-05-02 14:51:23 -05:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:weightSum="1"
|
|
|
|
tools:context="io.github.wulkanowy.ui.main.MainActivity"
|
|
|
|
>
|
2018-03-04 05:49:16 -06:00
|
|
|
|
2018-05-02 14:51:23 -05:00
|
|
|
<android.support.design.widget.AppBarLayout
|
2018-03-04 05:49:16 -06:00
|
|
|
android:layout_width="match_parent"
|
2018-05-02 14:51:23 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
|
|
|
>
|
2018-03-04 05:49:16 -06:00
|
|
|
|
2018-05-02 14:51:23 -05:00
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
|
|
|
/>
|
2018-03-04 05:49:16 -06:00
|
|
|
|
2018-05-02 14:51:23 -05:00
|
|
|
</android.support.design.widget.AppBarLayout>
|
2018-03-04 05:49:16 -06:00
|
|
|
|
2018-05-02 14:51:23 -05:00
|
|
|
<android.support.design.widget.CoordinatorLayout
|
2018-03-04 05:49:16 -06:00
|
|
|
android:layout_width="match_parent"
|
2018-05-02 14:51:23 -05:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
app:layout_behavior="android.support.design.widget.AppBarLayout$ScrollingViewBehavior"
|
|
|
|
>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/main_activity_progress_bar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:indeterminate="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<com.aurelhubert.ahbottomnavigation.AHBottomNavigationViewPager
|
|
|
|
android:id="@+id/main_activity_view_pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="@dimen/bottom_navigation_height" />
|
|
|
|
|
|
|
|
<com.aurelhubert.ahbottomnavigation.AHBottomNavigation
|
|
|
|
android:id="@+id/main_activity_nav"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom" />
|
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|
2018-03-04 05:49:16 -06:00
|
|
|
|
2018-05-02 14:51:23 -05:00
|
|
|
</LinearLayout>
|