mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1358089 - [RTL] Separate xml drawable into v17 folder, r=ahunt
MozReview-Commit-ID: LaOwxXwhsHA --HG-- extra : rebase_source : c34b558f97c52cd989668aad25d6b7f743db73f9
This commit is contained in:
parent
da6126aa49
commit
4dbe9d9e6d
@ -367,6 +367,7 @@ public abstract class BrowserToolbar extends ThemedRelativeLayout
|
||||
public void refresh() {
|
||||
progressBar.setImageDrawable(getResources().getDrawable(R.drawable.progress));
|
||||
urlDisplayLayout.dismissSiteIdentityPopup();
|
||||
urlEditLayout.refresh();
|
||||
}
|
||||
|
||||
public boolean onBackPressed() {
|
||||
|
@ -203,6 +203,10 @@ public class ToolbarEditLayout extends ThemedLinearLayout {
|
||||
}
|
||||
}
|
||||
|
||||
public void refresh() {
|
||||
mEditText.setHint(getResources().getString(R.string.url_bar_default_text));
|
||||
}
|
||||
|
||||
void setToolbarPrefs(final ToolbarPrefs prefs) {
|
||||
mEditText.setToolbarPrefs(prefs);
|
||||
}
|
||||
|
@ -6,4 +6,4 @@
|
||||
<clip xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:drawable="@drawable/url_bar_entry"
|
||||
android:clipOrientation="horizontal"
|
||||
android:gravity="left"/>
|
||||
android:gravity="end"/>
|
@ -6,4 +6,4 @@
|
||||
<clip xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:drawable="@drawable/url_bar_entry"
|
||||
android:clipOrientation="horizontal"
|
||||
android:gravity="right|end"/>
|
||||
android:gravity="right"/>
|
Loading…
Reference in New Issue
Block a user