2017-01-03 10:30:27 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-02-20 11:27:15 +11:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-04-27 22:47:56 +10:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-01-03 10:30:27 +11:00
|
|
|
android:id="@+id/activity_main"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-01-10 17:14:27 +11:00
|
|
|
tools:context="com.keylesspalace.tusky.MainActivity">
|
2017-01-03 10:30:27 +11:00
|
|
|
|
2019-10-13 05:00:29 +11:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/main_appbar"
|
2017-01-03 10:30:27 +11:00
|
|
|
android:layout_width="match_parent"
|
2019-10-13 05:00:29 +11:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:elevation="@dimen/actionbar_elevation">
|
2017-04-09 18:13:18 +10:00
|
|
|
|
2019-10-13 05:00:29 +11:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/main_toolbar"
|
2017-06-20 10:50:40 +10:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-13 05:00:29 +11:00
|
|
|
app:contentInsetStartWithNavigation="0dp">
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/tab_layout"
|
|
|
|
style="@style/TuskyTabAppearance"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
app:tabGravity="fill"
|
|
|
|
app:tabMaxWidth="0dp"
|
|
|
|
app:tabMode="fixed"
|
|
|
|
app:tabUnboundedRipple="false" />
|
2017-01-10 17:14:27 +11:00
|
|
|
|
2019-10-13 05:00:29 +11:00
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
|
|
android:id="@+id/pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_below="@id/tab_layout"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
2017-03-10 14:35:08 +11:00
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
2017-03-07 11:38:22 +11:00
|
|
|
android:id="@+id/floating_btn"
|
|
|
|
android:layout_width="wrap_content"
|
2017-04-27 22:47:56 +10:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:contentDescription="@string/action_compose"
|
2017-03-11 04:38:49 +11:00
|
|
|
app:layout_anchor="@id/pager"
|
|
|
|
app:layout_anchorGravity="bottom|end"
|
2017-04-27 22:47:56 +10:00
|
|
|
app:srcCompat="@drawable/ic_create_24dp" />
|
2017-04-09 18:13:18 +10:00
|
|
|
|
2018-09-17 02:54:12 +10:00
|
|
|
<include layout="@layout/item_status_bottom_sheet" />
|
2018-05-07 06:05:54 +10:00
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|