OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
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 | |
4 found in the LICENSE file. | |
5 --> | |
6 | |
7 <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
| |
8 <item> | |
9 <shape android:shape="rectangle"> | |
10 <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
| |
11 </shape> | |
12 </item> | |
13 <item android:top="1px"> | |
14 <shape android:shape="rectangle"> | |
15 <solid android:color="@android:color/white"/> | |
16 </shape> | |
17 </item> | |
18 </layer-list> | |
OLD | NEW |