The design elements of the header and footer of the Modal Layout Picker (aka page layout picker, starter page picker) is being reused as part of the Home Page Picker. With that we'd like to extract the header and footer components from the Modal Layout Picker (MLP) into a reusable component to be used in the container (https://github.com/wordpress-mobile/gutenberg-mobile/issues/2717 ). This should include:
| Base Container Goal Home Page Picker| Base Container Goal - MLP |
| --- | --- |
|
|
|
馃摀Updated designs will come later than what is currently linked here.
Design i1

On Android:
CollapsingToolbarLayout. The same implementation can be used in the Starter page picker. Extracting this as a custom component will not improve code reusability.xml layouts used for the header/footer are already defined in separate layout files that are imported using includeThus putting more effort to extract the header and footer behavior at this point is not needed. Minor refactoring (e.g. renaming layout resources to declare reusable nature) might be needed. This can be evaluated and implemented as needed during the development of Starter page picker.
cc @chipsnyder, @Tug
Most helpful comment
On Android:
CollapsingToolbarLayout. The same implementation can be used in the Starter page picker. Extracting this as a custom component will not improve code reusability.xmllayouts used for the header/footer are already defined in separatelayoutfiles that are imported usingincludeThus putting more effort to extract the header and footer behavior at this point is not needed. Minor refactoring (e.g. renaming layout resources to declare reusable nature) might be needed. This can be evaluated and implemented as needed during the development of Starter page picker.
cc @chipsnyder, @Tug