Add the resources for toolbar and Albums tab
- Add chip item layout with Chip widget
- Add chip container in activity layout
- Add strings for photos and albums
- Add close icon and arrow back icon
- Add Albums item
- Add string for item count on Albums item
- Add string template for Add button in multi select
- Support localization for the number on the add button
- Support the RTL on Bottom bar
Test: m -j, screenshot on b/191955985
Bug: 191955985
Bug: 191127346
Bug: 191746858
Change-Id: I09cf7c8dbfc6322764310ba6c7b6061a2e19d39a
Merged-In: I09cf7c8dbfc6322764310ba6c7b6061a2e19d39a
(cherry picked from commit 74fd1427976b635913dc98a44774ec5d725968e3)
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index cee0809..36efbef 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -22,6 +22,7 @@
<!-- PhotoPicker -->
<dimen name="picker_photo_size">118dp</dimen>
+ <dimen name="picker_album_size">156dp</dimen>
<dimen name="picker_bottom_bar_size">56dp</dimen>
<dimen name="picker_bottom_bar_horizontal_gap">16dp</dimen>
@@ -37,8 +38,20 @@
<dimen name="picker_date_header_height">56dp</dimen>
<dimen name="picker_date_header_padding">16dp</dimen>
+ <dimen name="picker_album_name_height">20dp</dimen>
+ <dimen name="picker_album_name_margin">8dp</dimen>
+ <dimen name="picker_album_item_count_height">16dp</dimen>
+ <dimen name="picker_album_item_count_margin">2dp</dimen>
+ <dimen name="picker_album_bottom_bar_gap">20dp</dimen>
+ <dimen name="picker_album_grid_radius">8dp</dimen>
+ <dimen name="picker_album_item_spacing">16dp</dimen>
+
<dimen name="picker_photo_item_spacing">3dp</dimen>
+ <dimen name="picker_chip_text_size">14sp</dimen>
+ <dimen name="picker_chip_touch_size">48dp</dimen>
+ <dimen name="picker_chip_radius">16dp</dimen>
+
<!-- PhotoPicker Preview -->
<dimen name="preview_buttons_margin_horizontal">16dp</dimen>
<dimen name="preview_buttons_margin_bottom">10dp</dimen>