Gruppe 1
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.

activity_main.xml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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:layout_gravity="center"
  8. android:gravity="top"
  9. android:orientation="vertical"
  10. tools:context=".MainActivity">
  11. <androidx.camera.view.PreviewView
  12. android:id="@+id/previewView"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:backgroundTint="@android:color/black"/>
  16. <ToggleButton
  17. android:id="@+id/toggleButton"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:text="ToggleButton" />
  21. <ImageView
  22. android:id="@+id/inputImageView"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. tools:srcCompat="@tools:sample/avatars" />
  26. <ImageView
  27. android:id="@+id/outputImageView"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. tools:srcCompat="@tools:sample/avatars" />
  31. <androidx.camera.view.PreviewView
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content" />
  34. </LinearLayout>