ShootingSlider

Additional

Language
Java
Version
N/A
Created
Jul 28, 2017
Updated
Jul 28, 2017 (Retired)
Owner
Patryk Molka (patryk1007)
Activity
Badge
Generate
Download
Source code

Advertisement

ShootingSlider

We are very pleased to present Shooting Slider, which is probably the worst Android slider ever made.

If you think it's user-friendly, please check nightmare mode.



Enjoy! :)

Usage

Add ShootingSlider the same way like other Adroid views.

    <com.patryk1007.shootingslider.ShootingSlider
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1.5"
        custom:ssLineColor="@color/colorPrimaryDark"
        custom:ssLineSize="5dp"
        android:layout_margin="20dp"
        custom:ssPointColor="@color/colorAccent"
        custom:ssPointSize="15dp"
        custom:ssSoundIconColor="@color/colorPrimaryDark"
        custom:ssSoundIconVisible="true"
        custom:ssNightmareMode="false"/>

Attributes

attr description
ssLineColor Set slider line color, default #000000
ssLineSize Set slider line size, default 7
ssPointColor Set slider point color, default #92B558
ssPointSize Set slider size, default 30
ssSoundIconColor Set sound icon color, default #92B558
ssSoundIconVisible Set sound icon visibility, default true (Visible)
ssNightmareMode Active/deactivate nightmare mode, default false (mode disable), If the mode is activated only sound icon is clickable

LICENSE

Copyright (C) 2017 patryk1007

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.