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

Unified Diff: chrome/android/java/res/layout/country_item.xml

Issue 436563005: Turn Autofill country text input into a Spinner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix findbugs found bugs Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/android/java/res/layout/country_text.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/country_item.xml
diff --git a/chrome/android/java/res/layout/translate_spinner.xml b/chrome/android/java/res/layout/country_item.xml
similarity index 52%
copy from chrome/android/java/res/layout/translate_spinner.xml
copy to chrome/android/java/res/layout/country_item.xml
index 38532e6cf23f72ff2862e27b6b5f655354ebbce9..9c5c895422e2ac770a26d3049516863a2d19e320 100644
--- a/chrome/android/java/res/layout/translate_spinner.xml
+++ b/chrome/android/java/res/layout/country_item.xml
@@ -1,16 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 The Chromium Authors. All rights reserved.
-<!-- Copyright 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-
+<!-- Layout for each item in the country spinner dropdown -->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/translate_spinner"
- android:layout_width="match_parent"
+ android:id="@+id/country_item"
+ android:gravity="center_vertical"
android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="10dp"
+ android:layout_width="match_parent"
android:padding="10dp"
- android:ellipsize="end"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceListItem" />
« no previous file with comments | « no previous file | chrome/android/java/res/layout/country_text.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698