Added Android code
[wl-app.git] / Android / folioreader / res / layout / action_item_horizontal.xml
diff --git a/Android/folioreader/res/layout/action_item_horizontal.xml b/Android/folioreader/res/layout/action_item_horizontal.xml
new file mode 100755 (executable)
index 0000000..c6e7211
--- /dev/null
@@ -0,0 +1,28 @@
+<RelativeLayout
+        xmlns:android="http://schemas.android.com/apk/res/android"
+        android:orientation="horizontal"
+        android:layout_width="fill_parent"
+        android:layout_height="wrap_content"
+        android:clickable="true"
+        android:focusable="true"
+        android:background="@drawable/transparent_selector">
+
+    <ImageView
+            android:id="@+id/iv_icon"
+            android:layout_centerHorizontal="true"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"/>
+
+    <TextView
+            android:id="@+id/tv_title"
+            android:layout_below="@+id/iv_icon"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_centerHorizontal="true"
+            android:gravity="center_horizontal"
+            android:paddingLeft="5dip"
+            android:paddingRight="5dip"
+            android:text="Chart"
+            android:textColor="#fff"/>
+
+</RelativeLayout>         
\ No newline at end of file