Hello first of all i'm a newbie for the libraries stuff.
I found a Demo Project on Github here but it contains more than i need
I want this like Slider
Image
I have optimized it but its not working. So someone here, please take a look and guide me
Or any other stuff by which i can make that like layout?
Need to use padding for SlidingTabStrip. TabLayout has only app:tabContatentStart property, but you need to set both sides for this behavior.
Look here: https://stackoverflow.com/a/36886331/651770
Related
I am building an Android application in which I would like to add a button inside the TabLayout. I understand that it is technically feasible but please confirm if it is the recommended approach in Android.
For the reference, below is the sample screenshot. I am looking for similar implementation but instead of displaying only image, I would like to display a checkbox along with a label.
Please help me understand the recommended approach and also please share if any reference in the official documentation about this.
As there are no answers so far, I would like to share my research's key points.
It is not recommended to use icons or some other buttons within the TabLayout.
The TabLayout should be totally allocated in the full width otherwise the user experience will get negatively impacted when we add more number of tab items.
I want to create a sliding weight scale for my app like the one in screen shot. I cannot figure out which Layout or UI components to use. Please Suggest a way or tutorial to do this.
Thanks
Link to screenshot
Did not get any reference so I tried creating it on my own. Check it out in Github.
SlidingScale - GitHub
How to implement those popular welcome guides, where you have:
3-5 slides (with those little dots indicating the process), in the end button with something like "got it" (take me to the app & never show again).
Here is example (Walkthroughs with Twine):
https://ux.stackexchange.com/questions/50723/android-multi-step-wizard-examples
A simple ViewPager and multiple contained View's or Fragments will help you achieve this. For the indicator you can use ViewPagerIndicator.
you can simply use ViewPager here is a good library will help you to implement that:
https://github.com/JakeWharton/ViewPagerIndicator
or you can use a horizontal GridViews and set its column to 1 or using tabs and here is a library for horizontal gridView :
https://github.com/jess-anders/two-way-gridview
I'm looking for a a tutorial or a start for creating swipeable intros like this image for introducing and helping users in using the app, I know it is based on android swipeable views but all the links I found had tabs, and since these kinds of intros are very popular I though maybe there is a better and more forward way to do it.
Thanks very much
Try to use : Android-ViewPagerIndicator lib(https://github.com/JakeWharton/Android-ViewPagerIndicator)
You need to use a ViewPager and a library called ViewPagerIndicator for the small circle at the bottom.
I'm using a ViewPager to host multiple views, and I want something to visually show where the user is currently located. I don't want to use PagerTitleStrip or PagerTabStrip cause I don't want titles.
I want something similar to the horizontal line in the default launcher of the Nexus 4 shown in here:
When you swipe left or right, there is a slightly bigger rectangle that shows your position relative to the pages.
How can I do this?
PS: I can't use any library cause the code is going to be written in C# with Xamarin, also can't use any Xamarin component cause license won't let it have any more components.
Use the ViewPagerIndicator Library. This has an option for your desire.
ADDITION
I found this official Xamarin ViewPagerIndicator Library. Maybe this would help.