Fix account_setup.xml

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-10-28 09:06:32 +01:00 committed by Andy Scherzinger
parent 69256d0c53
commit 8c0878de71
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
4 changed files with 9 additions and 7 deletions

View file

@ -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);

View file

@ -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"

View file

@ -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" />

View file

@ -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>