Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/bullheadandplato/quranVerses

Show random Quran verse in android app
https://github.com/bullheadandplato/quranVerses

android android-library material-design muslim quran

Last synced: 23 days ago
JSON representation

Show random Quran verse in android app

Lists

README

        

# quranVerses [![](https://jitpack.io/v/mosamabinomar/quranVerses.svg)](https://jitpack.io/#mosamabinomar/quranVerses)
1. Show Random Quran verse
2. Show Random Hadith from Sahih Bukhari
3. Show Hadith of the Day






## How To Use
### STEP 1
Add it to your build.gradle with:
```gradle
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
```
and:

```gradle
dependencies {
implementation 'com.github.mosamabinomar:quranVerses:2.0'
}
```
### STEP 2

#### FOR RANDOM QURAN VERSE
Add this in your layout file to include the QuranVerseView.
```

```

#### FOR RANDOM HADITH

```

```

#### FOR Hadith of the Day

```

```

That's it. You don't need to do anything else.

## View Properties
| Attribute | For What? |
| -------------------------|:-----------------------------:|
| `surahNameTextSize` | Change Surah name text size |
| `surahNameTextColor` | Change Surah name text color |
| `verseTextSize` | Change Verse text size |
| `verseTextColor` | Change Verse text color |
| `hadithTextSize` | Change Hadith text size |
| `hadithTextColor` | Change Hadith text color |
| `infoTextSize` | Change Hadith info text size |
| `infoTextColor` | Change Hadith info text color |

**Example** `app:surahNameTextSize="12sp"`

## Final thoughts
May **ALLAH** bless us All

***If you found any error or incorrect references please let me know by creating issue***