1234567891011121314151617181920212223242526272829 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="5dp"
- android:baselineAligned="false">
- <ImageView
- android:id="@+id/drawer_listitem_icon"
- android:layout_width="35dp"
- android:layout_height="35dp"
- android:layout_marginLeft="16dp"
- android:src="@drawable/ic_launcher"
- android:layout_gravity="center_vertical">
- </ImageView>
- <TextView
- android:id="@+id/drawer_listitem_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceListItemSmall"
- android:gravity="center_vertical"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
- android:textColor="?android:attr/colorForeground"
- android:minHeight="?android:attr/listPreferredItemHeightSmall"/>
- </LinearLayout>
|