I would like to know how to make the user select some value on line like the example I show you in the attachment.
settings from tinder app
I would like to know too how to make the user select values between 2 values (like in the pic I'm showing you)
I thank you in advance for your help
Try to use SeekBar controller.
To select from a range of values like the attachment that you provided, consider using SeekBar
To select one of two values, consider using Switch
Related
enter image description here
Sorry for the language of that pics, it is korean.
I want to make a planner that can help me to be noticed my plan. As you can see the picture, it is a calender, and I can add some plan depend on a user. the korean meaning is my major of Uni. So it is just some schedule.
The problem is I don't have any idea how to make like that. The way to operate this app, I hope I can add my schedule on the specific dates like the pictures and, creat the interface like that. I can slide the planner and it leads the next dates. When the plan comes to me, it could notice me by sound.
I can't find the way how to code the function 'slide' and how change the months and dates automatically by sliding?
I have ever create an application like this picture for my job interview, you can use recyclerview to show the date as horizontal. Then you should create database to showing data by date selected. Then showing the data as vertical using recyclerview after selected date. This is really simple apps.. Below is picture i have
enter image description here
I need an advice about ListView.
A give you an example:
Assume that i have a map. If i'll touch some place on it i'll get an information about that place and then, on screen, a dialog fragment will appear. In this dialog i can write a name of place, which i touched. The names should be saved into ListView but if i'll click on some of them i want to get information.
Can some of you tell me how i should do this? Is it possible to save that information in Shared Preferences?
Maybe you would get it work with SharedPref. but it isn't a nice way to that. I think the best way is to create an Android SQL-DataBase. Like in every other Database you could use one column for the name, one for the information text, one for coordinates and so on (that's just an example). The data will stay, also if your app is closed (like SharedPref).
I have used this forum when I didn't know how to do something, but now I have decided to begin participating in it.
I would like to know how could I do a dropdown text (maybe it has a specific name and that's why I don't find any results on the internet). I mean, I have some tags in the screen (About, Company, Contact, ...). Each of these tags has a down arrow on the right side, and when I click it, it has to display (and hide if it's clicked again).
Here are the links with the images of what I want to do.
http://i45.tinypic.com/4fzoso.png
http://i47.tinypic.com/2u5886q.png
Thank you in advance!
You should use an ExpandableListView component.
There is a tutorial for it here.
Finally I did it with ImageViews and TextViews using the property android:visibility. Now that it's a static version is working properly. I hope that it continues working well when taking the information from the DB
I want a custom layout drop down box for my app as if like i am on my homepage and i press a button that's in center of page and then this layout should appear after i press that button, i tried several other and searched the internet but i was unable to get an idea on how to make a drop down box like this :
this shows like two kinds of layout first one we pick the date like 12 months in first column , then 1-31 numbers and then the year from 2001-2012, i don't get and idea that how can make this effect like glassy one i wanted to make like exact same layout as shown here, can any one please suggest me how to implement that coding will me much helpful.
There is an example you can refer this one
http://code.google.com/p/android-wheel/
you can get source from here for that
http://android-wheel.googlecode.com/svn/trunk/
another example
https://github.com/sys1yagi/AndroidPractice/tree/master/DrumPicker/trunk
I have a range say,1-100 and i want the user to select a value from this range.Ofcourse showing this with a spinner will be awful.I want to use the functionality of date widget,where we can pick a date by pressing a +/- sign,the longer the press ,higher the iteration speed.
I found numberpicker.java that has the code the date widget uses to get this functionality, but do i have to paste that entire code to achieve this functionality!
Here is a tutorial on how to pull out NumberPicker; I've followed it myself: http://www.quietlycoding.com/?p=5
I found numberpicker.java that has the
code the date widget uses to get this
functionality, but do i have to paste
that entire code to achieve this
functionality!
Unfortunately, yes, plus perhaps some resources as well (I have not looked at that code recently). I am not aware of anyone who has pulled that out to make a reusable component, and it is not a widget in the SDK.
Sorry!