2017-01-03 10:30:27 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-03-10 09:21:02 +11:00
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-01-03 10:30:27 +11:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-02-20 11:27:15 +11:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-01-03 10:30:27 +11:00
|
|
|
android:id="@+id/activity_main"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
2017-01-10 17:14:27 +11:00
|
|
|
tools:context="com.keylesspalace.tusky.MainActivity">
|
2017-01-03 10:30:27 +11:00
|
|
|
|
2017-01-10 17:14:27 +11:00
|
|
|
<LinearLayout
|
2017-01-03 10:30:27 +11:00
|
|
|
android:layout_width="match_parent"
|
2017-01-10 17:14:27 +11:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2017-01-03 10:30:27 +11:00
|
|
|
|
2017-01-10 17:14:27 +11:00
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
2017-01-03 10:30:27 +11:00
|
|
|
android:layout_width="match_parent"
|
2017-01-10 17:14:27 +11:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
2017-03-10 09:21:02 +11:00
|
|
|
android:theme="@style/AppTheme.Account.AppBarLayout"
|
|
|
|
app:popupTheme="@style/AppTheme.Account.ToolbarPopupTheme.Dark"
|
2017-02-17 05:52:55 +11:00
|
|
|
android:elevation="4dp"
|
|
|
|
android:background="?attr/toolbar_background_color" />
|
2017-01-10 17:14:27 +11:00
|
|
|
|
|
|
|
<android.support.v4.view.ViewPager
|
|
|
|
android:id="@+id/pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<android.support.design.widget.TabLayout
|
|
|
|
android:id="@+id/tab_layout"
|
2017-02-20 11:27:15 +11:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:tabTextAppearance="@style/TabLayoutTextStyle"
|
2017-03-07 11:38:22 +11:00
|
|
|
app:tabBackground="?android:colorBackground"
|
2017-02-20 11:27:15 +11:00
|
|
|
app:tabPaddingStart="1dp"
|
|
|
|
app:tabPaddingEnd="1dp">
|
2017-01-03 10:30:27 +11:00
|
|
|
|
2017-01-10 17:14:27 +11:00
|
|
|
<android.support.design.widget.TabItem
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_home" />
|
2017-01-08 09:24:02 +11:00
|
|
|
|
2017-01-10 17:14:27 +11:00
|
|
|
<android.support.design.widget.TabItem
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_notifications" />
|
2017-01-08 09:24:02 +11:00
|
|
|
|
2017-01-10 17:14:27 +11:00
|
|
|
<android.support.design.widget.TabItem
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_public" />
|
2017-01-19 05:35:07 +11:00
|
|
|
|
2017-01-10 17:14:27 +11:00
|
|
|
</android.support.design.widget.TabLayout>
|
|
|
|
|
|
|
|
</android.support.v4.view.ViewPager>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/overlay_fragment_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
</FrameLayout>
|
2017-01-03 10:30:27 +11:00
|
|
|
|
2017-03-07 11:38:22 +11:00
|
|
|
<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/floating_btn"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:srcCompat="@drawable/ic_create_24dp"/>
|
2017-03-10 09:21:02 +11:00
|
|
|
</android.support.design.widget.CoordinatorLayout>
|