Skip to content

Commit

Permalink
Add ellipsis at the end of editable fields when text doesn't fit (#2682)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and bluemarvin committed Jan 24, 2020
1 parent 9077551 commit 7794743
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/res/layout/setting_edit.xml
Expand Up @@ -33,13 +33,15 @@
<TextView
android:id="@+id/textValue1"
style="@style/settingsValue"
android:inputType="number"
android:visibility="visible"
android:ellipsize="end"
android:maxLines="1"
tools:text="Value" />

<org.mozilla.vrbrowser.ui.views.settings.SettingsEditText
android:id="@+id/editValue1"
style="@style/settingsEdit"
android:inputType="number"
android:visibility="gone"
tools:text="Value" />

Expand All @@ -53,6 +55,8 @@
android:id="@+id/textValue2"
style="@style/settingsValue"
android:visibility="visible"
android:ellipsize="end"
android:maxLines="1"
tools:text="Value" />

<org.mozilla.vrbrowser.ui.views.settings.SettingsEditText
Expand Down

0 comments on commit 7794743

Please sign in to comment.