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

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

Issue 2426573005: bluetooth-chooser: Refactor and clean up bluetooth chooser (Closed)
Patch Set: Address tedchoc's comments Created 4 years, 2 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/res/layout/item_chooser_dialog_row.xml
diff --git a/chrome/android/java/res/layout/item_chooser_dialog_row.xml b/chrome/android/java/res/layout/item_chooser_dialog_row.xml
index f36586a3aeef43f02463257c0e7302dfeb85147c..a3543dc9e54c6d61ab6ba06ccfd695ef845a582e 100644
--- a/chrome/android/java/res/layout/item_chooser_dialog_row.xml
+++ b/chrome/android/java/res/layout/item_chooser_dialog_row.xml
@@ -2,12 +2,18 @@
<!-- Copyright 2015 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. -->
-
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- android:ellipsize="end"
- android:gravity="center_vertical"
- android:singleLine="true" />
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="48dp"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:background="@drawable/item_chooser_row_background">
+ <TextView
+ android:id="@+id/description"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:maxLines="1"
+ android:textColor="@color/item_chooser_row_text_color"
+ android:layout_centerVertical="true"/>
+</RelativeLayout>

Powered by Google App Engine
This is Rietveld 408576698