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

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

Issue 2627483003: Centering turn on Bluetooth message on the chooser (Closed)
Patch Set: added comment Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/device_chooser_content_view_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" 8 xmlns:chrome="http://schemas.android.com/apk/res-auto"
9 android:layout_width="fill_parent" 9 android:layout_width="fill_parent"
10 android:layout_height="fill_parent" 10 android:layout_height="fill_parent"
11 android:orientation="vertical" 11 android:orientation="vertical"
12 android:paddingBottom="8dp" 12 android:paddingBottom="8dp"
13 android:paddingTop="20dp" > 13 android:paddingTop="20dp" >
14 14
15 <!-- The title at the top. --> 15 <!-- The title at the top. -->
16 <org.chromium.ui.widget.TextViewWithClickableSpans 16 <org.chromium.ui.widget.TextViewWithClickableSpans
17 android:id="@+id/dialog_title" 17 android:id="@+id/dialog_title"
18 android:layout_width="wrap_content" 18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content" 19 android:layout_height="wrap_content"
20 android:paddingBottom="8dp" 20 android:paddingBottom="8dp"
21 android:paddingStart="16dp" 21 android:paddingStart="16dp"
22 android:paddingEnd="16dp" 22 android:paddingEnd="16dp"
23 android:textSize="16sp" /> 23 android:textSize="16sp" />
24 24
25 <!-- The "no item found" message. -->
26 <org.chromium.ui.widget.TextViewWithClickableSpans
27 android:id="@+id/not_found_message"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:layout_marginTop="8dp"
31 android:layout_marginStart="16dp"
32 android:layout_marginEnd="16dp"
33 android:textSize="16sp"
34 android:visibility="gone" />
35
36 <!-- A layout containing a spinning progress bar that gets replaced with a 25 <!-- A layout containing a spinning progress bar that gets replaced with a
37 list of items. --> 26 list of items. -->
38 <FrameLayout 27 <FrameLayout
39 android:id="@+id/container" 28 android:id="@+id/container"
40 android:layout_width="fill_parent" 29 android:layout_width="fill_parent"
41 android:layout_height="100dp" > 30 android:layout_height="100dp" >
31
32 <!-- The "no item found" message. -->
33 <org.chromium.ui.widget.TextViewWithClickableSpans
34 android:id="@+id/not_found_message"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_gravity="center"
38 android:layout_marginTop="8dp"
39 android:layout_marginStart="16dp"
40 android:layout_marginEnd="16dp"
41 android:textSize="16sp"
42 android:visibility="gone" />
43
42 <ProgressBar 44 <ProgressBar
43 android:id="@+id/progress" 45 android:id="@+id/progress"
44 android:layout_width="24dp" 46 android:layout_width="24dp"
45 android:layout_height="24dp" 47 android:layout_height="24dp"
46 android:layout_gravity="center" 48 android:layout_gravity="center"
47 android:indeterminate="true" /> 49 android:indeterminate="true" />
48 50
49 <ListView 51 <ListView
50 android:id="@+id/items" 52 android:id="@+id/items"
51 android:layout_width="fill_parent" 53 android:layout_width="fill_parent"
(...skipping 22 matching lines...) Expand all
74 android:layout_width="wrap_content" 76 android:layout_width="wrap_content"
75 android:layout_gravity="end" 77 android:layout_gravity="end"
76 android:layout_marginTop="12dp" 78 android:layout_marginTop="12dp"
77 android:layout_marginEnd="12dp" 79 android:layout_marginEnd="12dp"
78 android:paddingStart="16dp" 80 android:paddingStart="16dp"
79 android:paddingEnd="16dp" 81 android:paddingEnd="16dp"
80 android:textAllCaps="true" 82 android:textAllCaps="true"
81 android:textColor="#fff" 83 android:textColor="#fff"
82 chrome:buttonColor="@color/pref_accent_color" /> 84 chrome:buttonColor="@color/pref_accent_color" />
83 </LinearLayout> 85 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/device_chooser_content_view_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698