CardFrame

public class CardFrame
extends ViewGroup

java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.support.wearable.view.CardFrame


This class is deprecated.
starting with Android Wear 2.0 it is no longer encouraged to use cards for apps' UI. If you are looking to implement vertical paging pattern, consider using the SnapHelper and a RecyclerView instead.

Wraps a view in a card-styled frame with a white background, rounded corners and a light drop-shadow. This layout is designed to be given a height of WRAP_CONTENT within a container with a fixed height.

To function properly, this view should be contained within a CardScrollView. A CardFragment provides this automatically.

Summary

Constants

int EXPAND_DOWN

int EXPAND_UP

float NO_EXPANSION

Inherited constants