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.
60 lines
2.1 KiB
XML
60 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
** Copyright (c) 2012 Todoroo Inc
|
|
**
|
|
** See the file "LICENSE" for the full license governing this code.
|
|
-->
|
|
<!-- Note that properties like height, background color, and filter name size
|
|
are defined in FilterAdapter.java -->
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="48dp"
|
|
android:paddingLeft="@dimen/navigation_drawer_horizontal_margins"
|
|
android:paddingStart="@dimen/navigation_drawer_horizontal_margins"
|
|
android:paddingRight="@dimen/navigation_drawer_horizontal_margins"
|
|
android:paddingEnd="@dimen/navigation_drawer_horizontal_margins"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:alpha="0.54"
|
|
android:layout_width="56dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:scaleType="fitStart"/>
|
|
|
|
<!-- filter name -->
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:textColor="?attr/asTextColor"
|
|
android:textSize="14sp"
|
|
android:layout_toRightOf="@id/icon"
|
|
android:layout_toEndOf="@id/icon"
|
|
android:fontFamily="@string/font_fontFamily_medium"
|
|
android:alpha="0.87"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:checked="false"
|
|
android:lines="1"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical" />
|
|
|
|
<!-- size -->
|
|
<TextView android:id="@+id/size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:fontFamily="@string/font_fontFamily_medium"
|
|
android:alpha="0.54"
|
|
android:layout_marginRight="5dip"
|
|
android:layout_marginEnd="5dip"
|
|
android:layout_centerVertical="true"
|
|
android:paddingLeft="7dip"
|
|
android:paddingRight="7dip"
|
|
android:textColor="?attr/drawer_text"
|
|
android:gravity="center" />
|
|
|
|
</RelativeLayout>
|