Chromium Code Reviews| Index: ui/android/java/res/layout/color_button.xml |
| diff --git a/ui/android/java/res/layout/color_button.xml b/ui/android/java/res/layout/color_button.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a2cbca0a5a6729149f8bbea49658f7bd680b5147 |
| --- /dev/null |
| +++ b/ui/android/java/res/layout/color_button.xml |
| @@ -0,0 +1,13 @@ |
| +<?xml version="1.0" encoding="utf-8"?> |
|
newt (away)
2013/08/26 20:23:20
copyright
|
| + |
| +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
newt (away)
2013/08/26 20:23:20
don't use a nested layout just to create a backgro
keishi
2013/08/29 03:40:47
Done.
|
| + android:background="@drawable/color_button_border" |
| + android:orientation="vertical" |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content" |
| + android:padding="1dp"> |
| + <View android:id="@+id/color_button_swatch" |
| + android:background="#ff0000" |
|
newt (away)
2013/08/26 20:23:20
unused background attribute
|
| + android:layout_width="48dp" |
| + android:layout_height="48dp" /> |
| +</LinearLayout> |