CodMania
CodMania

Reputation: 27

error: attribute behaviour_peekHeight not found

app:layout_behavior="android.support.design.widget.BottomSheetBehavior"

app:behavior_hideable="true"

app:behaviour_peekHeight="56dp"

I'm trying to make a bottom sheet. When I run my program it shows this:

error: attribute behaviour_peekHeight  not found

Why?

Upvotes: 1

Views: 837

Answers (1)

Gabriele Mariotti
Gabriele Mariotti

Reputation: 364451

Use:

app:behavior_peekHeight="56dp"

instead of:

app:behaviour_peekHeight="56dp"

Upvotes: 2

Related Questions