Blame view

C5/app/src/main/res/layout/fragment_document_browser.xml 3.34 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
  <?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/document_browser_btnback"
           android:background="@drawable/back_selector"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_marginLeft="@dimen/content_margin"
           android:layout_marginTop="@dimen/content_margin"
           android:visibility="gone"/>
      
      <TextView
          android:id="@+id/document_browser_title"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_marginLeft="@dimen/content_margin"
          android:layout_marginTop="@dimen/content_margin"
          android:layout_marginRight="@dimen/content_margin"
          android:layout_toRightOf="@id/document_browser_btnback"
          android:text="@string/doc_title"
          android:gravity="center"
          android:textColor="@color/black"
          android:textSize="@dimen/big_text_p3"
          android:textStyle="bold"/>
  
      <RelativeLayout
          android:id="@+id/document_browser_pannal_bottom"
          android:layout_width="match_parent"
          android:layout_height="80dp"
          android:layout_alignParentBottom="true"
          android:alpha="0.9"
          android:background="@drawable/gray_alpha"
          android:visibility="visible" >
  
           
  
          <View
              android:id="@+id/document_browser_page"
              android:layout_width="@dimen/button_width"
              android:layout_height="@dimen/content_margin"
              android:layout_centerInParent="true"
              android:textSize="@dimen/big_text_p4"
              android:visibility="invisible" />
  
          <Button
              android:id="@+id/document_browser_pageup"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerVertical="true"
              android:layout_toLeftOf="@id/document_browser_page"
              android:background="@drawable/page_selector"
              android:text="@string/page_up"
              android:textSize="@dimen/big_text_p4" />
  
          <Button
              android:id="@+id/document_browser_pagedown"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerVertical="true"
              android:layout_toRightOf="@id/document_browser_page"
              android:background="@drawable/page_selector"
              android:text="@string/page_down"
              android:textSize="@dimen/big_text_p4" />
  
          
      </RelativeLayout>
  
      <ListView
          android:id="@+id/document_browser_listview"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_above="@id/document_browser_pannal_bottom"
          android:layout_below="@id/document_browser_title"
          android:layout_marginBottom="1dp"
          android:layout_marginLeft="@dimen/content_margin"
          android:layout_marginRight="@dimen/content_margin"
          android:layout_marginTop="@dimen/content_margin"
          android:divider="@color/votebakground"
          android:dividerHeight="2dp"
          android:fastScrollEnabled="false" >
      </ListView>
  
  </RelativeLayout>