December 2018
Intermediate to advanced
274 pages
7h 46m
English
In your activity_main.xml file, which resides in your assets/layouts folder, you need to input the following code:
<?xml version="1.0" encoding="utf-8"?><RelativeLayout 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" tools:context="com.example.avinaas.imagelabelling.MainActivity"><TextureView android:id="@+id/preview" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@id/btn_takepic" android:layout_alignParentTop="true"/> <Button android:id="@+id/btn_takepic" android:layout_width="wrap_content" android:layout_height="wrap_content" ...
Read now
Unlock full access