I'm trying to set from my layout.xml the tab attribute described in the following docs.
The attribute I'm talking about is tabIndicatorAnimationMode witch should have 2 option; linear and elastic. If I search inside the github in the attrs.xml file I find them:
<attr name="tabIndicatorAnimationMode">
<!-- Animate the selection indicator's left and right bounds in step with
each other. -->
<enum name="linear" value="0"/>
<!-- Animate the selection indicator's left and right bounds out of step
with each other, decelerating the front and accelerating the back.
This causes the indicator to look like it stretches between destinations
an then shrinks back down to fit the size of it's target tab. -->
<enum name="elastic" value="1"/>
</attr>
How I'm trying to achive it:
<com.google.android.material.tabs.TabLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabIndicatorAnimationMode="elastic">
What version of material design i use? (currently the lasted available on maven)
implementation 'com.google.android.material:material:1.3.0-alpha03'
What error do i get?
layout.xml:63: AAPT: error: attribute tabIndicatorAnimationMode not found.