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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. <TextView
  10. android:id="@+id/title"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:layout_centerHorizontal="true"
  14. android:layout_marginTop="10dp"
  15. android:fontFamily="@font/germania_one"
  16. android:lineSpacingExtra="0sp"
  17. android:text="@string/title"
  18. android:textAlignment="center"
  19. android:textAllCaps="false"
  20. android:textColor="@android:color/black"
  21. android:textSize="36sp" />
  22. <RelativeLayout
  23. android:id="@+id/realtivelayout_start"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"
  26. android:layout_gravity="center">
  27. <ImageView
  28. android:id="@+id/schafkopfkarten"
  29. android:layout_width="334dp"
  30. android:layout_height="352dp"
  31. android:layout_centerHorizontal="true"
  32. android:layout_centerVertical="true"
  33. android:src="@drawable/schafkopfkarten" />
  34. <Button
  35. android:id="@+id/startChoosePlayers"
  36. style="?android:borderlessButtonStyle"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:layout_alignParentBottom="true"
  40. android:layout_centerHorizontal="true"
  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. android:textSize="24sp" />
  46. </RelativeLayout>
  47. </android.support.design.widget.CoordinatorLayout>