Skip to content
Permalink
284fb6a0bd
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
60 lines (52 sloc) 2.07 KB
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".develop.mlkit.MLKitFragment"
android:fadeScrollbars="false">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:orientation="horizontal">
<Button
android:id="@+id/textButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Text" />
<Button
android:id="@+id/faceButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Face" />
<Button
android:id="@+id/barcodeButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Barcode" />
<Button
android:id="@+id/objectButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Object" />
</LinearLayout>
<ImageView
android:id="@+id/imagePreview"
android:layout_width="match_parent"
android:layout_height="400dp"
android:cropToPadding="true"/>
<TextView
android:id="@+id/output"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"/>
</LinearLayout>
</ScrollView>