2018-07-26 17:04:44 +02:00
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-08-20 16:33:00 +02:00
|
|
|
android:id="@+id/coordinator_layout_post_fragment"
|
|
|
|
tools:context="ml.docilealligator.infinityforreddit.PostFragment">
|
2018-07-26 17:04:44 +02:00
|
|
|
|
2018-12-27 08:14:10 +01:00
|
|
|
<com.lsjwzh.widget.materialloadingprogressbar.CircleProgressBar
|
2018-08-20 16:33:00 +02:00
|
|
|
android:id="@+id/progress_bar_post_fragment"
|
2018-07-26 17:04:44 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-20 16:33:00 +02:00
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
2018-12-27 08:14:10 +01:00
|
|
|
app:mlpb_progress_stoke_width="3dp"
|
|
|
|
app:mlpb_progress_color="@color/colorAccent"
|
|
|
|
android:layout_gravity="center_horizontal"/>
|
2018-07-26 17:04:44 +02:00
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
2018-08-20 16:33:00 +02:00
|
|
|
android:id="@+id/recycler_view_post_fragment"
|
2018-07-26 17:04:44 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
2018-08-30 08:08:02 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/fetch_post_error_linear_layout_post_fragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/fetch_post_error_image_view_post_fragment"
|
|
|
|
android:layout_width="150dp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/load_posts_error"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-08-20 16:33:00 +02:00
|
|
|
<!--<android.support.design.widget.FloatingActionButton
|
|
|
|
android:id="@+id/fab_post_fragment"
|
2018-07-26 17:04:44 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_margin="@dimen/fab_margin"
|
2018-08-20 16:33:00 +02:00
|
|
|
app:srcCompat="@drawable/baseline_add_white_24" />-->
|
2018-07-26 17:04:44 +02:00
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|