mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-02 21:01:46 +00:00
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:goanna="http://schemas.android.com/apk/res-auto">
|
|
|
|
<!-- Overall, we want 12dp of padding from mic to the right edge of the toolbar.
|
|
However, setting a value of 12dp (using the padding from the parent container)
|
|
does not match drawablePadding=12dp. Part of this is the url_bar_entry drawable
|
|
overlaps the EditText, but I can't figure out the rest. Thus eyeballing for
|
|
paddingRight. -->
|
|
<org.mozilla.goanna.toolbar.ToolbarEditText
|
|
android:id="@+id/url_edit_text"
|
|
style="@style/UrlBar.Title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.0"
|
|
android:inputType="textUri|textNoSuggestions"
|
|
android:imeOptions="actionGo|flagNoExtractUi|flagNoFullscreen"
|
|
android:selectAllOnFocus="true"
|
|
android:contentDescription="@string/url_bar_default_text"
|
|
android:drawableRight="@drawable/ab_mic"
|
|
android:drawablePadding="12dp"
|
|
android:paddingRight="8dp"
|
|
goanna:autoUpdateTheme="false"/>
|
|
|
|
</merge>
|