|
|
<?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:app="http://schemas.android.com/apk/res-auto"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<ScrollView
|
|
|
android:id="@+id/parent"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical"
|
|
|
android:padding="@dimen/activity_margin">
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
android:id="@+id/carddav"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginBottom="8dp"
|
|
|
app:cardElevation="8dp"
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
android:id="@+id/carddav_menu"
|
|
|
style="@style/toolbar_style"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:elevation="2dp"
|
|
|
android:theme="@style/toolbar_theme"
|
|
|
app:navigationIcon="@drawable/ic_people_light"
|
|
|
app:title="@string/settings_carddav"
|
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
|
|
<ProgressBar
|
|
|
android:id="@+id/carddav_refreshing"
|
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:indeterminate="true"
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
<com.etesync.syncadapter.ui.widget.MaximizedListView
|
|
|
android:id="@+id/address_books"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:choiceMode="singleChoice" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
android:id="@+id/caldav"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
app:cardElevation="8dp"
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
android:id="@+id/caldav_menu"
|
|
|
style="@style/toolbar_style"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:elevation="2dp"
|
|
|
android:theme="@style/toolbar_theme"
|
|
|
app:navigationIcon="@drawable/ic_event_light"
|
|
|
app:title="@string/settings_caldav"
|
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
|
|
<ProgressBar
|
|
|
android:id="@+id/caldav_refreshing"
|
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:indeterminate="true"
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
<com.etesync.syncadapter.ui.widget.MaximizedListView
|
|
|
android:id="@+id/calendars"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:choiceMode="multipleChoice"
|
|
|
android:descendantFocusability="beforeDescendants" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
android:id="@+id/taskdav"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
app:cardElevation="8dp"
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
android:id="@+id/taskdav_menu"
|
|
|
style="@style/toolbar_style"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:elevation="2dp"
|
|
|
android:theme="@style/toolbar_theme"
|
|
|
app:navigationIcon="@drawable/ic_task_light"
|
|
|
app:title="@string/settings_taskdav"
|
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
|
|
<ProgressBar
|
|
|
android:id="@+id/taskdav_refreshing"
|
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:indeterminate="true"
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/taskdav_opentasks_warning"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:paddingLeft="12dp"
|
|
|
android:paddingTop="8dp"
|
|
|
android:paddingRight="12dp"
|
|
|
android:paddingBottom="8dp"
|
|
|
android:text="@string/account_tasks_not_showing"
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
<com.etesync.syncadapter.ui.widget.MaximizedListView
|
|
|
android:id="@+id/tasklists"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:choiceMode="multipleChoice"
|
|
|
android:descendantFocusability="beforeDescendants" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
</LinearLayout>
|
|
|
</ScrollView>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/buttons_holder"
|
|
|
style="@style/stepper_nav_bar"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/button_skip"
|
|
|
style="@style/stepper_nav_button"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_weight="1"
|
|
|
android:text="@string/skip" />
|
|
|
|
|
|
<Space
|
|
|
style="@style/stepper_nav_button"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/button_create"
|
|
|
style="@style/stepper_nav_button"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_weight="1"
|
|
|
android:text="@string/create" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
</LinearLayout> |