Chromium Code Reviews| Index: ui/android/java/res/drawable/autofill_accessory_view_border.xml |
| diff --git a/ui/android/java/res/drawable/autofill_accessory_view_border.xml b/ui/android/java/res/drawable/autofill_accessory_view_border.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d7d0630ccf010140fe1d5b364b5ca7a2c5501b4f |
| --- /dev/null |
| +++ b/ui/android/java/res/drawable/autofill_accessory_view_border.xml |
| @@ -0,0 +1,18 @@ |
| +<?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. |
| +--> |
| + |
| +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> |
|
newt (away)
2015/04/24 17:45:12
Android doesn't have a great way to draw backgroun
Evan Stade
2015/04/24 21:19:18
I've gone with your code because it's shorter.
Th
|
| + <item> |
| + <shape android:shape="rectangle"> |
| + <stroke android:width="1px" android:color="@android:color/black" /> |
|
newt (away)
2015/04/24 17:45:12
Defining a <shape> without a <solid> causes troubl
|
| + </shape> |
| + </item> |
| + <item android:top="1px"> |
| + <shape android:shape="rectangle"> |
| + <solid android:color="@android:color/white"/> |
| + </shape> |
| + </item> |
| +</layer-list> |