From: Daichi Hirono Date: Thu, 17 Mar 2016 06:57:36 +0000 (+0900) Subject: Use CheckableLinearLayout for Use USB for dialog's item. X-Git-Tag: android-x86-7.1-r1~1133^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9300eb1b147c22f433549c2b93d00b287e475e5f;p=android-x86%2Fpackages-apps-Settings.git 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 --- diff --git a/res/layout/restricted_radio_with_summary.xml b/res/layout/restricted_radio_with_summary.xml index 399d11d39e..55f158c91b 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"> - - +