Android App für SRCP gesteuerte Modelleisenbahnen
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

39 lignes
1.7KB

  1. <!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
  2. <android.support.v4.widget.DrawerLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/drawer_layout"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".MyActivity">
  9. <!-- As the main content view, the view below consumes the entire
  10. space available using match_parent in both dimensions. -->
  11. <FrameLayout
  12. android:id="@+id/container"
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent" >
  15. <TextView
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:id="@+id/tv_ip"
  19. android:layout_gravity="right|bottom" />
  20. </FrameLayout>
  21. <!-- android:layout_gravity="start" tells DrawerLayout to treat
  22. this as a sliding drawer on the left side for left-to-right
  23. languages and on the right side for right-to-left languages.
  24. If you're not building against API 17 or higher, use
  25. android:layout_gravity="left" instead. -->
  26. <!-- The drawer is given a fixed width in dp and extends the full height of
  27. the container. -->
  28. <fragment android:id="@+id/navigation_drawer"
  29. android:layout_width="@dimen/navigation_drawer_width"
  30. android:layout_height="match_parent"
  31. android:layout_gravity="start"
  32. android:name="de.erich.railcontrol.NavigationDrawerFragment"
  33. tools:layout="@layout/fragment_navigation_drawer" />
  34. </android.support.v4.widget.DrawerLayout>