apkfuckery/com.discord/res/layout/widget_qr_scanner.xml

8 lines
1.4 KiB
XML
Raw Normal View History

2019-12-20 07:00:35 +00:00
<?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>