ppamorim

Untitled

May 5th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.42 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent">
  6.  
  7.     <RelativeLayout
  8.        android:id="@+id/feed_loader"
  9.        android:layout_width="match_parent"
  10.        android:layout_height="match_parent"
  11.        android:background="@color/description_bar"
  12.        android:visibility="visible">
  13.         <ProgressBar
  14.            android:id="@+id/loadingCircle"
  15.            android:layout_width="wrap_content"
  16.            android:layout_height="wrap_content"
  17.            android:layout_centerInParent="true"
  18.            android:indeterminateDrawable="@drawable/loader_drawable"
  19.            android:indeterminate="true" />
  20.  
  21.         <TextView
  22.            android:id="@+id/loading_text"
  23.            android:layout_width="wrap_content"
  24.            android:layout_height="wrap_content"
  25.            android:layout_centerInParent="true"
  26.            android:gravity="center_horizontal"
  27.            android:text="@string/loading_home"
  28.            android:layout_margin="16dp"
  29.            android:textColor="@color/standard_white"
  30.            android:layout_below="@+id/loadingCircle"/>
  31.  
  32.         <Button
  33.            android:id="@+id/try_again"
  34.            android:layout_width="wrap_content"
  35.            android:layout_height="wrap_content"
  36.            android:text="@string/try_again"
  37.            android:padding="16dp"
  38.            android:layout_below="@+id/loading_text"
  39.            android:layout_centerInParent="true"
  40.            android:textColor="@color/standard_white"
  41.            android:background="@drawable/selector_facebook_button"
  42.            android:visibility="gone"/>
  43.  
  44.         </RelativeLayout>
  45.  
  46.     <uk.co.senab.actionbarpulltorefresh.extras.actionbarcompat.PullToRefreshLayout
  47.        android:id="@+id/ptr_layout"
  48.        android:layout_width="match_parent"
  49.        android:layout_height="match_parent"
  50.        android:visibility="gone">
  51.  
  52.         <ListView
  53.            android:id="@+id/listView_feed"
  54.            android:layout_width="match_parent"
  55.            android:layout_height="match_parent"
  56.            android:scrollbars="none"
  57.            android:clickable="true"
  58.            android:dividerHeight="0dp"
  59.            android:divider="@color/transparent_white"/>
  60.  
  61.     </uk.co.senab.actionbarpulltorefresh.extras.actionbarcompat.PullToRefreshLayout>
  62.  
  63. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment