Created
November 20, 2018 23:37
-
-
Save JakeSteam/95c34f65a274bf828f8631c24050ce10 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment