|
62 | 62 | android:layout_width="match_parent" |
63 | 63 | android:layout_height="40dp" |
64 | 64 | android:orientation="horizontal"> |
| 65 | + |
65 | 66 | <TextView |
66 | 67 | android:id="@+id/authUsernameLabel" |
67 | | - android:layout_width="110dp" |
| 68 | + android:layout_width="match_parent" |
68 | 69 | android:layout_height="wrap_content" |
69 | | - android:layout_weight="1" |
| 70 | + android:layout_weight="3" |
70 | 71 | android:gravity="top|end" |
71 | 72 | android:maxHeight="@dimen/prompt_content_max_height" |
72 | 73 | android:scrollbars="vertical" |
| 74 | + android:text="@string/authentication_username" |
73 | 75 | android:textAlignment="viewEnd" |
74 | | - android:textSize="18sp" |
75 | | - android:text="@string/authentication_username" /> |
| 76 | + android:textSize="18sp" /> |
76 | 77 |
|
77 | 78 | <org.mozilla.vrbrowser.ui.views.settings.SettingsEditText |
78 | 79 | android:id="@+id/authUsername" |
79 | 80 | style="@style/settingsEdit" |
80 | 81 | android:layout_width="match_parent" |
81 | | - android:layout_weight="100" |
82 | 82 | android:layout_height="wrap_content" |
83 | 83 | android:layout_marginStart="5dp" |
| 84 | + android:layout_weight="1" |
84 | 85 | app:highlightedTextColor="@color/fog" /> |
85 | 86 | </LinearLayout> |
86 | 87 |
|
|
89 | 90 | android:layout_width="match_parent" |
90 | 91 | android:layout_height="wrap_content" |
91 | 92 | android:orientation="horizontal"> |
| 93 | + |
92 | 94 | <TextView |
93 | 95 | android:id="@+id/authPasswordLabel" |
94 | | - android:layout_width="110dp" |
| 96 | + android:layout_width="match_parent" |
95 | 97 | android:layout_height="wrap_content" |
| 98 | + android:layout_weight="3" |
96 | 99 | android:gravity="top|end" |
97 | 100 | android:maxHeight="@dimen/prompt_content_max_height" |
98 | 101 | android:scrollbars="vertical" |
| 102 | + android:text="@string/authentication_password" |
99 | 103 | android:textAlignment="viewEnd" |
100 | | - android:textSize="18sp" |
101 | | - android:text="@string/authentication_password" /> |
| 104 | + android:textSize="18sp" /> |
102 | 105 |
|
103 | 106 | <org.mozilla.vrbrowser.ui.views.settings.SettingsEditText |
104 | 107 | android:id="@+id/authPassword" |
105 | 108 | style="@style/settingsEdit" |
106 | | - android:layout_width="0dp" |
| 109 | + android:layout_width="match_parent" |
107 | 110 | android:layout_height="wrap_content" |
108 | | - android:layout_weight="100" |
109 | 111 | android:layout_marginStart="5dp" |
| 112 | + android:layout_weight="1" |
110 | 113 | android:inputType="textPassword" |
111 | 114 | app:highlightedTextColor="@color/fog" /> |
112 | 115 |
|
|
0 commit comments