mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Fix account_setup.xml
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
69256d0c53
commit
8c0878de71
4 changed files with 9 additions and 7 deletions
|
@ -28,6 +28,7 @@ import android.os.Bundle;
|
|||
|
||||
import com.nextcloud.client.account.UserAccountManager;
|
||||
import com.nextcloud.client.account.UserAccountManagerImpl;
|
||||
import com.owncloud.android.AbstractIT;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.authentication.AuthenticatorActivity;
|
||||
|
||||
|
@ -54,7 +55,7 @@ import static org.junit.Assert.assertEquals;
|
|||
|
||||
|
||||
@LargeTest
|
||||
public class LoginIT {
|
||||
public class LoginIT extends AbstractIT {
|
||||
@Rule
|
||||
public GrantPermissionRule permissionRule = GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE);
|
||||
|
||||
|
|
|
@ -70,14 +70,15 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:text="@string/auth_host_url"
|
||||
android:labelFor="@+id/host_url_input"
|
||||
android:textColor="@color/login_text_color" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/host_url_input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/minimum_size_for_touchable_area"
|
||||
android:layout_gravity="bottom"
|
||||
android:contentDescription="@string/auth_host_address"
|
||||
android:drawablePadding="@dimen/alternate_half_padding"
|
||||
android:inputType="textUri"
|
||||
android:paddingStart="@dimen/zero"
|
||||
|
|
|
@ -69,14 +69,15 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:text="@string/auth_host_url"
|
||||
android:labelFor="@+id/host_url_input"
|
||||
android:textColor="@color/login_text_color" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/host_url_input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/minimum_size_for_touchable_area"
|
||||
android:layout_gravity="bottom"
|
||||
android:contentDescription="@string/auth_host_address"
|
||||
android:drawablePadding="@dimen/alternate_half_padding"
|
||||
android:inputType="textUri"
|
||||
android:paddingStart="@dimen/zero"
|
||||
|
@ -92,14 +93,14 @@
|
|||
|
||||
<ImageButton
|
||||
android:id="@+id/test_server_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/minimum_size_for_touchable_area"
|
||||
android:layout_height="@dimen/minimum_size_for_touchable_area"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:layout_marginEnd="@dimen/alternate_half_padding"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/test_server_button"
|
||||
android:onClick="onTestServerConnectionClick"
|
||||
android:padding="@dimen/zero"
|
||||
android:padding="12dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/arrow_right"
|
||||
android:tint="@color/login_text_color" />
|
||||
|
|
|
@ -417,7 +417,6 @@
|
|||
<string name="subject_user_shared_with_you">%1$s shared \"%2$s\" with you</string>
|
||||
<string name="subject_shared_with_you">\"%1$s\" has been shared with you</string>
|
||||
|
||||
<string name="auth_host_address">Server address</string>
|
||||
<string name="common_error_out_memory">Not enough memory</string>
|
||||
|
||||
<string name="username">Username</string>
|
||||
|
|
Loading…
Reference in a new issue