mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.6 KiB
XML
48 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/row"
|
|
android:background="@drawable/drawer_background_selector"
|
|
android:foreground="?attr/selectableItemBackground"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="12dp"
|
|
android:paddingStart="@dimen/keyline_first"
|
|
android:paddingEnd="0dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:src="@drawable/ic_outline_add_24px"
|
|
app:tint="@color/text_primary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:background="@null"
|
|
android:layout_gravity="center_vertical"
|
|
android:alpha="@dimen/alpha_secondary"
|
|
android:scaleType="center"/>
|
|
|
|
<TextView
|
|
android:id="@+id/text"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toEndOf="@id/icon"
|
|
android:background="@null"
|
|
android:paddingStart="@dimen/keyline_second"
|
|
android:paddingEnd="@dimen/keyline_first"
|
|
android:duplicateParentState="true"
|
|
android:ellipsize="end"
|
|
android:fontFamily="@string/font_fontFamily_medium"
|
|
android:gravity="start|center_vertical"
|
|
android:lines="1"
|
|
android:singleLine="true"
|
|
android:textAlignment="viewStart"
|
|
android:textSize="14sp"
|
|
android:textColor="@color/text_primary"
|
|
tools:ignore="UnusedAttribute"/>
|
|
|
|
</RelativeLayout>
|