Browse Source

Aktuelle xml Datei zur Darstellung der Preview der Kamera kann später gelöscht werden nur zu Testzwecken.

Kamera
Michael Pilhoefer 1 year ago
parent
commit
3a251ae72c
1 changed files with 41 additions and 0 deletions
  1. 41
    0
      app/src/main/res/layout/activity_demo_kamera2_nebenaktivitaet.xml

+ 41
- 0
app/src/main/res/layout/activity_demo_kamera2_nebenaktivitaet.xml View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".KameraAktivitaet">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/erklaerung">
<androidx.camera.view.PreviewView
android:id="@+id/previewView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<TextView
android:id="@+id/alarm"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:text="" />

<TextView
android:id="@+id/luminanz"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_gravity="center"
android:gravity="center"
android:textSize="100sp"
android:textColor="#9999ff"/>
</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

Loading…
Cancel
Save