Move add to calendar to task edit screen
|
After Width: | Height: | Size: 318 B |
|
After Width: | Height: | Size: 305 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 392 B |
|
After Width: | Height: | Size: 382 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 476 B |
|
After Width: | Height: | Size: 468 B |
|
After Width: | Height: | Size: 560 B |
|
After Width: | Height: | Size: 461 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
@ -1,41 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
** Copyright (c) 2012 Todoroo Inc
|
||||
**
|
||||
** See the file "LICENSE" for the full license governing this code.
|
||||
-->
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/gcal_body"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="50dip"
|
||||
android:paddingLeft="5dip"
|
||||
android:gravity="center_vertical">
|
||||
<ImageView android:id="@+id/display_row_icon"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_width="20dip"
|
||||
android:layout_height="20dip"
|
||||
android:scaleType="fitCenter"/>
|
||||
<TextView
|
||||
android:id="@+id/calendar_display_which"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="left"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textColor="?attr/asThemeTextColor" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1px"
|
||||
android:padding="5dip"
|
||||
android:background="?android:attr/listDivider" />
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:src="?attr/ic_action_calendar_month"
|
||||
android:contentDescription="@string/gcal_TEA_addToCalendar_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:padding="@dimen/task_edit_drawable_padding"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/calendar_display_which"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:gravity="start"
|
||||
android:textColor="?attr/asThemeTextColor"
|
||||
android:textSize="@dimen/task_edit_text_size"
|
||||
android:paddingTop="@dimen/task_edit_padding_top_bottom"
|
||||
android:paddingBottom="@dimen/task_edit_padding_top_bottom"
|
||||
android:layout_marginTop="@dimen/task_edit_padding_top_bottom"
|
||||
android:layout_marginBottom="@dimen/task_edit_padding_top_bottom"
|
||||
android:paddingRight="@dimen/task_edit_padding_right"
|
||||
android:paddingEnd="@dimen/task_edit_padding_right"/>
|
||||
|
||||
<include layout="@layout/task_edit_divider"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||