alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Alexandre Lision | bdb5f47 | 2016-11-11 15:59:50 -0500 | [diff] [blame^] | 2 | |
| 3 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | xmlns:tools="http://schemas.android.com/tools" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 5 | android:layout_width="match_parent" |
Alexandre Lision | bdb5f47 | 2016-11-11 15:59:50 -0500 | [diff] [blame^] | 6 | android:layout_height="48dp" |
| 7 | android:background="?android:attr/selectableItemBackground" |
| 8 | android:drawSelectorOnTop="true"> |
| 9 | |
| 10 | <android.support.v7.widget.AppCompatImageView |
| 11 | android:id="@+id/navigation_item_icon" |
| 12 | android:layout_width="wrap_content" |
| 13 | android:layout_height="wrap_content" |
| 14 | android:layout_centerVertical="true" |
| 15 | android:layout_marginLeft="16dp" |
| 16 | android:layout_marginStart="16dp" |
| 17 | android:alpha="0.54" |
| 18 | tools:src="@drawable/ic_home_black" /> |
| 19 | |
| 20 | <TextView |
| 21 | android:id="@+id/navigation_item_title" |
| 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="?android:attr/listPreferredItemHeight" |
| 24 | android:layout_centerVertical="true" |
| 25 | android:layout_marginEnd="16dp" |
| 26 | android:layout_marginLeft="72dp" |
| 27 | android:layout_marginRight="16dp" |
| 28 | android:layout_marginStart="72dp" |
| 29 | android:alpha="0.87" |
| 30 | android:fontFamily="sans-serif-medium" |
| 31 | android:gravity="center_vertical" |
| 32 | android:textColor="@color/black" |
| 33 | android:textSize="14sp" |
| 34 | tools:text="Home" /> |
| 35 | |
| 36 | </RelativeLayout> |