The foundation part of the Dynamic Persistent Sheet concept implementation

This change adds all the foundation code needed:
+ demo in the Catalog,
+ persistentsheet package with 2 classes:
  * PersistentSheet,
  * PersistentSheetTransformationBehavior

Instead of a proper expansion animation, a placeholder animation copied from FAB transformations is added. Proper animations to be added later.

PiperOrigin-RevId: 162641104
This commit is contained in:
Material Design Team 2017-07-20 14:24:09 -04:00 committed by Miguel Yanez Barreto
parent 0c49c64a57
commit fd840cbf9a

View File

@ -15,19 +15,21 @@
~ limitations under the License.
-->
<resources>
<!-- The class name to the ScrollingChildBehavior required for AppBarLayout -->
<!-- The class name for the ScrollingChildBehavior required for AppBarLayout -->
<string name="appbar_scrolling_view_behavior" translatable="false">android.support.design.widget.AppBarLayout$ScrollingViewBehavior</string>
<!-- The class name to the BottomSheetBehavior -->
<!-- The class name for the BottomSheetBehavior -->
<string name="bottom_sheet_behavior" translatable="false">android.support.design.widget.BottomSheetBehavior</string>
<!-- The text pattern for the character counter -->
<string name="character_counter_pattern" translatable="false">%1$d / %2$d</string>
<!-- Content description for the password visibility toggle button. [CHAR LIMIT=NONE] -->
<string name="password_toggle_content_description">Toggle password visibility</string>
<!-- The class name to the HideBottomViewOnScrollBehavior -->
<!-- The class name for the HideBottomViewOnScrollBehavior -->
<string name="hide_bottom_view_on_scroll_behavior" translatable="false">android.support.design.widget.HideBottomViewOnScrollBehavior</string>
<!-- The class name to the FabTransformationSheetBehavior -->
<!-- The class name for the FabTransformationSheetBehavior -->
<string name="fab_transformation_sheet_behavior" translatable="false">android.support.design.widget.transformation.FabTransformationSheetBehavior</string>
<!-- The class name to the FabTransformationScrimBehavior -->
<!-- The class name for the FabTransformationScrimBehavior -->
<string name="fab_transformation_scrim_behavior" translatable="false">android.support.design.widget.transformation.FabTransformationScrimBehavior</string>
<!-- The class name for the PersistentSheetTransformationBehavior -->
<string name="persistent_sheet_transformation_behavior" translatable="false">android.support.design.widget.persistentsheet.PersistentSheetTransformationBehavior</string>
</resources>