OSDN Git Service

Use CheckableLinearLayout for Use USB for dialog's item.
authorDaichi Hirono <hirono@google.com>
Thu, 17 Mar 2016 06:57:36 +0000 (15:57 +0900)
committerDaichi Hirono <hirono@google.com>
Thu, 17 Mar 2016 06:57:36 +0000 (15:57 +0900)
commit9300eb1b147c22f433549c2b93d00b287e475e5f
tree377b83b2c66a55ccec5d4d3d9a58e4252632fa38
parent42734c1551dfac552376efad685f0215724ab518
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