From 9300eb1b147c22f433549c2b93d00b287e475e5f Mon Sep 17 00:00:00 2001 From: Daichi Hirono Date: Thu, 17 Mar 2016 15:57:36 +0900 Subject: [PATCH] Use CheckableLinearLayout for Use USB for dialog's item. The root of "Use USB for" dialog's item is CheckableLinearLayout, which defers the check state to direct children. However previously we had CheckedTextView not just under CheckableLinearLayout. The structure looks like: Root CheckableLinearLayout -> LinearLayout -> CheckedTextView The CL replaces the second child LinearLayout with CheckableLinearLayout so that we can defer the state to CheckedTextView. BUG=27708922 Change-Id: If0491235eac0a82bcb07e31856aa6b9535930fb2 --- res/layout/restricted_radio_with_summary.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/layout/restricted_radio_with_summary.xml b/res/layout/restricted_radio_with_summary.xml index 399d11d39e0..55f158c91b5 100644 --- a/res/layout/restricted_radio_with_summary.xml +++ b/res/layout/restricted_radio_with_summary.xml @@ -23,7 +23,7 @@ android:background="?android:attr/selectableItemBackground" android:minHeight="?android:attr/listPreferredItemHeightSmall"> - - +