Blame view

res/layout/read_idcard.xml 1.87 KB
3c2353cd   杜方   1、畅游通核销app源码提交;
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  <?xml version="1.0" encoding="utf-8"?>
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" 
      android:background="#ffffff">
      <include layout="@layout/app_top_title" />
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="1"
          android:orientation="vertical"
          android:weightSum="5" >
          <LinearLayout 
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
               android:layout_weight="4"
              android:orientation="horizontal"
              android:gravity="center">
          <ImageView
              android:layout_width="wrap_content"
              android:layout_height="200dp"
              android:src="@drawable/read_idcard" />
          <ImageView 
              android:layout_width="wrap_content"
              android:layout_height="200dp"
              android:src="@drawable/id2"
              />
  		</LinearLayout>
          <TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center_horizontal"
              android:layout_marginTop="15dp"
              android:alpha="0.8"
              android:text="@string/id_stick_to_the_back"
              android:textSize="18dp" />
          <Button
              android:id="@+id/read"
              android:layout_width="150dp"
              android:layout_height="55dp"
              android:layout_gravity="center_horizontal|bottom"
              android:layout_marginTop="25dp"
              android:textSize="20dp"
              android:textColor="#ffffff"
              android:text="@string/click_scan"
              android:background="@drawable/btn_scan_id_selector"
              />
      </LinearLayout>
  
  </LinearLayout>