Added Android code
[wl-app.git] / Android / folioreader / res / layout / folio_page_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:id="@+id/rlContainer"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     android:orientation="vertical">
7     <com.folioreader.view.ObservableWebView
8         android:id="@+id/contentWebView"
9         android:layout_width="match_parent"
10         android:layout_height="match_parent"
11         android:layout_above="@+id/indicatorLayout"
12         android:paddingBottom="2dp" />
13     <com.folioreader.view.VerticalSeekbar
14         android:id="@+id/scrollSeekbar"
15         android:layout_width="wrap_content"
16         android:layout_height="match_parent"
17         android:layout_above="@+id/indicatorLayout"
18         android:layout_alignParentRight="true"
19         android:layout_marginRight="2dp"
20         android:animateLayoutChanges="true"
21         android:thumb="@drawable/thumb"
22         android:visibility="invisible" />
23     <LinearLayout
24         android:id="@+id/indicatorLayout"
25         android:layout_width="match_parent"
26         android:layout_height="wrap_content"
27         android:layout_alignParentBottom="true"
28         android:gravity="center"
29         android:orientation="horizontal"
30         android:paddingBottom="2dp">
31         <TextView
32             android:visibility="gone"
33             android:id="@+id/minutesLeft"
34             android:layout_width="wrap_content"
35             android:layout_height="wrap_content"
36             android:textColor="#888888"
37             android:textSize="7sp" />
38         <TextView
39             android:id="@+id/pagesLeft"
40             android:layout_width="wrap_content"
41             android:layout_height="wrap_content"
42             android:textColor="#bbbbbb"
43             android:textSize="8sp" />
44     </LinearLayout>
45 </RelativeLayout>