blob: 05cee21a8e6b393ecfce7615de5f6f41aa1cee76 (
plain)
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
|
<?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">
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="|<-"
android:id="@+id/first_page_button"
android:onClick="onFirstPageButton"
android:minWidth="60dp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="<"
android:id="@+id/previous_page_button"
android:onClick="onPreviousPageButton"
android:minWidth="60dp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=">"
android:id="@+id/next_page_button"
android:onClick="onNextPageButton"
android:minWidth="60dp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="->|"
android:id="@+id/last_page_button"
android:onClick="onLastPageButton"
android:minWidth="60dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Medium Text"
android:textColor="@color/white"
android:id="@+id/page_text" />
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/image_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
</ImageView>
</LinearLayout>
</LinearLayout>
|