Index: chrome/android/java/res/layout/radio_button_with_description.xml |
diff --git a/chrome/android/java/res/layout/radio_button_with_description.xml b/chrome/android/java/res/layout/radio_button_with_description.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8ce63aa95b27b29bf2ac1b96fed291c331d06e8a |
--- /dev/null |
+++ b/chrome/android/java/res/layout/radio_button_with_description.xml |
@@ -0,0 +1,39 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- Copyright 2016 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. --> |
+ |
+<!-- RadioButtonWithDescription extends LinearLayout --> |
+<merge xmlns:android="http://schemas.android.com/apk/res/android" |
newt (away)
2016/02/25 06:25:52
A RelativeLayout would be better here to reduce la
PEConn
2016/02/25 14:19:51
Done.
|
+ android:orientation="horizontal" |
+ android:paddingTop="10dp" > |
+ |
+ <RadioButton |
+ android:id="@+id/radio_button" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:layout_gravity="center_horizontal" |
newt (away)
2016/02/25 06:25:52
does this do anything?
PEConn
2016/02/25 14:19:51
Done.
|
+ android:paddingEnd="16dp" /> |
+ |
+ <LinearLayout |
+ android:orientation="vertical" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content"> |
+ |
+ <TextView |
+ android:id="@+id/title" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:fontFamily="sans-serif" |
newt (away)
2016/02/25 06:25:52
not needed. same below. sans-serif is the default
PEConn
2016/02/25 14:19:51
Done.
|
+ android:textColor="#de000000" |
+ android:textSize="16sp" /> |
+ |
+ <TextView |
+ android:id="@+id/description" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:fontFamily="sans-serif" |
+ android:textColor="#8a000000" |
+ android:textSize="14sp" /> |
+ </LinearLayout> |
+</merge> |