2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

[fenix] Fix: Set correct height for EditText (https://github.com/mozilla-mobile/fenix/pull/10014)

Created a dimension for the correct height that the EditText in the
fragment_edit_bookmark.xml has to have.

Co-authored-by: DrCesar <josuejacobstercero@gmail.com>
This commit is contained in:
Emily Kager 2020-04-16 20:31:25 -07:00 committed by GitHub
parent 590a65a894
commit e68491d737
2 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,7 @@
<org.mozilla.fenix.utils.ClearableEditText
android:id="@+id/bookmarkNameEdit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="@dimen/bookmark_edit_text_height"
android:layout_marginBottom="8dp"
android:drawablePadding="8dp"
android:ellipsize="none"
@ -62,7 +62,7 @@
<org.mozilla.fenix.utils.ClearableEditText
android:id="@+id/bookmarkUrlEdit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="@dimen/bookmark_edit_text_height"
android:layout_marginBottom="8dp"
android:drawablePadding="8dp"
android:ellipsize="none"

View File

@ -67,6 +67,9 @@
<!-- ETP Onboarding Popup -->
<dimen name="etp_onboarding_popup_width">256dp</dimen>
<!-- Edit Fragment -->
<dimen name="bookmark_edit_text_height">48dp</dimen>
<!-- Search Fragment -->
<dimen name="search_fragment_clipboard_item_height">56dp</dimen>
<dimen name="search_fragment_clipboard_item_horizontal_margin">12dp</dimen>