aboutsummaryrefslogtreecommitdiffstats
path: root/iget_android/app/src/main/res/layout/list_item_drawer_item.xml
diff options
context:
space:
mode:
authorAngelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>2017-03-29 18:00:06 +0200
committerAngelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>2017-03-30 18:58:33 +0200
commit3137acdd5a45285dab9903f9d41560c63eca8523 (patch)
tree38bd8525a9e214d848a73fc40e81ddb182cf91b6 /iget_android/app/src/main/res/layout/list_item_drawer_item.xml
parent9b30fc10fb1cbebe651e5a107e8ca5b24de54675 (diff)
first commit
Change-Id: I8412b8e7d966c2fbc508b537fd9a9bbcfc628ca8 Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'iget_android/app/src/main/res/layout/list_item_drawer_item.xml')
-rw-r--r--iget_android/app/src/main/res/layout/list_item_drawer_item.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/iget_android/app/src/main/res/layout/list_item_drawer_item.xml b/iget_android/app/src/main/res/layout/list_item_drawer_item.xml
new file mode 100644
index 00000000..08a598b1
--- /dev/null
+++ b/iget_android/app/src/main/res/layout/list_item_drawer_item.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@drawable/drawer_item_background_activated"
+ android:paddingLeft="@dimen/default_padding_left"
+ android:paddingRight="@dimen/default_padding_right"
+ >
+
+ <ImageView
+ android:id="@+id/drawer_item_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ />
+
+ <TextView
+ android:id="@+id/drawer_item_text"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceListItemSmall"
+ android:minHeight="?android:attr/listPreferredItemHeightSmall"
+ android:gravity="center_vertical"
+ />
+
+</LinearLayout> \ No newline at end of file