Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2886)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillProfileEditor.java

Issue 2137443002: Revert of [Payments] Update autofill/payments spacings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@payments_ongoing
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7d3e71c6b2da1d4e1a9db7c825f87ae47eb8efd0..5b0302edb47de141f2366ba3478425ff59934dfc 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,7 +14,6 @@
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;
@@ -59,10 +58,7 @@
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.spinner);
-
- TextView countriesLabel = (TextView) v.findViewById(R.id.spinner_label);
- countriesLabel.setText(v.getContext().getString(R.string.autofill_profile_editor_country));
+ mCountriesDropdown = (Spinner) v.findViewById(R.id.countries);
mAutofillProfileBridge = new AutofillProfileBridge();
@@ -212,6 +208,7 @@
fieldFloatLabel.setHint(field.label);
EditText fieldEditText = fieldFloatLabel.getEditText();
+ fieldEditText.setContentDescription(field.label);
fieldEditText.addTextChangedListener(this);
if (field.id == AddressField.STREET_ADDRESS) {
fieldEditText.setSingleLine(false);

Powered by Google App Engine
This is Rietveld 408576698