Skip to content

Commit

Permalink
user container-styling for text field on login screen
Browse files Browse the repository at this point in the history
* utilize endIcon capabilities
* move to native view binding

Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Feb 11, 2021
1 parent c7a8062 commit d863131
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
16 changes: 13 additions & 3 deletions src/main/res/layout-land/account_setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@
android:id="@+id/host_url_input_helper_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/standard_eight_padding"
android:lineSpacingMultiplier="1.2"
android:paddingStart="@dimen/standard_padding"
android:paddingTop="@dimen/standard_eight_padding"
android:paddingEnd="@dimen/standard_half_padding"
android:paddingBottom="@dimen/standard_eight_padding"
android:text="@string/login_url_helper_text"
android:textColor="@color/white_helper_text" />

Expand All @@ -105,7 +109,10 @@
android:drawablePadding="@dimen/alternate_half_padding"
android:gravity="center_vertical"
android:minHeight="@dimen/display_text_min_height"
android:padding="@dimen/standard_eight_padding"
android:paddingStart="@dimen/standard_padding"
android:paddingTop="@dimen/standard_eight_padding"
android:paddingEnd="@dimen/standard_eight_padding"
android:paddingBottom="@dimen/standard_eight_padding"
android:text="@string/auth_testing_connection"
android:textColor="@color/login_text_color"
android:visibility="invisible"
Expand All @@ -118,7 +125,10 @@
android:contentDescription="@string/auth_unauthorized"
android:drawablePadding="@dimen/alternate_half_padding"
android:gravity="center_vertical"
android:padding="@dimen/standard_eight_padding"
android:paddingStart="@dimen/standard_padding"
android:paddingTop="@dimen/standard_eight_padding"
android:paddingEnd="@dimen/standard_eight_padding"
android:paddingBottom="@dimen/standard_eight_padding"
android:text="@string/auth_unauthorized"
android:textColor="@color/login_text_color"
app:drawableStartCompat="@android:drawable/stat_notify_sync" />
Expand Down
16 changes: 13 additions & 3 deletions src/main/res/layout/account_setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@
android:id="@+id/host_url_input_helper_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/standard_eight_padding"
android:lineSpacingMultiplier="1.2"
android:paddingStart="@dimen/standard_padding"
android:paddingTop="@dimen/standard_eight_padding"
android:paddingEnd="@dimen/standard_half_padding"
android:paddingBottom="@dimen/standard_eight_padding"
android:text="@string/login_url_helper_text"
android:textColor="@color/white_helper_text" />

Expand All @@ -104,7 +108,10 @@
android:drawablePadding="@dimen/alternate_half_padding"
android:gravity="center_vertical"
android:minHeight="@dimen/display_text_min_height"
android:padding="@dimen/standard_eight_padding"
android:paddingStart="@dimen/standard_padding"
android:paddingTop="@dimen/standard_eight_padding"
android:paddingEnd="@dimen/standard_eight_padding"
android:paddingBottom="@dimen/standard_eight_padding"
android:text="@string/auth_testing_connection"
android:textColor="@color/login_text_color"
android:visibility="invisible"
Expand All @@ -117,7 +124,10 @@
android:contentDescription="@string/auth_unauthorized"
android:drawablePadding="@dimen/alternate_half_padding"
android:gravity="center_vertical"
android:padding="@dimen/standard_eight_padding"
android:paddingStart="@dimen/standard_padding"
android:paddingTop="@dimen/standard_eight_padding"
android:paddingEnd="@dimen/standard_eight_padding"
android:paddingBottom="@dimen/standard_eight_padding"
android:text="@string/auth_unauthorized"
android:textColor="@color/login_text_color"
app:drawableStartCompat="@android:drawable/stat_notify_sync" />
Expand Down

0 comments on commit d863131

Please sign in to comment.