|
|
<?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"
|
|
|
android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
<ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1"
|
|
|
android:layout_margin="@dimen/activity_margin">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
style="@style/login_type_headline"
|
|
|
android:text="@string/login_enter_encryption_details"
|
|
|
android:layout_marginBottom="14dp"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/account_name"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
<at.bitfire.davdroid.ui.widget.EditPassword
|
|
|
android:id="@+id/encryption_password"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:hint="@string/login_encryption_password"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
</ScrollView>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
style="@style/stepper_nav_bar">
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/back"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_weight="1"
|
|
|
android:layout_gravity="center"
|
|
|
android:text="@string/login_back"
|
|
|
style="@style/stepper_nav_button"/>
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/create_account"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_weight="1"
|
|
|
android:layout_gravity="center"
|
|
|
android:text="@string/login_signup"
|
|
|
style="@style/stepper_nav_button"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout> |