Paging
From ZekrWiki
(Redirected from Paging scheme)
Zekr supports different paging modes as of version 0.7.0. A paging mode defines how many ayas of Qur'an should be shown in a page of Zekr view. For example one may want to see one sura in each page, a fixed number of ayas, or one hizb quarter in each page.
Zekr has four built-in paging modes:
- Sura, one sura in each page, a total of 114 pages.
- Juz, one juz in each page, a total of 30 pages.
- Hizb quarter, one hizb quarter in each page, a total of 240 pages.
- Constant aya count, a fixed number of ayas in each page.
- Custom paging mode. custom number of ayas in each page. There is a built-in Uthmani custom paging mode which has 604 pages equal to Medina Mushaf. One may customize Zekr paging by adding other custom paging schemes through .page.xml under res/text/metadata folder. User may choose View > Paging Mode > Custom... in order to select a custom paging data available in (res/text/metadata/*.page.xml).
Select panel accepts page-aya pairs (through buttons) and sura-aya pairs through combo box (or tree). Navigation bar accepts page as well as sura-aya pair. If user enters a page which differs from the current one, Zekr navigates to the beginning of that page, otherwise it navigates to the entered sura-aya location.

