Android App für SRCP gesteuerte Modelleisenbahnen
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

86 satır
3.0KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. xmlns:android="http://schemas.android.com/apk/res/android"
  6. android:background="#ff9bffc5">
  7. <Button
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. android:text="@string/btn_richtung_text"
  11. android:id="@+id/btn_richtung"
  12. android:layout_marginBottom="58dp"
  13. android:layout_alignParentBottom="true"
  14. android:layout_centerHorizontal="true" />
  15. <SeekBar
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:id="@+id/seekBar"
  19. android:rotation="270"
  20. android:minWidth="250dp"
  21. android:layout_below="@+id/lok_name"
  22. android:layout_centerHorizontal="true"
  23. android:layout_marginTop="131dp" />
  24. <TextView
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:text="@string/lok_name"
  28. android:id="@+id/lok_name"
  29. android:layout_alignParentTop="true"
  30. android:layout_centerHorizontal="true"
  31. android:layout_marginTop="41dp"
  32. android:textSize="30sp" />
  33. <CheckBox
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:text="@string/funktion_1"
  37. android:id="@+id/funktion_1"
  38. android:layout_below="@+id/lok_name"
  39. android:layout_toLeftOf="@+id/lok_name"
  40. android:layout_marginTop="45dp"
  41. android:onClick="onCheckboxClicked" />
  42. <CheckBox
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:text="@string/funktion_3"
  46. android:id="@+id/funktion_3"
  47. android:layout_alignTop="@+id/funktion_1"
  48. android:layout_toRightOf="@+id/lok_name"
  49. android:onClick="onCheckboxClicked" />
  50. <CheckBox
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:text="@string/funktion_2"
  54. android:id="@+id/funktion_2"
  55. android:layout_alignTop="@+id/seekBar"
  56. android:layout_alignLeft="@+id/funktion_1"
  57. android:layout_alignStart="@+id/funktion_1"
  58. android:onClick="onCheckboxClicked" />
  59. <CheckBox
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:text="@string/funktion_4"
  63. android:id="@+id/funktion_4"
  64. android:layout_alignTop="@+id/seekBar"
  65. android:layout_alignLeft="@+id/funktion_3"
  66. android:layout_alignStart="@+id/funktion_3"
  67. android:onClick="onCheckboxClicked" />
  68. <TextView
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:textAppearance="?android:attr/textAppearanceLarge"
  72. android:text="Large Text"
  73. android:id="@+id/tv_direction"
  74. android:layout_centerHorizontal="true"
  75. android:layout_marginTop="470dp"/>
  76. </RelativeLayout>