Projekt Schafkopfpunktezähler: Erster Prototyp einer App, die dem Benutzer die Notwendigkeit des Punktezählens beim Schafkopfspiel abnimmt.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

start_activity.xml 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@drawable/woodentable"
  8. tools:context=".StartActivity">
  9. <RelativeLayout
  10. android:id="@+id/realtivelayout_start"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content">
  13. <TextView
  14. android:id="@+id/title"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_alignParentTop="true"
  18. android:layout_toEndOf="@+id/schafkopfkarten"
  19. android:fontFamily="@font/germania_one"
  20. android:lineSpacingExtra="0sp"
  21. android:text="@string/title"
  22. android:textAlignment="center"
  23. android:textAllCaps="false"
  24. android:textColor="@android:color/black"
  25. android:textSize="30sp" />
  26. <ImageView
  27. android:id="@+id/schafkopfkarten"
  28. android:layout_width="334dp"
  29. android:layout_height="352dp"
  30. android:layout_alignParentBottom="true"
  31. android:layout_alignParentStart="true"
  32. android:src="@drawable/schafkopfkarten" />
  33. <Button
  34. android:id="@+id/startMain"
  35. style="?android:borderlessButtonStyle"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_alignParentEnd="true"
  39. android:layout_centerVertical="true"
  40. android:layout_marginEnd="164dp"
  41. android:background="@android:color/holo_green_dark"
  42. android:fontFamily="@font/germania_one"
  43. android:text="@string/startMain"
  44. android:textColor="@android:color/black" />
  45. </RelativeLayout>
  46. </android.support.design.widget.CoordinatorLayout>