File: main.xml

package info (click to toggle)
zbar 0.23.93-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,324 kB
  • sloc: ansic: 33,723; objc: 5,735; cpp: 3,289; python: 1,144; java: 818; sh: 720; xml: 716; perl: 491; makefile: 362
file content (28 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent">

  <FrameLayout
    android:id="@+id/cameraPreview"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_weight="1"
  />

  <TextView
    android:id="@+id/scanText"
    android:text="Scanning..."
    android:layout_height="wrap_content"
    android:layout_width="match_parent">
  </TextView>
  <Button
    android:id="@+id/ScanButton"
    android:text="Scan"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
  />
</LinearLayout>