2014-07-03 07:48:39 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-12-24 05:39:21 +01:00
|
|
|
<!--
|
|
|
|
~ 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/>.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<com.sothree.slidinguppanel.SlidingUpPanelLayout
|
2014-07-28 12:42:48 +02:00
|
|
|
android:id="@+id/activities_drawer"
|
2014-12-24 05:39:21 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2014-07-28 12:42:48 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="bottom"
|
2015-02-17 06:49:23 +01:00
|
|
|
app:umanoDragView="@+id/activities_header_title"
|
|
|
|
app:umanoPanelHeight="@dimen/header_height_quick_menu">
|
2014-07-03 07:48:39 +02:00
|
|
|
|
2014-07-28 12:42:48 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/quick_menu_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2014-07-03 07:48:39 +02:00
|
|
|
|
2014-07-28 12:42:48 +02:00
|
|
|
<ListView
|
|
|
|
android:id="@android:id/list"
|
|
|
|
android:layout_width="match_parent"
|
2014-10-22 09:36:41 +02:00
|
|
|
android:layout_height="match_parent"/>
|
2014-07-28 12:42:48 +02:00
|
|
|
</FrameLayout>
|
2014-07-03 07:48:39 +02:00
|
|
|
|
2014-07-28 12:42:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/activities_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2014-07-03 07:48:39 +02:00
|
|
|
|
2014-07-28 12:42:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/activities_header"
|
|
|
|
style="?android:listSeparatorTextViewStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/header_height_quick_menu"
|
|
|
|
android:orientation="horizontal">
|
2014-07-03 07:48:39 +02:00
|
|
|
|
2014-07-28 12:42:48 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/activities_header_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/notifications"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
2014-12-24 05:39:21 +01:00
|
|
|
android:textStyle="bold"/>
|
2014-07-03 07:48:39 +02:00
|
|
|
|
2014-10-22 09:36:41 +02:00
|
|
|
<ImageButton
|
2014-07-28 12:42:48 +02:00
|
|
|
android:id="@+id/activities_config_button"
|
2014-11-09 06:02:43 +01:00
|
|
|
android:layout_width="@dimen/element_size_normal"
|
2014-07-28 12:42:48 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:contentDescription="@string/customize"
|
2014-12-24 05:39:21 +01:00
|
|
|
android:src="@drawable/ic_action_settings"
|
|
|
|
android:text="@string/notifications"/>
|
2014-07-28 12:42:48 +02:00
|
|
|
</LinearLayout>
|
2014-07-03 07:48:39 +02:00
|
|
|
|
2014-07-28 12:42:48 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/activities_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
2014-10-22 09:36:41 +02:00
|
|
|
android:layout_weight="1"/>
|
2014-07-28 12:42:48 +02:00
|
|
|
</LinearLayout>
|
2014-07-03 07:48:39 +02:00
|
|
|
|
|
|
|
</com.sothree.slidinguppanel.SlidingUpPanelLayout>
|