SlideDateTimePicker icon indicating copy to clipboard operation
SlideDateTimePicker copied to clipboard

how to hide a tab, keep one tab date or time ??

Open buffol opened this issue 8 years ago • 4 comments

i want hide time tab,keep date tab, how i do?

buffol avatar Mar 03 '16 01:03 buffol

same question. But how to only enable date picker? I want to disable time picker.

azizimusa avatar Apr 18 '16 09:04 azizimusa

Not possible, see Issue #9

mag2007 avatar May 17 '16 12:05 mag2007

Below is how I made

In private void setupViews(View v), I added a line as below.

mSlidingTabLayout.setVisibility(View.INVISIBLE);

This way I just see date picker and time picker get hided...

fparkar avatar Jun 11 '17 07:06 fparkar

@fparkar @buffol came across this but as you swipe left you will still see the time tab.

So i edited the ViewerPageAdapter on the getCount method and make it return 1 instead or 2

patrickmuhi avatar Jul 03 '17 16:07 patrickmuhi