activity_resource_list.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@drawable/background"
  6. android:orientation="vertical"
  7. tools:context="app.mar.activities.ResourceListActivity">
  8. <!-- The primary full-screen view. This can be replaced with whatever view
  9. is needed to present your content, e.g. VideoView, SurfaceView,
  10. TextureView, etc. -->
  11. <!-- This FrameLayout insets its children based on system windows using
  12. android:fitsSystemWindows. -->
  13. <Button
  14. android:layout_width="match_parent"
  15. android:layout_height="70dp"
  16. android:text="Inventaire"
  17. android:id="@+id/button5"
  18. android:layout_gravity="center_horizontal"
  19. android:background="@drawable/title"
  20. android:textColor="@color/dull_4"
  21. android:textStyle="bold"
  22. android:textSize="30dp" />
  23. <ListView
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"
  26. android:id="@+id/list_layout"
  27. android:scrollingCache="true"
  28. android:choiceMode="singleChoice"
  29. android:fastScrollEnabled="true"
  30. android:fastScrollAlwaysVisible="true"
  31. android:longClickable="false" />
  32. </LinearLayout>