You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fragment_home.xml 1.5KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <TextView
  6. android:layout_width="wrap_content"
  7. android:layout_height="wrap_content"
  8. android:textAppearance="?android:attr/textAppearanceLarge"
  9. android:text="@string/favourites_stops"
  10. android:id="@+id/textView"
  11. android:layout_alignParentTop="true"
  12. android:layout_alignParentLeft="true"
  13. android:layout_alignParentStart="true"
  14. android:layout_alignParentRight="true"
  15. android:layout_alignParentEnd="true"/>
  16. <android.support.v4.widget.SwipeRefreshLayout
  17. xmlns:android="http://schemas.android.com/apk/res/android"
  18. android:id="@+id/swipeContainer"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:layout_below="@+id/textView"
  22. android:layout_alignParentLeft="true"
  23. android:layout_alignParentStart="true"
  24. android:layout_alignParentRight="true"
  25. android:layout_alignParentEnd="true"
  26. android:layout_alignParentBottom="true">
  27. <android.support.v7.widget.RecyclerView
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:id="@+id/listFavouritesStops"/>
  31. </android.support.v4.widget.SwipeRefreshLayout>
  32. </RelativeLayout>