Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java |
index 5b0302edb47de141f2366ba3478425ff59934dfc..13333c32ec80d02e2b8bbd6f3af3add0d5b9322c 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java |
@@ -14,6 +14,7 @@ import android.widget.ArrayAdapter; |
import android.widget.Button; |
import android.widget.EditText; |
import android.widget.Spinner; |
+import android.widget.TextView; |
import org.chromium.chrome.R; |
import org.chromium.chrome.browser.autofill.PersonalDataManager; |
@@ -58,7 +59,10 @@ public class AutofillProfileEditor extends AutofillEditorBase { |
mEmailText = (EditText) v.findViewById(R.id.email_address_edit); |
mEmailLabel = (CompatibilityTextInputLayout) v.findViewById(R.id.email_address_label); |
mWidgetRoot = (ViewGroup) v.findViewById(R.id.autofill_profile_widget_root); |
- mCountriesDropdown = (Spinner) v.findViewById(R.id.countries); |
+ mCountriesDropdown = (Spinner) v.findViewById(R.id.spinner); |
+ |
+ TextView countriesLabel = (TextView) v.findViewById(R.id.spinner_label); |
+ countriesLabel.setText(v.getContext().getString(R.string.autofill_profile_editor_country)); |
Ian Wen
2016/07/01 19:19:03
Q: can we set the string in XML?
gone
2016/07/01 23:00:49
Not this one, no. The layout includes a generic l
|
mAutofillProfileBridge = new AutofillProfileBridge(); |