Support date header and Recent in PhotosTabFragment
- Add DateHeaderHolder
- Update items for date header and recent
- Support ITEM_TYPE_DATE_HEADER in PhotosTabAdapter
- Add DateTimeUtils
Bug: 189732217
Test: Manual. videos on the bug.
Test: atest DateTimeUtilsTest
Test: atest ItemTest
Change-Id: I3e8b7582c743e12548fd44e71e8a5beb079f561f
Merged-In: I3e8b7582c743e12548fd44e71e8a5beb079f561f
(cherry picked from commit 1b6db2d497508fece1bfd4a194af7577bb8940ad)
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 92812ee..28a7b60 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -31,6 +31,8 @@
<dimen name="picker_item_badge_margin">5dp</dimen>
<dimen name="picker_item_badge_text_margin">3dp</dimen>
<dimen name="picker_item_badge_text_size">10dp</dimen>
+ <dimen name="picker_date_header_height">56dp</dimen>
+ <dimen name="picker_date_header_padding">16dp</dimen>
<!-- PhotoPicker Preview -->
<dimen name="preview_buttons_margin_horizontal">16dp</dimen>