a373804d10f93a9488adc35cf6ce44dce09b3778 |
|
21-Apr-2016 |
Dake Gu <dake@google.com> |
leanback: allow customize title view branding Added theme attribute browseTitleViewLayout to customize layout for title view. The theme attribute is shared across all BrandedFragment subclasses including BrowseFragment, DetailsFragment, VerticalGridFragment and ErrorFragment. Custom layout can provide a customized widget which implements TitleViewAdapter. Expose hidden base BrandedFragment class to public in API, this fix issues of API generator does not handle public methods in hidden base class. Refactored ErrorFragment to use BrandedFragment. Bug 28297243 Change-Id: I355a0a12a1d994b6bb0a63745a0754557a5f4b20
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/TitleViewAdapter.java
|