|
@@ -55,7 +55,7 @@
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
- android:padding="8dp" >
|
|
|
|
|
|
+ android:padding="@dimen/standard_half_padding" >
|
|
|
|
|
|
<android.support.v7.widget.AppCompatButton
|
|
<android.support.v7.widget.AppCompatButton
|
|
android:id="@+id/centeredRefreshButton"
|
|
android:id="@+id/centeredRefreshButton"
|
|
@@ -63,7 +63,7 @@
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_gravity="center_horizontal"
|
|
- android:layout_marginBottom="10dp"
|
|
|
|
|
|
+ android:layout_marginBottom="@dimen/alternate_margin"
|
|
android:theme="@style/Button"
|
|
android:theme="@style/Button"
|
|
android:text="@string/auth_check_server"
|
|
android:text="@string/auth_check_server"
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
@@ -76,14 +76,14 @@
|
|
android:layout_gravity="fill_horizontal"
|
|
android:layout_gravity="fill_horizontal"
|
|
android:text="@string/auth_expired_basic_auth_toast"
|
|
android:text="@string/auth_expired_basic_auth_toast"
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
- android:layout_marginBottom="10dp"
|
|
|
|
|
|
+ android:layout_marginBottom="@dimen/alternate_margin"
|
|
android:textColor="@color/login_text_color"
|
|
android:textColor="@color/login_text_color"
|
|
android:contentDescription="@string/auth_expired_basic_auth_toast"/>
|
|
android:contentDescription="@string/auth_expired_basic_auth_toast"/>
|
|
<FrameLayout
|
|
<FrameLayout
|
|
android:id="@+id/hostUrlFrame"
|
|
android:id="@+id/hostUrlFrame"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginBottom="0dp">
|
|
|
|
|
|
+ android:layout_marginBottom="@dimen/zero">
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/input_layout_hostUrl"
|
|
android:id="@+id/input_layout_hostUrl"
|
|
@@ -96,10 +96,10 @@
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_gravity="bottom"
|
|
android:contentDescription="@string/auth_host_address"
|
|
android:contentDescription="@string/auth_host_address"
|
|
- android:drawablePadding="5dp"
|
|
|
|
|
|
+ android:drawablePadding="@dimen/alternate_half_padding"
|
|
android:hint="@string/auth_host_url"
|
|
android:hint="@string/auth_host_url"
|
|
android:inputType="textUri"
|
|
android:inputType="textUri"
|
|
- android:paddingRight="55dp"
|
|
|
|
|
|
+ android:paddingRight="@dimen/alternate_padding_right"
|
|
android:textColor="@color/login_text_color"
|
|
android:textColor="@color/login_text_color"
|
|
android:textColorHint="@color/login_text_hint_color"
|
|
android:textColorHint="@color/login_text_hint_color"
|
|
>
|
|
>
|
|
@@ -114,8 +114,8 @@
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|right"
|
|
android:layout_gravity="center_vertical|right"
|
|
- android:layout_marginRight="5dp"
|
|
|
|
- android:padding="0dp"
|
|
|
|
|
|
+ android:layout_marginRight="@dimen/alternate_half_margin"
|
|
|
|
+ android:padding="@dimen/zero"
|
|
android:scaleType="fitCenter"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/ic_action_refresh"
|
|
android:src="@drawable/ic_action_refresh"
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
@@ -128,13 +128,13 @@
|
|
android:id="@+id/server_status_text"
|
|
android:id="@+id/server_status_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginBottom="10dp"
|
|
|
|
|
|
+ android:layout_marginBottom="@dimen/alternate_half_margin"
|
|
android:drawableLeft="@android:drawable/stat_notify_sync"
|
|
android:drawableLeft="@android:drawable/stat_notify_sync"
|
|
- android:drawablePadding="5dp"
|
|
|
|
|
|
+ android:drawablePadding="@dimen/alternate_half_padding"
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:textColor="@color/login_text_color"
|
|
android:textColor="@color/login_text_color"
|
|
android:text="@string/auth_testing_connection"
|
|
android:text="@string/auth_testing_connection"
|
|
- android:minHeight="32dp"
|
|
|
|
|
|
+ android:minHeight="@dimen/display_text_min_height"
|
|
android:contentDescription="@string/auth_testing_connection"/>
|
|
android:contentDescription="@string/auth_testing_connection"/>
|
|
|
|
|
|
<CheckBox
|
|
<CheckBox
|
|
@@ -218,7 +218,7 @@
|
|
android:id="@+id/account_password"
|
|
android:id="@+id/account_password"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:drawablePadding="5dp"
|
|
|
|
|
|
+ android:drawablePadding="@dimen/alternate_half_padding"
|
|
android:ems="10"
|
|
android:ems="10"
|
|
android:hint="@string/auth_password"
|
|
android:hint="@string/auth_password"
|
|
android:inputType="textPassword"
|
|
android:inputType="textPassword"
|
|
@@ -234,7 +234,7 @@
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/auth_unauthorized"
|
|
android:text="@string/auth_unauthorized"
|
|
android:drawableLeft="@android:drawable/stat_notify_sync"
|
|
android:drawableLeft="@android:drawable/stat_notify_sync"
|
|
- android:drawablePadding="5dip"
|
|
|
|
|
|
+ android:drawablePadding="@dimen/alternate_half_padding"
|
|
android:textColor="@color/login_text_color"
|
|
android:textColor="@color/login_text_color"
|
|
android:contentDescription="@string/auth_unauthorized"
|
|
android:contentDescription="@string/auth_unauthorized"
|
|
/>
|
|
/>
|
|
@@ -276,7 +276,7 @@
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_gravity="center_horizontal"
|
|
android:background="@android:color/transparent"
|
|
android:background="@android:color/transparent"
|
|
android:onClick="onRegisterClick"
|
|
android:onClick="onRegisterClick"
|
|
- android:paddingTop="5dp"
|
|
|
|
|
|
+ android:paddingTop="@dimen/alternate_half_padding"
|
|
android:text="@string/auth_register"
|
|
android:text="@string/auth_register"
|
|
android:textColor="@color/login_text_hint_color"
|
|
android:textColor="@color/login_text_hint_color"
|
|
android:contentDescription="@string/auth_register"/>
|
|
android:contentDescription="@string/auth_register"/>
|