Skip to content
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

Border Color and Width #296

Open
1 task
heihitesh opened this issue Aug 26, 2023 · 5 comments
Open
1 task

Border Color and Width #296

heihitesh opened this issue Aug 26, 2023 · 5 comments

Comments

@heihitesh
Copy link

heihitesh commented Aug 26, 2023

What kind of issue is this?

  • Feature Request.

Please developer, Can you add a way to add border color and Width, I am using a white button, For that I need a border.

Details

@heihitesh heihitesh reopened this Aug 26, 2023
@cortinico cortinico changed the title Border Color and Width ` Border Color and Width Aug 30, 2023
@cortinico
Copy link
Owner

Are you referring to the slider bubble (the circular icon that the user can grab and slide)?

@heihitesh
Copy link
Author

heihitesh commented Aug 30, 2023 via email

@heihitesh
Copy link
Author

Any Updates ? Is it possible

Thank You

@xurshidt90
Copy link

border_color and border_width are missing. it would be nice to join

image

@akkie2106
Copy link

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/dp_5"
        android:layout_marginBottom="@dimen/dp_16"
        android:background="@drawable/rounded_border_button"
        android:elevation="@dimen/dp_4"
        android:padding="@dimen/dp_1"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent">

        <com.ncorti.slidetoact.SlideToActView
            android:id="@+id/slider"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:background="@drawable/rounded_border_button"
            android:elevation="@dimen/dp_2"
            app:animation_duration="250"
            app:area_margin="@dimen/dp_4"
            app:border_radius="@dimen/dp_150"
            app:inner_color="@color/white"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:outer_color="@color/colorprimary"
            app:slider_icon="@drawable/sv_ic_chevron_double_right"
            app:slider_locked="false"
            app:slider_reversed="false"
            app:text="You’re Online"
            app:text_appearance="@font/sofiasans"
            app:text_size="@dimen/dp_22"
            tools:layout_editor_absoluteX="3dp" />

    </androidx.constraintlayout.widget.ConstraintLayout>
![image](https://github.com/user-attachments/assets/c37b5390-5527-489e-a9cc-45db61dbb201)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants