2017-05-05 16:36:04 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-10-28 18:58:34 +02:00
|
|
|
<android.support.v4.widget.DrawerLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-05-05 16:36:04 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-10-28 18:58:34 +02:00
|
|
|
android:id="@+id/drawer_layout"
|
2017-05-05 16:36:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-10-28 18:58:34 +02:00
|
|
|
android:fitsSystemWindows="true"
|
2017-05-05 16:36:04 +02:00
|
|
|
>
|
2017-10-28 18:58:34 +02:00
|
|
|
|
|
|
|
<android.support.design.widget.CoordinatorLayout
|
2017-05-05 16:36:04 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-10-28 18:58:34 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context="fr.gouv.etalab.mastodon.activities.HashTagActivity">
|
|
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:id="@+id/appBar"
|
2017-06-30 19:14:25 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-10-28 18:58:34 +02:00
|
|
|
android:theme="@style/AppTheme.AppBarOverlay"
|
|
|
|
>
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
|
|
app:popupTheme="?attr/popupOverlay"/>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
2017-10-29 07:32:52 +01:00
|
|
|
<!-- Framelayout to display Fragments -->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/main_app_container"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:paddingLeft="@dimen/fab_margin"
|
|
|
|
android:paddingRight="@dimen/fab_margin"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
|
tools:context="fr.gouv.etalab.mastodon.activities.ShowConversationActivity"
|
|
|
|
>
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:id="@+id/swipeContainer"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/lv_status"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:scrollbars="none"
|
|
|
|
android:divider="@null" />
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
</RelativeLayout>
|
2017-10-28 18:58:34 +02:00
|
|
|
</android.support.design.widget.CoordinatorLayout>
|
|
|
|
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|