Twidere-App-Android-Twitter.../twidere/src/main/res/layout/activity_home_content.xml

70 lines
2.6 KiB
XML
Raw Normal View History

2014-10-22 09:36:41 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Twidere - Twitter client for Android
~
~ Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
2014-12-01 17:04:55 +01:00
<org.mariotaku.twidere.view.MainFrameLayout
android:id="@+id/home_content"
2014-10-22 09:36:41 +02:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2014-10-22 09:36:41 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent">
<org.mariotaku.twidere.view.ExtendedViewPager
android:id="@+id/main_pager"
android:focusable="true"
android:focusableInTouchMode="false"
2014-10-22 09:36:41 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"/>
2015-01-24 19:07:32 +01:00
<include layout="@layout/layout_empty_tab_hint"/>
2014-10-22 09:36:41 +02:00
2014-10-24 11:32:02 +02:00
<LinearLayout
android:id="@+id/tabs_container"
2014-10-22 09:36:41 +02:00
android:layout_width="match_parent"
2014-10-24 11:32:02 +02:00
android:layout_height="match_parent"
android:orientation="vertical">
2014-10-22 09:36:41 +02:00
2015-04-28 09:18:20 +02:00
<android.support.v7.widget.Toolbar
android:id="@+id/actionbar"
style="?actionBarStyle"
2014-10-24 11:32:02 +02:00
android:layout_width="match_parent"
android:layout_height="?actionBarSize"
app:contentInsetEnd="0dp"
app:contentInsetStart="0dp">
<org.mariotaku.twidere.view.TabPagerIndicator
android:id="@+id/main_tabs"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
app:tabExpandEnabled="true"
app:tabHorizontalPadding="@dimen/element_spacing_normal"/>
2015-04-28 09:18:20 +02:00
</android.support.v7.widget.Toolbar>
2014-10-24 11:32:02 +02:00
<View
android:id="@+id/actionbar_overlay"
android:layout_width="match_parent"
android:layout_height="0dp"
2014-10-24 11:32:02 +02:00
android:layout_weight="1"/>
</LinearLayout>
<include layout="@layout/layout_home_actions_button"/>
2014-12-01 17:04:55 +01:00
</org.mariotaku.twidere.view.MainFrameLayout>