<!--
ownCloud Android client application\r
\r
- Copyright (C) 2012 Bartek Przybylski\r
+ Copyright (C) 2012 Bartek Przybylski
+ Copyright (C) 2012-2013 ownCloud Inc.
+\r
This program is free software: you can redistribute it and/or modify\r
it under the terms of the GNU General Public License as published by\r
- the Free Software Foundation, either version 3 of the License, or\r
+ the Free Software Foundation, either version 2 of the License, or\r
(at your option) any later version.\r
\r
This program is distributed in the hope that it will be useful,\r
along with this program. If not, see <http://www.gnu.org/licenses/>.\r
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:oc="http://schemas.android.com/apk/res/com.owncloud.android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:focusable="true"
android:layout_weight="1"
android:ems="10"
android:hint="@string/auth_host_url"
- android:singleLine="true" >
-
+ android:inputType="textNoSuggestions" >
<requestFocus />
</EditText>
android:layout_height="0dp"
android:layout_weight="1"
android:ems="10"
- android:singleLine="true"
- android:hint="@string/auth_username" />
+ android:hint="@string/auth_username"
+ android:inputType="textNoSuggestions" />
<FrameLayout
android:layout_width="match_parent"
android:layout_weight="1"
android:ems="10"
android:hint="@string/auth_password"
- android:inputType="textPassword"
- android:singleLine="true" />
+ android:inputType="textPassword"/>
<ImageView
android:id="@+id/viewPassword"
</FrameLayout>
- </LinearLayout>
+ </LinearLayout>
</FrameLayout>
<RelativeLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true" >
+ android:layout_height="wrap_content">
<LinearLayout
+ android:id="@+id/buttons_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:weightSum="1" >
android:textColor="@android:color/black" />
</LinearLayout>
+
+ <Button
+ android:id="@+id/account_register"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/buttons_layout"
+ android:layout_centerHorizontal="true"
+ android:onClick="onRegisterClick"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:textColor="#0000FF"
+ android:background="@android:color/transparent" />
+ <!-- android:text="@string/app_name @string/auth_register" /-->
+
</RelativeLayout>
</LinearLayout>