forked from jens/Automation
368 lines
11 KiB
XML
368 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/default_margin" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/calendarEventCapital"
|
|
android:textSize="25dp"
|
|
android:layout_marginBottom="@dimen/default_margin" />
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/calendarTriggerExecutionHints"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/selectingNoneItemForAllToMatch"/>
|
|
|
|
<TableLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:shrinkColumns="1"
|
|
android:stretchColumns="1">
|
|
|
|
<TableRow
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/direction"/>
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarEventActive"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/eventIsCurrentlyHappening"
|
|
android:checked="true"/>
|
|
|
|
</TableRow>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:layout_marginVertical="@dimen/default_margin"
|
|
android:background="#aa000000" />
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:text="@string/comparisonCaseInsensitive"
|
|
android:layout_marginBottom="@dimen/default_margin"/>
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:text="@string/regularExpressionsIfEquals"
|
|
android:layout_marginBottom="@dimen/default_margin"/>
|
|
|
|
<TableRow
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/title" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Spinner
|
|
android:id="@+id/spinnerCalendarTitleDirection"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
android:id="@+id/etCalendarTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:layout_marginVertical="@dimen/default_margin"
|
|
android:background="#aa000000" />
|
|
|
|
<TableRow
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/location" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Spinner
|
|
android:id="@+id/spinnerCalendarLocationDirection"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
android:id="@+id/etCalendarLocation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:layout_marginVertical="@dimen/default_margin"
|
|
android:background="#aa000000" />
|
|
|
|
<TableRow
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/calendarDescription" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Spinner
|
|
android:id="@+id/spinnerCalendarDescriptionDirection"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
android:id="@+id/etCalendarDescription"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:layout_marginVertical="@dimen/default_margin"
|
|
android:background="#aa000000" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarEvaluateAllDayEvent"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/evaluate"
|
|
android:checked="false"/>
|
|
|
|
<TableRow
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/allDayEvent" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarAllDayEvent"
|
|
android:checked="false"
|
|
android:text="@string/allDayEventFalse"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</TableRow>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:layout_marginVertical="@dimen/default_margin"
|
|
android:background="#aa000000" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarEvaluateReoccurring"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/evaluate"
|
|
android:checked="false"/>
|
|
|
|
<TableRow
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/reoccurring" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarReoccurring"
|
|
android:checked="false"
|
|
android:text="@string/reoccurringFalse"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</TableRow>
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:layout_marginVertical="@dimen/default_margin"
|
|
android:background="#aa000000" />
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="@dimen/default_margin"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/selectingNoneItemForAllToMatch" />
|
|
|
|
<TableRow
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/availability" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarAvailabilityBusy"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/calendarStringBusy" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarAvailabilityFree"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/calendarStringFree" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarAvailabilityTentative"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/calendarStringTentative" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarAvailabilityOutOfOffice"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/calendarStringOutOfOffice" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/chkCalendarAvailabilityWorkingElsewhere"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/calendarStringWorkingElsewhere" />
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="@dimen/default_margin"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/calendarAvailabilityTypesUnsupported" />
|
|
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:layout_marginVertical="@dimen/default_margin"
|
|
android:background="#aa000000" />
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="@dimen/default_margin"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/selectingNoneItemForAllToMatch" />
|
|
|
|
<TableRow
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/calendars" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llCalendarSelection"
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/tvMissingCalendarHint"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/default_margin"
|
|
android:layout_gravity="center_vertical"
|
|
android:textStyle="bold" />
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
<Button
|
|
android:id="@+id/bSaveTriggerCalendar"
|
|
android:layout_marginTop="@dimen/default_margin"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/save" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView> |