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

Commit

Permalink
Fixes misalignments in the url bar items (#2108)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and MortimerGoro committed Oct 31, 2019
1 parent b5d0290 commit 7875e70
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions app/src/main/res/layout/navigation_url.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,15 @@
<org.mozilla.vrbrowser.ui.views.UIButton
android:id="@+id/popup"
style="@style/urlBarIconThemeStart"
android:paddingStart="5dp"
android:src="@drawable/ic_icon_popup_awesomebar"
android:tint="@color/fog"
android:tooltipText="@string/popup_tooltip"
app:visibleGone="@{isPopUpAvailable}" />

<View
android:layout_width="10dp"
android:layout_height="24dp"
android:layout_height="match_parent"
app:visibleGone="@{!isPopUpAvailable}"/>
</LinearLayout>

Expand Down Expand Up @@ -167,14 +168,20 @@

</RelativeLayout>

<View
android:id="@+id/padding"
android:layout_width="10dp"
android:layout_height="match_parent"
android:layout_toEndOf="@id/iconsLayout"
app:visibleGone="@{isLibraryVisible}"/>

<org.mozilla.vrbrowser.ui.views.CustomInlineAutocompleteEditText
android:id="@+id/urlEditText"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:layout_toStartOf="@id/endButtonsLayout"
android:layout_toEndOf="@id/iconsLayout"
android:layout_toEndOf="@id/padding"
android:foreground="@{isUrlEmpty ? @drawable/url_bar_hint_fading_edge : null}"
android:foregroundGravity="fill_vertical|right"
android:ems="10"
Expand Down

0 comments on commit 7875e70

Please sign in to comment.