Fixed the jumping text on refreshed (status text), aligned the margin of the url field for landscape/portrait, fixed the refresh icon size on landscape - also fixes #192

This commit is contained in:
Andy Scherzinger 2015-09-17 11:46:37 +02:00
parent 020def3243
commit f6b2b856cb
2 changed files with 6 additions and 4 deletions

View file

@ -82,7 +82,7 @@
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="10dp" android:layout_marginBottom="0dp"
> >
<EditText <EditText
android:id="@+id/hostUrlInput" android:id="@+id/hostUrlInput"
@ -101,13 +101,13 @@
</EditText> </EditText>
<ImageButton <ImageButton
android:id="@+id/embeddedRefreshButton" android:id="@+id/embeddedRefreshButton"
android:layout_width="48dp" android:layout_width="wrap_content"
android:layout_height="48dp" android:layout_height="wrap_content"
android:layout_gravity="center_vertical|right" android:layout_gravity="center_vertical|right"
android:layout_marginRight="5dp" android:layout_marginRight="5dp"
android:padding="0dp" android:padding="0dp"
android:scaleType="fitCenter" android:scaleType="fitCenter"
android:src="@drawable/ic_action_refresh_black" android:src="@drawable/ic_action_refresh_grey"
android:onClick="onRefreshClick" android:onClick="onRefreshClick"
android:visibility="gone" android:visibility="gone"
android:background="@android:color/transparent" android:background="@android:color/transparent"
@ -126,6 +126,7 @@
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"
android:text="@string/auth_testing_connection" android:text="@string/auth_testing_connection"
android:minHeight="32dp"
android:contentDescription="@string/auth_testing_connection"/> android:contentDescription="@string/auth_testing_connection"/>
<CheckBox <CheckBox

View file

@ -114,6 +114,7 @@
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"
android:text="@string/auth_testing_connection" android:text="@string/auth_testing_connection"
android:minHeight="32dp"
android:contentDescription="@string/auth_testing_connection"/> android:contentDescription="@string/auth_testing_connection"/>
<CheckBox <CheckBox