954 Commits

Author SHA1 Message Date
Junius Gunaratne
8198f65a8b [Shrine] Add ink to header and cells, update UI layout in init
Reviewers: iangordon, ajsecord, #mdc_ios_owners, featherless

Reviewed By: #mdc_ios_owners, featherless

Subscribers: featherless

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D181
2016-03-03 13:21:48 -05:00
Adrian Secord
d467dd8384 Bumped Podfile versions to 1.0.0. 2016-03-02 18:43:11 -05:00
Jeff Verkoeyen
32acf6a953 [HeaderStackView] Add component.
Summary:
The MDCHeaderStackView class lays out a vertical stack of two views.

Both bars provided to this view must implement sizeThatFits and return their best-fit
dimensions.

# Layout Behavior

The layout behavior of the two bars is as follows:

topBar: top aligned, expands to fill all available vertical space not taken up by the bottomBar.
bottomBar: bottom aligned.

If no bottomBar is provided, top bar consumes the entire bounds of the stack view.

When resized, the top bar will shrink until it reaches its sizeThatFits dimensions.
If there is a bottom bar, then at this point the top bar will begin sliding off the top.
If there is no bottom bar, then at this point the top bar will stay put.

At no point in time will either the top or bottom bar shrink below their sizeThatFits height.

# sizeThatFits Behavior

sizeThatFits returns the fitted height for bottom bar if available, otherwise it returns the
fitted height for topBar. The width will be whatever width was provided.

Reviewers: randallli, ajsecord, #mdc_ios_owners

Reviewed By: randallli, ajsecord, #mdc_ios_owners

Subscribers: randallli, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D162
2016-03-01 13:04:33 -05:00
Jeff Verkoeyen
01916e8f13 Rename the podspec to MaterialComponents.
Reviewers: kerp, #material_components_ios_owners, ajsecord

Reviewed By: kerp, #material_components_ios_owners, ajsecord

Projects: #material_components_ios

Differential Revision: http://codereview.cc/D143
2016-02-26 11:30:12 -08:00