Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- android:id="@+id/feed_loader"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/description_bar"
- android:visibility="visible">
- <ProgressBar
- android:id="@+id/loadingCircle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:indeterminateDrawable="@drawable/loader_drawable"
- android:indeterminate="true" />
- <TextView
- android:id="@+id/loading_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:gravity="center_horizontal"
- android:text="@string/loading_home"
- android:layout_margin="16dp"
- android:textColor="@color/standard_white"
- android:layout_below="@+id/loadingCircle"/>
- <Button
- android:id="@+id/try_again"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/try_again"
- android:padding="16dp"
- android:layout_below="@+id/loading_text"
- android:layout_centerInParent="true"
- android:textColor="@color/standard_white"
- android:background="@drawable/selector_facebook_button"
- android:visibility="gone"/>
- </RelativeLayout>
- <uk.co.senab.actionbarpulltorefresh.extras.actionbarcompat.PullToRefreshLayout
- android:id="@+id/ptr_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone">
- <ListView
- android:id="@+id/listView_feed"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scrollbars="none"
- android:clickable="true"
- android:dividerHeight="0dp"
- android:divider="@color/transparent_white"/>
- </uk.co.senab.actionbarpulltorefresh.extras.actionbarcompat.PullToRefreshLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment