aboutsummaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-11-09 12:40:15 -0800
committerScott Jackson <daneren2005@gmail.com>2013-11-09 12:40:15 -0800
commitf018b56985ff12a63b21cefe302421bb5f0c2209 (patch)
treed6837ac2f85dd2426a50b430797a9fa91b6245d3 /res/layout
parent37aa807311067eb7fc6e6ded74e640411ab1b920 (diff)
downloaddsub-f018b56985ff12a63b21cefe302421bb5f0c2209.tar.gz
dsub-f018b56985ff12a63b21cefe302421bb5f0c2209.tar.bz2
dsub-f018b56985ff12a63b21cefe302421bb5f0c2209.zip
Added icons to the drawer
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/drawer_list_item.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/res/layout/drawer_list_item.xml b/res/layout/drawer_list_item.xml
new file mode 100644
index 00000000..608affea
--- /dev/null
+++ b/res/layout/drawer_list_item.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="2dip"
+ android:paddingBottom="3dip">
+
+ <ImageView
+ android:id="@+id/drawer_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left|center_vertical"
+ android:paddingTop="1dip"
+ android:paddingBottom="1dip"
+ android:paddingRight="6dip"/>
+
+ <TextView
+ android:id="@+id/drawer_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:singleLine="true"/>
+</LinearLayout> \ No newline at end of file