1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout 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"
- android:layout_gravity="center"
- android:gravity="top"
- android:orientation="vertical"
- tools:context=".MainActivity">
-
-
- <androidx.camera.view.PreviewView
- android:id="@+id/previewView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:backgroundTint="@android:color/black"/>
-
- <ToggleButton
- android:id="@+id/toggleButton"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="ToggleButton" />
-
- <ImageView
- android:id="@+id/inputImageView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- tools:srcCompat="@tools:sample/avatars" />
-
- <ImageView
- android:id="@+id/outputImageView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- tools:srcCompat="@tools:sample/avatars" />
-
- <androidx.camera.view.PreviewView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
-
- </LinearLayout>
|