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

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

Issue 965933002: Address NewApi and other Android lint warnings in src/chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 9 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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 6 <ScrollView 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="match_parent" 8 android:layout_height="match_parent"
9 android:fillViewport="true" > 9 android:fillViewport="true" >
10 10
(...skipping 24 matching lines...) Expand all
35 android:layout_width="wrap_content" 35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content" 36 android:layout_height="wrap_content"
37 android:textOn="@string/text_on" 37 android:textOn="@string/text_on"
38 android:textOff="@string/text_off" /> 38 android:textOff="@string/text_off" />
39 39
40 </LinearLayout> 40 </LinearLayout>
41 41
42 <ImageView 42 <ImageView
43 android:layout_width="match_parent" 43 android:layout_width="match_parent"
44 android:layout_height="wrap_content" 44 android:layout_height="wrap_content"
45 android:contentDescription="@null"
45 android:src="?android:attr/listDivider" 46 android:src="?android:attr/listDivider"
46 android:scaleType="fitXY" /> 47 android:scaleType="fitXY" />
47 48
48 <EditText 49 <EditText
49 android:id="@+id/custom_uri" 50 android:id="@+id/custom_uri"
50 android:layout_width="match_parent" 51 android:layout_width="match_parent"
51 android:layout_height="wrap_content" 52 android:layout_height="wrap_content"
52 android:layout_marginTop="16dp" 53 android:layout_marginTop="16dp"
53 android:layout_marginStart="16dp" 54 android:layout_marginStart="16dp"
54 android:layout_marginEnd="16dp" 55 android:layout_marginEnd="16dp"
55 android:hint="@string/options_startup_pages_placeholder" 56 android:hint="@string/options_startup_pages_placeholder"
56 android:inputType="textUri" 57 android:inputType="textUri"
57 android:nextFocusLeft="@id/custom_uri" 58 android:nextFocusLeft="@id/custom_uri"
58 android:nextFocusUp="@id/custom_uri" 59 android:nextFocusUp="@id/custom_uri"
59 android:singleLine="true" 60 android:singleLine="true"
60 android:textAppearance="?android:attr/textAppearanceMedium" /> 61 android:textAppearance="?android:attr/textAppearanceMedium" />
61 62
62 <CheckBox 63 <CheckBox
63 android:id="@+id/default_checkbox" 64 android:id="@+id/default_checkbox"
64 android:layout_width="match_parent" 65 android:layout_width="match_parent"
65 android:layout_height="wrap_content" 66 android:layout_height="wrap_content"
66 android:layout_marginTop="16dp" 67 android:layout_marginTop="16dp"
67 android:layout_marginBottom="16dp" 68 android:layout_marginBottom="16dp"
68 android:layout_marginStart="16dp" 69 android:layout_marginStart="16dp"
69 android:layout_marginEnd="16dp" 70 android:layout_marginEnd="16dp"
70 android:text="@string/homepage_default_title" /> 71 android:text="@string/homepage_default_title" />
71 </LinearLayout> 72 </LinearLayout>
72 73
73 </ScrollView> 74 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698