- If you want Elastic Functionality from the layout then you have to create package in main package and paste classes from the link below :-
https://drive.google.com/drive/folders/1b0TViZ6B02NV5FhAjWooh79eKKBdWyXu
Also you'll get attribute file which have to paste on res under values folder.
For Example Sharing You Snapshot. it will look like this.
- Now you can use in your xml file like this .
<com.btc.clearapp.elasticUtility.ElasticCheckButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="96dp"
android:background="@color/black"
android:elevation="15dp"
android:text="Hii"
android:textColor="@color/white"
app:button_cornerRadius="14dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.498"
app:layout_constraintStart_toStartOf="parent" />
And it will behave like elastic property.
0 Comments