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

Side by Side Diff: chrome/android/java/res/layout/item_chooser_dialog_row.xml

Issue 2271413002: bluetooth: Implement RSSI indicator on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-impl-rssi-tx-power
Patch Set: Draft of LevelListDrawable and StateListDrawable 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 unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <TextView xmlns:android="http://schemas.android.com/apk/res/android" 6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:layout_width="match_parent" 7 android:layout_width="match_parent"
8 android:layout_height="48dp" 8 android:layout_height="48dp"
9 android:paddingStart="16dp" 9 android:paddingStart="16dp"
10 android:paddingEnd="16dp" 10 android:paddingEnd="16dp">
11 android:ellipsize="end" 11
12 android:gravity="center_vertical" 12 <ImageView
13 android:singleLine="true" /> 13 android:id="@+id/icon"
14 android:contentDescription="@null"
15 android:layout_width="24dp"
16 android:layout_height="24dp"
17 android:layout_centerVertical="true"
18 android:layout_marginEnd="32dp"/>
19
20 <TextView
21 android:id="@+id/description"
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:ellipsize="end"
25 android:maxLines="1"
26 android:layout_centerVertical="true"
27 android:layout_toEndOf="@+id/icon" />
28 </RelativeLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698