fragment_headlines_offline.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/headlines_fragment"
  5. android:background="?android:colorBackground"
  6. android:layout_width="fill_parent"
  7. android:layout_height="fill_parent">
  8. <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
  9. android:id="@+id/headlines_swipe_container"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent" >
  12. <ListView
  13. android:id="@+id/headlines_list"
  14. android:drawSelectorOnTop="true"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent" />
  17. </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
  18. <com.shamanland.fab.FloatingActionButton
  19. android:id="@+id/headlines_fab"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_gravity="bottom|right"
  23. android:layout_marginRight="16dp"
  24. android:layout_marginBottom="20dp"
  25. app:floatingActionButtonColor="?colorAccent"
  26. android:src="@drawable/ic_refresh"
  27. />
  28. </FrameLayout>