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:
maliu 2017-04-24 01:16:11 +08:00
parent da6126aa49
commit 4dbe9d9e6d
4 changed files with 7 additions and 2 deletions

View File

@ -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() {

View File

@ -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);
}

View File

@ -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"/>

View File

@ -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"/>