Created
July 29, 2018 23:38
-
-
Save DasserBasyouni/7636536f01fa987331d3da5c8050d960 to your computer and use it in GitHub Desktop.
Custom Button Background with BoomMenu Library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<com.tech.futureteric.introui.ui.CustomButton | |
android:id="@+id/button_sign_up" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginBottom="8dp" | |
android:layout_marginEnd="32dp" | |
android:layout_marginLeft="32dp" | |
android:layout_marginRight="32dp" | |
android:layout_marginStart="32dp" | |
android:paddingBottom="6dp" | |
android:paddingTop="6dp" | |
app:buttonBackground="@drawable/round_button_filled" | |
app:buttonEnum="textInsideCircle" | |
app:buttonPlaceEnum="buttonPlace_sc_6_4" | |
app:buttonText="@string/label_start" | |
app:buttonTextColor="@color/default_bmb_shareLine1Color" | |
app:buttonTextSize="18sp" | |
app:layout_constraintBottom_toTopOf="@+id/button_sign_in" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:piecePlaceEnum="piecePlace_dot_6_4" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CustomButton customButton = findViewById(R.id.button_sign_up); | |
BoomMenuButton bmb = customButton.getBoomMenuButton(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment