Languanges & Tools
anton46 / android-stepsview Goto Github PK
View Code? Open in Web Editor NEWAndroid-StepsView
Home Page: http://anton46.com
License: Apache License 2.0
Android-StepsView
Home Page: http://anton46.com
License: Apache License 2.0
How to change step view position dynamically
How can i change the font size and font type of labels
Error:No such property: POM_ARTIFACT_ID for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer
Using the attached code, the first label appears bold always - updating the completedPosition updates the indicator but does not change the bolding from the first label. Not sure if the first label shouldn't be bold or if the bold should be moving.
Activity Code:
steps.setLabels(titles.toArray(new String[titles.size()]))
.setColorIndicator(getResources().getColor(R.color.primary))
.setBarColor(getResources().getColor(R.color.dark_gray))
.setLabelColor(getResources().getColor(R.color.dark_gray))
.setCompletedPosition(0);
Layout:
<com.anton46.stepsview.StepsView
android:id="@+id/steps"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
hi i'm using your library but my requirement is to show labels below the circle can you help me please
I want to use this type of View in my App. & minSdk Support by my App. is 11 so how can I use this ??
I use your StepView ,but my stepView is long ,so I change your code
your code:
mDelta = (mRightX - mLeftX) / (mNumOfStep - 1);
I update
mDelta = dip2px(getContext(),115);
so my step view will keep 115 dip Delta
But now I can not make it scroll horizontal even though I use HorizontalScrollView like this
<HorizontalScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
android:padding="@dimen/dimen_dp_4">
<com.chow.widget.stepview.StepView
android:id="@+id/step_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</HorizontalScrollView>
thanks
Hello,
Thank you for your work. is it possible to make the segments clickable/selectable ?
Thanks
this library is very nice.
please add property typeface for use every font.
can i set the step in int not in label ?
because the label i set to empty string it also block my view
Hi @anton46 Thanks for your contribution. This is so useful to developers. I am looking forward for latest version of this code. Could you please update the version and push it again?
When the label array size() > 2. throw exception: Invalid index 2, size is 2
texts overlap
Stepper not support RTL , how to reverse layout direction ?!
Great repo!
Is adding a stroke or outline currently possible?
Thanks
When the device rotates the thumbs are doubled. It seems the property mThumbContainerXPosition in onSizeChanged() is not cleared.
Furthermore it would be nice to be able to set the style properties in the xml file and not only at source code level.
Can you provide an example of how to keep the current completed position when the device rotates?
Regards from Austria
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.