Android App für SRCP gesteuerte Modelleisenbahnen
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

66 lines
2.2KB

  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" android:layout_height="match_parent">
  4. <TextView
  5. android:layout_width="wrap_content"
  6. android:layout_height="wrap_content"
  7. android:text="@string/tv_ip"
  8. android:id="@+id/tv_ip"
  9. android:layout_marginTop="52dp"
  10. android:textSize="24dp"
  11. android:layout_alignParentTop="true"
  12. android:layout_centerHorizontal="true" />
  13. <TextView
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:text="@string/tv_port"
  17. android:id="@+id/tv_port"
  18. android:textSize="24dp"
  19. android:layout_marginTop="43dp"
  20. android:layout_below="@+id/et_ip"
  21. android:layout_centerHorizontal="true" />
  22. <EditText
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:id="@+id/et_ip"
  26. android:layout_below="@+id/tv_ip"
  27. android:layout_centerHorizontal="true" />
  28. <EditText
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:id="@+id/et_port"
  32. android:layout_below="@+id/tv_port"
  33. android:layout_centerHorizontal="true"/>
  34. <Button
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:text="@string/btn_accept"
  38. android:id="@+id/btn_accept"
  39. android:layout_below="@+id/et_port"
  40. android:layout_centerHorizontal="true"
  41. android:layout_marginTop="48dp"/>
  42. <Button
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:text="@string/btn_add_lok"
  46. android:id="@+id/btn_add_lok"
  47. android:layout_below="@+id/btn_accept"
  48. android:layout_centerHorizontal="true"
  49. android:layout_marginTop="43dp" />
  50. <Button
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:text="@string/btn_saveConfig"
  54. android:id="@+id/btn_saveConfig"
  55. android:layout_below="@+id/btn_add_lok"
  56. android:layout_centerHorizontal="true" />
  57. </RelativeLayout>