Implement (and use) zxing scanner actvitiy, #noticket
This commit is contained in:
23
android/app/src/main/res/layout/activity_zxing_scanner.xml
Normal file
23
android/app/src/main/res/layout/activity_zxing_scanner.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/zxingRoot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/white">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/zxingToolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="#eb0004"
|
||||
app:titleTextColor="@android:color/white" />
|
||||
|
||||
<View
|
||||
android:id="@+id/zxingToolbarShadow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:layout_marginTop="?attr/actionBarSize"
|
||||
android:background="@drawable/shadow_bottom" />
|
||||
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user