-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to set custom font and inner icon not visible #253
Comments
What is:
Can you share the drawable or a reproducer? |
Can you create a small reproducer by sending a PR with your custom drawable to this repo? |
Is anything wrong in the above code? Is anything missing? |
Nope the code above seems correct. I'm more interested in looking into the code of your drawable. Can you share a reproducer? |
Yes sure, Please find necessary files and code: colorPrimary: #302CA8 2 image files, 1 drawable file and 1 xml file attached: you can set dp value at your own. that will not affect. |
@nihar89 Can you provide the |
This one is my button in which I am not able to see slider icon. Any suggestion?
<com.ncorti.slidetoact.SlideToActView
android:id="@+id/slideItemCollect"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/cancelbuttonradius"
app:area_margin="@dimen/_2sdp"
app:border_radius="@dimen/_10sdp"
app:complete_icon="@drawable/imageorderactivefinish"
app:icon_margin="@dimen/_7sdp"
app:inner_color="@android:color/white"
app:outer_color="@android:color/transparent"
app:rotate_icon="false"
app:slider_height="@dimen/_35sdp"
app:slider_icon="@drawable/doublearrow"
app:slider_locked="false"
app:text="Done"
app:text_appearance="@font/outfitmedium"
app:text_color="@color/white" />
The text was updated successfully, but these errors were encountered: