Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Date picker for hijri(islamic) calender in android?

is there a way to build a datepicker for Hijri (Islamic) calender instead of the default one?

like image 543
Amira Avatar asked Apr 07 '14 08:04

Amira


People also ask

How can I add Hijri date in Android?

Learn more. To add the Hijri Calendar you need to sign in to your Google Account and go to your calendar. Click on Settings and under the General tab, choose AlternateCalendars and select the Hijri calendar of your choice.

How do I get my Hijri date on my lock screen?

Go on "Settings" --> Scroll down --> Click on. "Calendar" --> Click on "Alternate Calendars" --> Select "Islamic" option from the list. Feel free to share it with others.


1 Answers

You can use HijriDatePicker Library:

  • Provides Date + Time pickers.
  • Supports both Gregorian and Hijri (using ummalqura-calendar library).
  • Supports Google's Material Design.
  • And works all the way to API 16.

And for implementations for other platforms, check this awesome repo.

like image 191
iTurki Avatar answered Sep 30 '22 15:09

iTurki