|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<!--
|
|
|
~ Copyright © 2013 – 2016 Ricki Hirner (bitfire web engineering).
|
|
|
~ All rights reserved. This program and the accompanying materials
|
|
|
~ are made available under the terms of the GNU Public License v3.0
|
|
|
~ which accompanies this distribution, and is available at
|
|
|
~ http://www.gnu.org/licenses/gpl.html
|
|
|
-->
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:padding="8dp"
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
<CheckBox
|
|
|
android:id="@+id/checked"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:focusable="false"
|
|
|
android:focusableInTouchMode="false"
|
|
|
android:clickable="false"
|
|
|
android:layout_marginRight="4dp"/>
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/color"
|
|
|
android:layout_width="28dp"
|
|
|
android:layout_height="28dp"
|
|
|
android:layout_marginRight="4dp"
|
|
|
tools:background="@color/green700"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/title"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
tools:text="My Calendar"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/description"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
tools:text="Calendar Description"/>
|
|
|
</LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/read_only"
|
|
|
android:layout_width="32dp"
|
|
|
android:layout_height="32dp"
|
|
|
android:background="@drawable/ic_remove_circle_dark"/>
|
|
|
|
|
|
</LinearLayout> |