Skip to content

murgupluoglu/flagkit-android

Repository files navigation

FlagKit

Beautiful country flag icons for usage in Android apps. All flags are provided as VectorDrawable. FlagKit copy from this iOS library.

Installation

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    implementation 'com.github.murgupluoglu:flagkit-android:lastVersion'
}

Usage

val resourceId = FlagKit.getResId("tr")

Image(
    painter = painterResource(id = resourceId)
)

val all = FlagKit.getAllAvailableCodes()

Reference

FlagKit provides over 259 flags. A list of all flags can be found here.

About

Beautiful flag icons for usage in apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages