Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fixed password prompt misalignment (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and MortimerGoro committed Jun 25, 2019
1 parent 80ddb7d commit a63528b
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions app/src/main/res/layout/prompt_auth.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,26 @@
android:layout_width="match_parent"
android:layout_height="40dp"
android:orientation="horizontal">

<TextView
android:id="@+id/authUsernameLabel"
android:layout_width="110dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_weight="3"
android:gravity="top|end"
android:maxHeight="@dimen/prompt_content_max_height"
android:scrollbars="vertical"
android:text="@string/authentication_username"
android:textAlignment="viewEnd"
android:textSize="18sp"
android:text="@string/authentication_username" />
android:textSize="18sp" />

<org.mozilla.vrbrowser.ui.views.settings.SettingsEditText
android:id="@+id/authUsername"
style="@style/settingsEdit"
android:layout_width="match_parent"
android:layout_weight="100"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:layout_weight="1"
app:highlightedTextColor="@color/fog" />
</LinearLayout>

Expand All @@ -89,24 +90,26 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:id="@+id/authPasswordLabel"
android:layout_width="110dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="3"
android:gravity="top|end"
android:maxHeight="@dimen/prompt_content_max_height"
android:scrollbars="vertical"
android:text="@string/authentication_password"
android:textAlignment="viewEnd"
android:textSize="18sp"
android:text="@string/authentication_password" />
android:textSize="18sp" />

<org.mozilla.vrbrowser.ui.views.settings.SettingsEditText
android:id="@+id/authPassword"
style="@style/settingsEdit"
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="100"
android:layout_marginStart="5dp"
android:layout_weight="1"
android:inputType="textPassword"
app:highlightedTextColor="@color/fog" />

Expand Down

0 comments on commit a63528b

Please sign in to comment.