Added Android code
[wl-app.git] / Android / folioreader / res / layout / folio_page_fragment.xml
diff --git a/Android/folioreader/res/layout/folio_page_fragment.xml b/Android/folioreader/res/layout/folio_page_fragment.xml
new file mode 100755 (executable)
index 0000000..7a5098d
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:id="@+id/rlContainer"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:orientation="vertical">
+    <com.folioreader.view.ObservableWebView
+        android:id="@+id/contentWebView"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:layout_above="@+id/indicatorLayout"
+        android:paddingBottom="2dp" />
+    <com.folioreader.view.VerticalSeekbar
+        android:id="@+id/scrollSeekbar"
+        android:layout_width="wrap_content"
+        android:layout_height="match_parent"
+        android:layout_above="@+id/indicatorLayout"
+        android:layout_alignParentRight="true"
+        android:layout_marginRight="2dp"
+        android:animateLayoutChanges="true"
+        android:thumb="@drawable/thumb"
+        android:visibility="invisible" />
+    <LinearLayout
+        android:id="@+id/indicatorLayout"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_alignParentBottom="true"
+        android:gravity="center"
+        android:orientation="horizontal"
+        android:paddingBottom="2dp">
+        <TextView
+            android:visibility="gone"
+            android:id="@+id/minutesLeft"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:textColor="#888888"
+            android:textSize="7sp" />
+        <TextView
+            android:id="@+id/pagesLeft"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:textColor="#bbbbbb"
+            android:textSize="8sp" />
+    </LinearLayout>
+</RelativeLayout>
\ No newline at end of file