Blame view

C5/app/src/main/res/layout/fragment_multi_title_detail.xml 4.06 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
  <?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">
  
  
      <ImageButton
          android:id="@+id/mutli_title_detail_btnback"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginLeft="20dp"
          android:layout_marginTop="20dp"
          android:background="@drawable/back_selector" />
  
  
      <ScrollView
          android:id="@+id/mutli_title_detail_scview"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_below="@id/mutli_title_detail_btnback"
          android:layout_marginLeft="20dp"
          android:layout_marginRight="20dp"
          android:layout_marginTop="20dp"
          android:fillViewport="false"
          android:scrollbars="none">
  
          <TextView
              android:id="@+id/mutli_title_detail_content"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_centerInParent="true"
              android:background="@color/white"
              android:gravity="center"
              android:text="@string/please_vote"
              android:textColor="@color/black"
              android:textSize="@dimen/big_text_p3"/>
      </ScrollView>
  
      <TextView
          android:id="@+id/mutli_title_detail_tv_tips"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_centerHorizontal="true"
          android:layout_marginBottom="30dp"
          android:text="@string/please_press_key"
          android:textColor="#878787"
          android:textSize="@dimen/big_text_p5" />
  
      <Button
          android:id="@+id/mutli_title_detail_btnB"
          android:layout_width="200dp"
          android:layout_height="60dp"
          android:layout_above="@id/mutli_title_detail_tv_tips"
          android:layout_centerHorizontal="true"
          android:layout_marginBottom="20dp"
          android:background="@drawable/oppos_selector"
          android:text="@string/oppose"
          android:textColor="@color/white"
          android:textSize="@dimen/big_text_p4"
          android:textStyle="bold" />
  
      <Button
          android:id="@+id/mutli_title_detail_btnA"
          android:layout_width="200dp"
          android:layout_height="60dp"
          android:layout_above="@id/mutli_title_detail_tv_tips"
          android:layout_marginBottom="20dp"
          android:layout_marginRight="20dp"
          android:layout_toLeftOf="@id/mutli_title_detail_btnB"
          android:background="@drawable/agree_selector"
          android:text="@string/agree"
          android:textColor="@color/white"
          android:textSize="@dimen/big_text_p4"
          android:textStyle="bold" />
  
      <Button
          android:id="@+id/mutli_title_detail_btnC"
          android:layout_width="200dp"
          android:layout_height="60dp"
          android:layout_above="@id/mutli_title_detail_tv_tips"
          android:layout_marginBottom="20dp"
          android:layout_marginLeft="20dp"
          android:layout_toRightOf="@id/mutli_title_detail_btnB"
          android:background="@drawable/abstain_selector"
          android:text="@string/abstant"
          android:textColor="@color/white"
          android:textSize="@dimen/big_text_p4"
          android:textStyle="bold" />
  
  
      <TextView
          android:id="@+id/mutli_title_detail_tv_result"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignRight="@id/mutli_title_detail_scview"
          android:layout_alignTop="@id/mutli_title_detail_scview"
          android:layout_marginRight="40dp"
          android:alpha="0.9"
          android:background="@drawable/voted_empty"
          android:gravity="center"
          android:rotation="-20"
          android:text=""
          android:textColor="#ddff9933"
          android:textSize="@dimen/big_text_p3"
          android:textStyle="bold"
          android:visibility="visible" />
  
  </RelativeLayout>