Blame view

res/layout/app_main.xml 2.46 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="#ffffff"
      android:orientation="vertical"
      android:weightSum="2.1">
  
      <ImageView
          android:id="@+id/logo"
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="0.7"
          android:contentDescription="@string/app_name"
          android:scaleType="fitXY"
          android:src="@drawable/main_qne" />
  
      <GridView
          android:id="@+id/gridView1"
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_marginLeft="4dp"
          android:layout_marginRight="4dp"
          android:layout_marginTop="25dp"
          android:layout_weight="1.3"
          android:horizontalSpacing="10dp"
          android:numColumns="2"
          android:verticalSpacing="15dp">
          <!--android:horizontalSpacing="25dp"  android:verticalSpacing="35dp" -->
      </GridView>
  
      <View
          android:layout_width="match_parent"
          android:layout_height="0.5dp"
          android:layout_marginTop="15dp"
          android:background="#cccccc" />
  
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal">
  
          <TextView
              android:id="@+id/username"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:gravity="center"
              android:layout_weight="1"
              android:layout_marginTop="8dp"
              android:textSize="16sp"
              android:visibility="gone"
              android:text="操作员登录" />
          <TextView
              android:id="@+id/login"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:gravity="center"
              android:layout_weight="1"
              android:layout_marginTop="8dp"
              android:textSize="18sp"
              android:text="操作员登录" />
  
          <TextView
              android:id="@+id/unlogin"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:gravity="center"
              android:layout_weight="1"
              android:textSize="18sp"
              android:layout_marginTop="8dp"
              android:text="注销操作员"
              />
  
      </LinearLayout>
  
  
  </LinearLayout>