Recent

Author Topic: LAMW:TimePickerMode  (Read 1966 times)

c4p

  • Full Member
  • ***
  • Posts: 158
LAMW:TimePickerMode
« on: August 23, 2017, 10:59:11 pm »
Is there are way to set the mode of the timepicker to legacy/spinner rather than the dial clock and to 24hr? tried setting
Code: Pascal  [Select][+][-]
  1. android:timepickerMode="spinner"
in AndroidManifest.xml but has no effect?

Any help much appreciated.
Lazarus 2.0.12 r64642/FPC 3.2.0 LAMW v0.8.6.4 on Windows 10+Linux Mint 21.2, projects mainly built using AppCompat and Gradle v8.5

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: LAMW:TimePickerMode
« Reply #1 on: August 24, 2017, 04:29:05 am »
This is an issue that was not well resolved on Android .... and the solution gets very dependent on API version [and device themes!] ... and LAMW has sought to keep compatibility to all  [API >= 13]  systems.

I will try some common solution!

Thank you!
« Last Edit: August 24, 2017, 05:45:54 am by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

c4p

  • Full Member
  • ***
  • Posts: 158
Re: LAMW:TimePickerMode
« Reply #2 on: August 25, 2017, 11:25:30 pm »
I really like the old style timepicker, much easier and less confusing, I think, for users.
Thank you jmpessoa!
Lazarus 2.0.12 r64642/FPC 3.2.0 LAMW v0.8.6.4 on Windows 10+Linux Mint 21.2, projects mainly built using AppCompat and Gradle v8.5

 

TinyPortal © 2005-2018