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

9 lines
1.1 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-07-08 16:44:49 +00:00
<FrameLayout android:background="@color/black" style="@style/UiKit.ViewGroup.Page"
2020-05-17 12:40:10 +00:00
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" />
2020-07-08 16:44:49 +00:00
<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="@dimen/uikit_spacing_medium" 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>