Index: chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java b/chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java |
index 446f8bb37a6d46fafbf3941126f0f8ce3241c874..290bedc714f020de99cdc581599b9f4455fdbcae 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java |
@@ -11,6 +11,7 @@ import android.net.http.SslCertificate; |
import android.text.format.DateFormat; |
import android.util.Log; |
import android.view.View; |
+import android.view.ViewGroup; |
import android.view.Window; |
import android.widget.AdapterView; |
import android.widget.AdapterView.OnItemSelectedListener; |
@@ -85,7 +86,8 @@ class CertificateViewer implements OnItemSelectedListener { |
Spinner spinner = new Spinner(mContext); |
spinner.setAdapter(arrayAdapter); |
spinner.setOnItemSelectedListener(this); |
- spinner.setPadding(0, 0, mPadding / 2, mPadding); |
+ spinner.setDropDownWidth(ViewGroup.LayoutParams.MATCH_PARENT); |
+ spinner.setPadding(0, 0, 0, mPadding); |
dialogContainer.addView(spinner); |
LinearLayout certContainer = new LinearLayout(mContext); |