DescriptionMake TrayDetailsView a ViewClickListener and ButtonListener
Some initial changes in preparation for implementing
the material design version of the detailed views
in the Ash system menu:
* Make TrayDetailsView extend ViewClickListener
and ButtonListener instead of having each of
TrayDetailsView's subclasses extend these.
The aim is to place common code in TrayDetailsView.
* Rename the TrayDetailsView "footer row" to be
the "title row"; for material design this row
appears at the top of the detailed view, not
the bottom.
* For material design (--ash-md=experimental), show
the title row at the top of the detailed view
and do not instantiate or show any non-MD
buttons in this row. Further improvements to
the appearance and functionality of the title
rows to be handled in subsequent CLs.
BUG=642136
TEST=ash_unittests
Committed: https://crrev.com/bd26b635c2b1e5ad8287a4f87d87f5ce2c697267
Cr-Commit-Position: refs/heads/master@{#416134}
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 17
Patch Set 3 : comments addressed #
Total comments: 2
Patch Set 4 : CreateTitleRow() parameter removed #
Total comments: 3
Patch Set 5 : const accessors #Patch Set 6 : fix test #Messages
Total messages: 34 (19 generated)
|