apkfuckery/com.discord/res/layout/widget_qr_scanner.xml
2019-12-20 08:00:35 +01:00

8 lines
No EOL
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RelativeLayout"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<me.dm7.barcodescanner.zxing.ZXingScannerView android:id="@id/qr_scanner" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<androidx.cardview.widget.CardView android:textAppearance="@style/UiKit.TextView" android:id="@id/qr_scanner_chip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_alignParentBottom="true" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:cardBackgroundColor="@color/brand_500" app:cardCornerRadius="16.0dip">
<TextView android:textColor="@color/white" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginBottom="@dimen/uikit_spacing_small" android:text="@string/qr_code_in_app_scanner_only" android:textAlignment="center" style="@style/UiKit.TextView" />
</androidx.cardview.widget.CardView>
</RelativeLayout>