Browse Source

slight modification to QR Code reader to accomodate Android tablets

master
jahway603 4 years ago
parent
commit
fbd1c70b39
  1. 5
      app/src/main/res/layout/activity_settings.xml
  2. 4
      app/src/main/res/layout/custom_qrcode_layout.xml

5
app/src/main/res/layout/activity_settings.xml

@ -114,7 +114,7 @@
<TextView
android:id="@+id/customWormholeTitle"
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:text="@string/current_wormhole_title"
@ -177,10 +177,9 @@
<TextView
android:id="@+id/textView11"
android:layout_width="wrap_content"
android:layout_height="32dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="24dp"
android:text="@string/currency"
android:textAlignment="center"
android:textIsSelectable="false"

4
app/src/main/res/layout/custom_qrcode_layout.xml

@ -9,8 +9,8 @@
android:id="@+id/zxing_barcode_surface"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:zxing_framing_rect_height="300dp"
app:zxing_framing_rect_width="300dp" />
app:zxing_framing_rect_height="400dp"
app:zxing_framing_rect_width="400dp" />
<com.journeyapps.barcodescanner.ViewfinderView
android:id="@+id/zxing_viewfinder_view"

Loading…
Cancel
Save