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: 2 months ago
JSON representation
Show random Quran verse in android app
- Host: GitHub
- URL: https://github.com/bullheadandplato/quranVerses
- Owner: bullheadandplato
- Created: 2018-03-14T19:20:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-19T10:16:52.000Z (over 6 years ago)
- Last Synced: 2024-05-22T02:12:20.815Z (8 months ago)
- Topics: android, android-library, material-design, muslim, quran
- Language: Java
- Size: 2.35 MB
- Stars: 17
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-Islam - Random Quran Verse
- Awesome-Muslims - Quran Verses
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***