Created
December 30, 2017 15:02
-
-
Save prakashpun/d52e787cdcfe749da5a49d22686dbe98 to your computer and use it in GitHub Desktop.
Layout file for activity
This file contains 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"?> | |
<LinearLayout 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" | |
android:orientation="vertical" | |
android:weightSum="5" | |
tools:context="com.tuts.prakash.simpleocr.MainActivity"> | |
<SurfaceView | |
android:id="@+id/surfaceView" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="4" /> | |
<TextView | |
android:id="@+id/text_view" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_margin="8dp" | |
android:layout_weight="1" | |
android:gravity="center" | |
android:textStyle="bold" | |
android:text="@string/txt_message" | |
android:textColor="@android:color/black" | |
android:textSize="20sp" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment