tiennb / android-dateslider Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-dateslider
Automatically exported from code.google.com/p/android-dateslider
What steps will reproduce the problem?
1.Open Alternative Date
2.Scroll year up to about 2100
3.Scroll down to 2011 again
What is the expected output? What do you see instead?
I want to scroll back to 2011, but it stops at 2067 and loops forever if I try
to scroll back more.
What version of the product are you using? On what operating system?
I use DateSlider_1.2_full on android version 2.3.6.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2011 at 7:26
Attachments:
What steps will reproduce the problem?
1. Scrolling fastly within all the screen
2. You will see that it is lagging or even stops
What is the expected output? What do you see instead?
The onCancel action from the onTouch method is called even if we are still
scrolling.
What version of the product are you using? On what operating system?
1.2
Please provide any additional information below.
I integrated the dateslider into a linearLayout and not a Dialog but I can
reproduce this issue in a Dialog as well
Original issue reported on code.google.com by [email protected]
on 12 Aug 2011 at 3:59
Create a SliderContainer, set time such that hour and minute are 0. Set minute
interval to 5
=>
Problem 1: Displayed minute slider is not centered at 00, but 40 - 00 is not
even visible.
Now push minute slider to the left (i.e., scroll into direction of the 00 to
the right).
=>
Problem 2: The numbers following 40 are 45, 50, 55, _04_, 05, 10, ...
Scroll such that the 04 is out of sight, scroll back
=>
Good news: now a 05 is displayed.
I have also seen the 05 replaced with a 06.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2011 at 2:11
The only API to set the SliderContainer's time is setTime(Calendar). However, I
would also have something like scrollToTime(Calendar), which not just sets the
sliders to the new time, but scrolls them to that time. I think this is both
intuitive and appealing to the user in many situations.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2011 at 1:38
To reproduce the problem:
1. In eclipse, right click DateSlider project, select properties.
2. Choose Android and check Is Library.
3. Right click the project you want to use the lib in and select properties.
Choose Android->Add... and select DateSlider
I would expect that the Android eclipse plugin would add the DateSlider source
and R.java to the project i want to use it in (see attached picture). Instead I
get many error messages which i think means that the R.java isn't generated.
Errormsg: "...res\layout\timeslider.xml:13: error: No resource identifier found
for attribute 'childWidth' in package
'com.googlecode.android.widgets.DateSlider'"
It would be very nice to have this working. Dunno what causes this to happen.
It works awesome with Cyril Mottier's GreenDroid. Check it out
Original issue reported on code.google.com by [email protected]
on 19 Jul 2011 at 2:26
Attachments:
I have been playing with the most recent version of the master branch on github
(last commit Nov 9).
Fixed a few bugs and added a demo example for the new scrolling animation.
I have attached the output from 'git diff HEAD' for the master branch
(DateSlider.diff).
Here is a summary of the my changes:
AndroidManifest.xml
Bumped versionCode to 2 and versionName to 1.2
Use different app names for full and minimal demo, so they do not
appear with the same name in the applications grid.
See also strings.xml.
README
Bumped version to 1.2 in header.
customdateslider.xml
Increased childWidth from 100dp to 105dp to avoid the 'week nn'
label splitting over 2 lines on certain screens.
dialogtitle.xml
Changed gravity from "center_vertical" to "center".
Looks better on large screens (tablets).
main.xml
Packed the LinearLayout into a ScrollView so all buttons and the
bottom TextView can be reached on all screens (e.g. also in
landscape).
Added button for scroll animation demo.
strings.xml
Separate strings for full and minmal demo app name.
DateSlider.java
Added code to demo the slider animation introduced in the recent
commits on master. Scrolls from one month before to the specified
date in 2.5 seconds.
Corrected result text for Month/Year case.
Corrected code for 'Select Time with Limit'.
Removed dot after day number (needed in German, not in English).
MinimalDemo.java
Removed dot after day number (needed in German, not in English).
SlicerContainer.java
Added code to limit the width of the slider on wide screens.
Do not know if this is the correct way to use onMeasure, but it
works nicely on tablets and in landscape mode.
DayTimeLayoutView.java
Made the sunday color more reddish. Had difficulty to distinguish
sundays from weekdays.
Original issue reported on code.google.com by [email protected]
on 15 Nov 2011 at 5:45
Attachments:
What steps will reproduce the problem?
1. Use DateSlider Demo
2. Export Demo with proguard enabled
What is the expected output? What do you see instead?
When the dialog should open, the app will crash
Using eclipse Indigo
Android SDK rev 12
Original issue reported on code.google.com by [email protected]
on 20 Sep 2011 at 11:15
Is it possible to have a long press to fire when we long press on any date in
slider and to open a default date picker dialog with current date as selected
in date slider. And when user selects a new date in date picker dialog and
close, same date should be set in date slider ?
Original issue reported on code.google.com by [email protected]
on 4 Apr 2013 at 6:02
Currently, the hour slider is centered if the minute slider has 30 as its
center. I find this behavior confusing - is it possible to optionally configure
the sliders such that the hour is centered when the minute slider has a 0 as
its center?
One use case is that I want to use the DateSlider to let the user choose a
duration. For this, I initially set 0:00 as the SliderContainer's time. It's
very confusing to the user now that the 0 is not centered in the hour slider.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2011 at 1:35
What steps will reproduce the problem?
1. Instantiate a slider using a Calendar with a different timezone from the
default one.
2. When using the slider the date and time are shown with the default timezone
instead of the one passed to the constructor.
What is the expected output? What do you see instead?
Expected is that the sliders use the timezone from the constructor.
What version of the product are you using? On what operating system?
1.1 on Froyo (2.2.2)
Please provide any additional information below.
I am using the sliders in an app which has to present all date/times in UTC.
Fixed it by adding a copying of the timezone from mTime to all internally used
Calendars.
Original issue reported on code.google.com by [email protected]
on 26 Feb 2011 at 1:35
Sliders are only settable when created. There is no way to set them
to a specified value at the next invocation (using OnPrepareDialog).
Please implement a method for doing this.
Original issue reported on code.google.com by [email protected]
on 26 Feb 2011 at 1:39
What steps will reproduce the problem?
1. Extend the DateTimeSlider constructor to also take a minute interval as
argument and pass it to the superclass DateSlider
2. In you client code when you create the DateTimeSlider pass a minute
interval, e.g. I used '30' (I assumed this would mean '30 minutes')
What is the expected output? What do you see instead?
No matter what value I use it seems to be ignored,the interval is always 15
minutes
What version of the product are you using? On what operating system?
v.1.2
Please provide any additional information below.
When I look at the TimeSlider in the Demo it seems to work. I think it has to
do with the different 'Labelers' that are used in the DateTimeSlider (which
uses a TimeLabeler) and the TimeSlider which uses a HourLabeler and
MinuteLabeler.
In the TimeLabeler the javadoc says "A Labeler that displays times in
increments of {@value #MINUTEINTERVAL} minutes." (MINUTEINTERVAL = 15). Still,
when I pass in a value of 2 for the minute interval in the DateTimeSlider it
doesn't have any effect (I would assume an interval of 2 * 15 = 30 minutes).
Also in the DateSlider.OnDateSetListener one has to do some rounding manually
to get the proper time.
Is there any chance that this could be fixed?
Original issue reported on code.google.com by [email protected]
on 27 Nov 2011 at 2:23
What steps will reproduce the problem?
1. Modify Demo to pass a minimum date to limit datetime slider
2. Slide month to the minimum date
I would expect that the time limit is respected also when sliding year like it
does on sliding day or time.
Instead I get different timelimit with sliding on month.
Tested on Nexus S with Android 2.3.4 and using 1.2 Date slider version.
Thank you for your work.
Original issue reported on code.google.com by [email protected]
on 11 Sep 2011 at 1:47
Is it possible to add date range?
I want user can scroll a date within a date range
please give some hint in case of you are not interested to update the code.
Thank You
Original issue reported on code.google.com by [email protected]
on 24 Jul 2014 at 2:37
What steps will reproduce the problem?
1. Open Month/Year
2. Go to Year 1945
3. Try to go to a date before that
What is the expected output? What do you see instead?
It should go to previous dates. It does not.
What version of the product are you using? On what operating system?
Froyo HTC Desire. also on the emulator...
Original issue reported on code.google.com by [email protected]
on 16 Jun 2012 at 6:59
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.