apkfuckery/com.discord/res/layout/widget_qr_scanner.xml
2020-11-12 02:11:44 +00:00

9 lines
No EOL
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="@color/black" style="@style/UiKit.ViewGroup.Page"
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" />
<com.google.android.material.chip.Chip android:textAppearance="@style/UiKit.TextAppearance" android:textColor="@color/white" android:layout_gravity="bottom|center" android:id="@id/qr_scanner_chip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="8.0dip" android:text="@string/qr_code_in_app_scanner_only" app:chipBackgroundColor="@color/brand" />
<com.google.android.material.appbar.AppBarLayout android:layout_gravity="top" style="@style/AppTheme.AppBarLayout.Flat.Transparent">
<androidx.appcompat.widget.Toolbar android:background="@color/primary_900_alpha_80" style="@style/AppTheme.Toolbar" />
</com.google.android.material.appbar.AppBarLayout>
</FrameLayout>