wulkanowy-mod/app/src/main/res/layout/activity_main.xml

53 lines
2.1 KiB
XML
Raw Normal View History

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
android:id="@+id/main_activity_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-06-08 17:59:39 -05:00
android:baselineAligned="false"
android:weightSum="1">
2018-03-04 05:49:16 -06:00
2018-05-02 14:51:23 -05:00
<android.support.design.widget.CoordinatorLayout
2018-06-08 17:59:39 -05:00
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1">
<android.support.design.widget.AppBarLayout
android:id="@+id/main_activity_appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.Toolbar
android:id="@+id/main_activity_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_scrollFlags="scroll|enterAlways" />
</android.support.design.widget.AppBarLayout>
2018-05-02 14:51:23 -05:00
<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"
2018-06-08 17:59:39 -05:00
android:layout_marginBottom="@dimen/bottom_navigation_height"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
2018-05-02 14:51:23 -05:00
<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-06-08 17:59:39 -05:00
</LinearLayout>