-
-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
This is my layout file:
`
<RelativeLayout android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/relative_layout_qr"
tools:context=".QrActivityAcceso">
<fragment
android:name="com.google.android.gms.samples.vision.barcodereader.BarcodeCapture"
android:id="@+id/barcode_sc"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:gvb_auto_focus="true"
android:layout_margin="5dp"
app:gvb_code_format="all_format"
app:gvb_flash="false"
app:gvb_rect_colors="@array/rect_color" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/floatbutton_flash"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_centerInParent="true"
android:layout_marginBottom="80dp"
android:src="@drawable/ic_bombilla"/>
</RelativeLayout>
`
It seems that match parent attribute doesn't work.
Metadata
Metadata
Assignees
Labels
No labels
