Search code examples
androidwear-os

Difference between wear.widget.BoxInsetLayout vs wearable.view.BoxInsetLayout


I am new in the wearable world and trying to distinguish things. Can anyone explain what is the difference between these two? I want to make my root layout of a WearableActivity fit the watch bounds. The official documentation is missing or incomplete.


Solution

  • From the official android.support.wearable.view.BoxInsetLayout documentation:

    This class is deprecated.

    use the android.support.wear.widget.BoxInsetLayout provided by the Android Support Library Wear module instead.