Chromium Code Reviews| Index: chrome/android/java/res/layout/autofill_server_card_clear_copy_button.xml |
| diff --git a/chrome/android/java/res/layout/autofill_server_card_clear_copy_button.xml b/chrome/android/java/res/layout/autofill_server_card_clear_copy_button.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..260cbc0ac27df479a24ec59b090d3ed0b730dbd6 |
| --- /dev/null |
| +++ b/chrome/android/java/res/layout/autofill_server_card_clear_copy_button.xml |
| @@ -0,0 +1,16 @@ |
| +<?xml version="1.0" encoding="utf-8"?> |
| +<!-- 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. --> |
| + |
| +<!-- Layout for button that permits user to clear the local copy of a card. --> |
| +<org.chromium.chrome.browser.widget.ButtonCompat |
| + xmlns:android="http://schemas.android.com/apk/res/android" |
| + xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| + android:id="@+id/button_preference" |
| + android:layout_height="wrap_content" |
| + android:layout_width="wrap_content" |
| + android:minHeight="40dp" |
|
newt (away)
2015/03/18 04:31:44
By default, buttons have a minHeight of 36dp. We u
Evan Stade
2015/03/19 00:24:22
This is actually copied from preference_button.xml
newt (away)
2015/03/19 01:41:42
Ah, my bad. Didn't realize we override the height
|
| + android:textColor="#fff" |
| + android:text="@string/autofill_clear_local_copy_button" |
| + chrome:buttonColor="@color/pref_accent_color" /> |