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.

cardcapture.xml 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent">
  6. <FrameLayout
  7. android:id="@+id/cameraPreview"
  8. android:layout_width="fill_parent"
  9. android:layout_height="fill_parent"
  10. android:layout_alignParentTop="true">
  11. </FrameLayout>
  12. <TextView
  13. android:id="@+id/capture_log"
  14. android:layout_width="match_parent"
  15. android:layout_height="200dp"
  16. android:layout_above="@id/capture"
  17. android:background="@drawable/woodentable"
  18. android:scrollbars="vertical"
  19. android:text="@string/app_name"
  20. android:textColor="@android:color/black"
  21. android:textSize="18sp" />
  22. <Button
  23. android:id="@+id/capture_done"
  24. style="?android:borderlessButtonStyle"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:layout_above="@+id/cameraPreview"
  28. android:layout_alignParentEnd="false"
  29. android:layout_alignParentBottom="true"
  30. android:layout_centerHorizontal="true"
  31. android:background="@android:color/holo_green_dark"
  32. android:fontFamily="@font/germania_one"
  33. android:text="@string/confirm"
  34. android:textColor="@android:color/black"
  35. android:textSize="24sp" />
  36. <Button
  37. android:id="@+id/capture"
  38. style="@style/Widget.AppCompat.Button"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:layout_above="@+id/capture_done"
  42. android:layout_alignParentBottom="false"
  43. android:layout_centerHorizontal="true"
  44. android:background="@color/colorPrimary"
  45. android:fontFamily="@font/germania_one"
  46. android:text="@string/capture"
  47. android:textColor="@android:color/black"
  48. android:textSize="24sp" />
  49. </RelativeLayout>