Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:orientation="vertical"
  7.    android:layout_height="match_parent"
  8.    tools:context=".MainActivity">
  9.  
  10.     <LinearLayout
  11.        android:layout_width="match_parent"
  12.        android:layout_height="wrap_content"
  13.        android:orientation="horizontal"
  14.        android:gravity="center"
  15.        android:layout_marginBottom="10dp">
  16.  
  17.         <EditText
  18.            android:id="@+id/noqr"
  19.            android:layout_width="wrap_content"
  20.            android:layout_height="wrap_content"
  21.            android:ems="10"
  22.            android:imeOptions="actionDone"
  23.            android:singleLine="true"
  24.            android:hint="Input Nomor Barcode" />
  25.  
  26.         <Button
  27.            android:id="@+id/cekqr"
  28.            android:layout_width="80dp"
  29.            android:layout_height="35dp"
  30.            android:layout_marginLeft="20dp"
  31.            android:background="@color/colorAccent"
  32.            android:text="CEK" />
  33.  
  34.     </LinearLayout>
  35.  
  36.     <Button
  37.        android:id="@+id/scanqrbt"
  38.        android:layout_width="match_parent"
  39.        android:layout_height="wrap_content"
  40.        android:text="SCAN QR CODE" />
  41.  
  42.     <WebView
  43.        android:id="@+id/webhasil"
  44.        android:layout_width="match_parent"
  45.        android:layout_height="match_parent" />
  46.  
  47. </LinearLayout>