Chromium Code Reviews| Index: content/public/android/java/res/layout/text_edit_suggestion_item.xml |
| diff --git a/content/public/android/java/res/layout/text_edit_suggestion_item.xml b/content/public/android/java/res/layout/text_edit_suggestion_item.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9dfaeb9e3d46426a617970f89414ae43942c9c1f |
| --- /dev/null |
| +++ b/content/public/android/java/res/layout/text_edit_suggestion_item.xml |
| @@ -0,0 +1,20 @@ |
| +<?xml version="1.0" encoding="utf-8"?> |
| +<!-- Copyright 2017 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. --> |
| + |
| +<!-- Based on Android's text_edit_suggestion_item.xml --> |
| +<TextView xmlns:android="http://schemas.android.com/apk/res/android" |
| + android:textSize="14sp" |
| + android:fontFamily="sans-serif" |
| + android:textColor="?android:attr/textColorPrimary" |
| + android:drawablePadding="8dip" |
| + android:gravity="start|center_vertical" |
| + android:layout_gravity="start|center_vertical" |
| + android:layout_height="@dimen/text_edit_suggestion_item_layout_height" |
| + android:layout_width="match_parent" |
| + android:paddingBottom="8dip" |
|
Theresa
2017/07/18 15:37:51
nit: While dip and dp are interchangeable, dp is m
rlanday
2017/07/19 00:23:55
Ok, I've changed all my code to dp
|
| + android:paddingEnd="16dip" |
| + android:paddingStart="16dip" |
| + android:paddingTop="8dip" |
| + android:singleLine="true" /> |