38 lines
1.6 KiB
XML
38 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- 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:visibility="gone"
|
|
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>
|
|
<!-- Main Loader -->
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/loader"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
>
|
|
<ProgressBar
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true" />
|
|
</RelativeLayout>
|
|
</RelativeLayout> |