Blame view

C5/app/src/main/res/layout/fragment_firm_update.xml 2.81 KB
fac86401   孙向锦   初始化C5 Vote
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
77
78
79
80
81
82
83
84
85
86
  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@color/votebakground">
  
      <TextView
          android:id="@+id/firm_update_title"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="30dp"
          android:textSize="48sp" />
  
      <TextView
          android:id="@+id/firm_update_ver"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@id/firm_update_title"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="100dp"
          android:textSize="30sp" />
  
      <TextView
          android:id="@+id/firm_update_info"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@id/firm_update_ver"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="40dp"
          android:textSize="30sp" />
  
      <TextView
          android:id="@+id/firm_update_ver2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@id/firm_update_info"
          android:layout_centerHorizontal="true"
          android:layout_marginTop="30dp"
          android:textSize="30sp" />
  
      <Button
          android:id="@+id/firm_update_btn_retry"
          android:layout_width="100px"
          android:layout_height="60px"
          android:layout_alignParentLeft="true"
          android:layout_below="@id/firm_update_ver2"
          android:layout_centerHorizontal="true"
          android:background="@drawable/agree_selector"
          android:gravity="center"
          android:text="重试"
          android:textColor="@color/white"
          android:textSize="30px"
          android:textStyle="bold" />
  
  
      <LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_margin="30dp"
  
          android:layout_below="@id/firm_update_btn_retry"
          android:background="#EEEEEE"
          android:orientation="horizontal">
  
          <ScrollView
              android:id="@+id/firm_update_scrview"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:fillViewport="false"
              android:padding="5dp"
              android:scrollbars="vertical">
  
              <TextView
                  android:id="@+id/firm_update_txt_log"
                  android:layout_width="fill_parent"
                  android:layout_height="fill_parent"
                  android:layout_weight="1.0"
                  android:minLines="4" />
  
          </ScrollView>
  
  
      </LinearLayout>
  
  </RelativeLayout>