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

64 lines
2.5 KiB
XML
Raw Normal View History

2014-07-03 07:48:39 +02:00
<?xml version="1.0" encoding="utf-8"?>
<com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:android="http://schemas.android.com/apk/res/android"
2014-07-28 12:42:48 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/activities_drawer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom"
app:dragView="@+id/activities_header_title"
app:panelHeight="@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"
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"
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"
android:text="@string/notifications"
android:src="@drawable/ic_action_settings" />
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>