├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── drawable │ │ │ │ └── ic_dummy_icon.xml │ │ │ └── layout │ │ │ │ ├── activity_result.xml │ │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── mukeshsolanki │ │ │ └── countrypickerexample │ │ │ ├── ResultActivity.java │ │ │ └── MainActivity.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── mukeshsolanki │ │ └── countrypickerexample │ │ └── ApplicationTest.java ├── build.gradle └── proguard-rules.pro ├── countrypicker ├── .gitignore ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ ├── res │ │ ├── values │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ ├── drawable │ │ │ ├── flag_ad.png │ │ │ ├── flag_ae.png │ │ │ ├── flag_af.png │ │ │ ├── flag_ag.png │ │ │ ├── flag_ai.png │ │ │ ├── flag_al.png │ │ │ ├── flag_am.png │ │ │ ├── flag_an.png │ │ │ ├── flag_ao.png │ │ │ ├── flag_aq.png │ │ │ ├── flag_ar.png │ │ │ ├── flag_as.png │ │ │ ├── flag_at.png │ │ │ ├── flag_au.png │ │ │ ├── flag_aw.png │ │ │ ├── flag_az.png │ │ │ ├── flag_ba.png │ │ │ ├── flag_bb.png │ │ │ ├── flag_bd.png │ │ │ ├── flag_be.png │ │ │ ├── flag_bf.png │ │ │ ├── flag_bg.png │ │ │ ├── flag_bh.png │ │ │ ├── flag_bi.png │ │ │ ├── flag_bj.png │ │ │ ├── flag_bl.png │ │ │ ├── flag_bm.png │ │ │ ├── flag_bn.png │ │ │ ├── flag_bo.png │ │ │ ├── flag_br.png │ │ │ ├── flag_bs.png │ │ │ ├── flag_bt.png │ │ │ ├── flag_bw.png │ │ │ ├── flag_by.png │ │ │ ├── flag_bz.png │ │ │ ├── flag_ca.png │ │ │ ├── flag_cc.png │ │ │ ├── flag_cd.png │ │ │ ├── flag_cf.png │ │ │ ├── flag_cg.png │ │ │ ├── flag_ch.png │ │ │ ├── flag_ci.png │ │ │ ├── flag_ck.png │ │ │ ├── flag_cl.png │ │ │ ├── flag_cm.png │ │ │ ├── flag_cn.png │ │ │ ├── flag_co.png │ │ │ ├── flag_cr.png │ │ │ ├── flag_cu.png │ │ │ ├── flag_cv.png │ │ │ ├── flag_cw.png │ │ │ ├── flag_cx.png │ │ │ ├── flag_cy.png │ │ │ ├── flag_cz.png │ │ │ ├── flag_de.png │ │ │ ├── flag_dj.png │ │ │ ├── flag_dk.png │ │ │ ├── flag_dm.png │ │ │ ├── flag_do.png │ │ │ ├── flag_dz.png │ │ │ ├── flag_ec.png │ │ │ ├── flag_ee.png │ │ │ ├── flag_eg.png │ │ │ ├── flag_eh.png │ │ │ ├── flag_er.png │ │ │ ├── flag_es.png │ │ │ ├── flag_et.png │ │ │ ├── flag_fi.png │ │ │ ├── flag_fj.png │ │ │ ├── flag_fk.png │ │ │ ├── flag_fm.png │ │ │ ├── flag_fo.png │ │ │ ├── flag_fr.png │ │ │ ├── flag_ga.png │ │ │ ├── flag_gb.png │ │ │ ├── flag_gd.png │ │ │ ├── flag_ge.png │ │ │ ├── flag_gg.png │ │ │ ├── flag_gh.png │ │ │ ├── flag_gi.png │ │ │ ├── flag_gl.png │ │ │ ├── flag_gm.png │ │ │ ├── flag_gn.png │ │ │ ├── flag_gq.png │ │ │ ├── flag_gr.png │ │ │ ├── flag_gt.png │ │ │ ├── flag_gu.png │ │ │ ├── flag_gw.png │ │ │ ├── flag_gy.png │ │ │ ├── flag_hk.png │ │ │ ├── flag_hn.png │ │ │ ├── flag_hr.png │ │ │ ├── flag_ht.png │ │ │ ├── flag_hu.png │ │ │ ├── flag_id.png │ │ │ ├── flag_ie.png │ │ │ ├── flag_il.png │ │ │ ├── flag_im.png │ │ │ ├── flag_in.png │ │ │ ├── flag_io.png │ │ │ ├── flag_iq.png │ │ │ ├── flag_ir.png │ │ │ ├── flag_is.png │ │ │ ├── flag_it.png │ │ │ ├── flag_je.png │ │ │ ├── flag_jm.png │ │ │ ├── flag_jo.png │ │ │ ├── flag_jp.png │ │ │ ├── flag_ke.png │ │ │ ├── flag_kg.png │ │ │ ├── flag_kh.png │ │ │ ├── flag_ki.png │ │ │ ├── flag_km.png │ │ │ ├── flag_kn.png │ │ │ ├── flag_kp.png │ │ │ ├── flag_kr.png │ │ │ ├── flag_kw.png │ │ │ ├── flag_ky.png │ │ │ ├── flag_kz.png │ │ │ ├── flag_la.png │ │ │ ├── flag_lb.png │ │ │ ├── flag_lc.png │ │ │ ├── flag_li.png │ │ │ ├── flag_lk.png │ │ │ ├── flag_lr.png │ │ │ ├── flag_ls.png │ │ │ ├── flag_lt.png │ │ │ ├── flag_lu.png │ │ │ ├── flag_lv.png │ │ │ ├── flag_ly.png │ │ │ ├── flag_ma.png │ │ │ ├── flag_mc.png │ │ │ ├── flag_md.png │ │ │ ├── flag_me.png │ │ │ ├── flag_mf.png │ │ │ ├── flag_mg.png │ │ │ ├── flag_mh.png │ │ │ ├── flag_mk.png │ │ │ ├── flag_ml.png │ │ │ ├── flag_mm.png │ │ │ ├── flag_mn.png │ │ │ ├── flag_mo.png │ │ │ ├── flag_mp.png │ │ │ ├── flag_mr.png │ │ │ ├── flag_ms.png │ │ │ ├── flag_mt.png │ │ │ ├── flag_mu.png │ │ │ ├── flag_mv.png │ │ │ ├── flag_mw.png │ │ │ ├── flag_mx.png │ │ │ ├── flag_my.png │ │ │ ├── flag_mz.png │ │ │ ├── flag_na.png │ │ │ ├── flag_nc.png │ │ │ ├── flag_ne.png │ │ │ ├── flag_ng.png │ │ │ ├── flag_ni.png │ │ │ ├── flag_nl.png │ │ │ ├── flag_no.png │ │ │ ├── flag_np.png │ │ │ ├── flag_nr.png │ │ │ ├── flag_nu.png │ │ │ ├── flag_nz.png │ │ │ ├── flag_om.png │ │ │ ├── flag_pa.png │ │ │ ├── flag_pe.png │ │ │ ├── flag_pf.png │ │ │ ├── flag_pg.png │ │ │ ├── flag_ph.png │ │ │ ├── flag_pk.png │ │ │ ├── flag_pl.png │ │ │ ├── flag_pm.png │ │ │ ├── flag_pn.png │ │ │ ├── flag_pr.png │ │ │ ├── flag_ps.png │ │ │ ├── flag_pt.png │ │ │ ├── flag_pw.png │ │ │ ├── flag_py.png │ │ │ ├── flag_qa.png │ │ │ ├── flag_re.png │ │ │ ├── flag_ro.png │ │ │ ├── flag_rs.png │ │ │ ├── flag_ru.png │ │ │ ├── flag_rw.png │ │ │ ├── flag_sa.png │ │ │ ├── flag_sb.png │ │ │ ├── flag_sc.png │ │ │ ├── flag_sd.png │ │ │ ├── flag_se.png │ │ │ ├── flag_sg.png │ │ │ ├── flag_sh.png │ │ │ ├── flag_si.png │ │ │ ├── flag_sj.png │ │ │ ├── flag_sk.png │ │ │ ├── flag_sl.png │ │ │ ├── flag_sm.png │ │ │ ├── flag_sn.png │ │ │ ├── flag_so.png │ │ │ ├── flag_sr.png │ │ │ ├── flag_ss.png │ │ │ ├── flag_st.png │ │ │ ├── flag_sv.png │ │ │ ├── flag_sx.png │ │ │ ├── flag_sy.png │ │ │ ├── flag_sz.png │ │ │ ├── flag_tc.png │ │ │ ├── flag_td.png │ │ │ ├── flag_tg.png │ │ │ ├── flag_th.png │ │ │ ├── flag_tj.png │ │ │ ├── flag_tk.png │ │ │ ├── flag_tl.png │ │ │ ├── flag_tm.png │ │ │ ├── flag_tn.png │ │ │ ├── flag_to.png │ │ │ ├── flag_tr.png │ │ │ ├── flag_tt.png │ │ │ ├── flag_tv.png │ │ │ ├── flag_tw.png │ │ │ ├── flag_tz.png │ │ │ ├── flag_ua.png │ │ │ ├── flag_ug.png │ │ │ ├── flag_us.png │ │ │ ├── flag_uy.png │ │ │ ├── flag_uz.png │ │ │ ├── flag_va.png │ │ │ ├── flag_vc.png │ │ │ ├── flag_ve.png │ │ │ ├── flag_vg.png │ │ │ ├── flag_vi.png │ │ │ ├── flag_vn.png │ │ │ ├── flag_vu.png │ │ │ ├── flag_wf.png │ │ │ ├── flag_ws.png │ │ │ ├── flag_xk.png │ │ │ ├── flag_ye.png │ │ │ ├── flag_yt.png │ │ │ ├── flag_za.png │ │ │ ├── flag_zm.png │ │ │ ├── flag_zw.png │ │ │ ├── ic_bottomsheet_new_background.xml │ │ │ ├── ic_dialog_new_background.xml │ │ │ └── ic_search.xml │ │ └── layout │ │ │ ├── item_country.xml │ │ │ └── country_picker.xml │ │ └── java │ │ └── com │ │ └── mukesh │ │ └── countrypicker │ │ ├── listeners │ │ ├── OnItemClickListener.java │ │ ├── OnCountryPickerListener.java │ │ └── BottomSheetInteractionListener.java │ │ ├── Country.java │ │ ├── BottomSheetDialogView.java │ │ ├── CountriesAdapter.java │ │ └── CountryPicker.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ └── bug_report.md ├── workflows │ └── android.yml └── stale.yml ├── .gitignore ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── CONTRIBUTING.md ├── BACKERS.md ├── gradle.properties ├── LICENSE ├── PULL_REQUEST_TEMPLATE.md ├── params.json ├── gradlew.bat ├── CODE_OF_CONDUCT.md ├── README.md └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /countrypicker/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':countrypicker' 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | patreon: mukeshsolanki 2 | custom: https://www.paypal.me/mukeshsolanki 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/ 5 | .DS_Store 6 | /build 7 | /captures 8 | .idea/* -------------------------------------------------------------------------------- /countrypicker/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /countrypicker/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ad.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ae.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ae.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_af.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_af.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ag.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ai.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_al.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_al.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_am.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_am.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_an.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_an.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ao.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_aq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_aq.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ar.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_as.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_as.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_at.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_at.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_au.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_au.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_aw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_aw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_az.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_az.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ba.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bb.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bd.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_be.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_be.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bf.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bh.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bi.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bj.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bl.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bo.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_br.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bs.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bt.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_by.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_by.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_bz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_bz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ca.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cc.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cd.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cf.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ch.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ci.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ci.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ck.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cl.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_co.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_co.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cu.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cv.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cx.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cy.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_cz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_cz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_de.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_dj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_dj.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_dk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_dk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_dm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_dm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_do.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_do.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_dz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_dz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ec.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ee.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_eg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_eg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_eh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_eh.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_er.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_er.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_es.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_et.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_et.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_fi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_fi.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_fj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_fj.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_fk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_fk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_fm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_fo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_fo.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_fr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ga.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gb.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gd.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ge.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gh.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gi.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gl.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gq.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gt.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gu.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_gy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_gy.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_hk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_hk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_hn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_hn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_hr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_hr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ht.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ht.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_hu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_hu.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_id.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ie.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_il.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_il.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_im.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_im.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_in.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_io.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_io.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_iq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_iq.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ir.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_is.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_is.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_it.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_je.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_je.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_jm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_jm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_jo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_jo.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_jp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_jp.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ke.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_kg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_kg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_kh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_kh.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ki.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_km.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_km.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_kn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_kn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_kp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_kp.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_kr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_kr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_kw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_kw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ky.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_kz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_kz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_la.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_la.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_lb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_lb.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_lc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_lc.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_li.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_li.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_lk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_lk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_lr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_lr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ls.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_lt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_lt.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_lu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_lu.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_lv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_lv.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ly.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ma.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mc.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_md.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_md.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_me.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mf.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mh.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ml.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mo.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mp.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ms.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mt.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mu.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mv.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mx.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_my.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_my.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_mz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_mz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_na.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_na.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_nc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_nc.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ne.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ng.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ni.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ni.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_nl.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_no.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_np.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_np.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_nr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_nr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_nu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_nu.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_nz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_nz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_om.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_om.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pa.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pe.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pf.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ph.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pl.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ps.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pt.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_pw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_pw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_py.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_qa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_qa.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_re.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_re.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ro.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_rs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_rs.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ru.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_rw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_rw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sa.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sb.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sc.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sd.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_se.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_se.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sh.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_si.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_si.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sj.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sl.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_so.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_so.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ss.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_st.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_st.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sv.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sx.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sy.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_sz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_sz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tc.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_td.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_td.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_th.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tj.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tl.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_to.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_to.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tr.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tt.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tv.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_tz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_tz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ua.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ug.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_us.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_uy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_uy.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_uz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_uz.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_va.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_va.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_vc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_vc.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ve.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_vg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_vg.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_vi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_vi.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_vn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_vn.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_vu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_vu.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_wf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_wf.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ws.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ws.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_xk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_xk.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_ye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_ye.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_yt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_yt.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_za.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_za.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_zm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_zm.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/flag_zw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukeshsolanki/country-picker-android/HEAD/countrypicker/src/main/res/drawable/flag_zw.png -------------------------------------------------------------------------------- /countrypicker/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Search… 3 | No Countries Found! Did you call build() 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /countrypicker/src/main/java/com/mukesh/countrypicker/listeners/OnItemClickListener.java: -------------------------------------------------------------------------------- 1 | package com.mukesh.countrypicker.listeners; 2 | 3 | import com.mukesh.countrypicker.Country; 4 | 5 | public interface OnItemClickListener { 6 | void onItemClicked(Country country); 7 | } -------------------------------------------------------------------------------- /countrypicker/src/main/java/com/mukesh/countrypicker/listeners/OnCountryPickerListener.java: -------------------------------------------------------------------------------- 1 | package com.mukesh.countrypicker.listeners; 2 | 3 | import com.mukesh.countrypicker.Country; 4 | 5 | public interface OnCountryPickerListener { 6 | void onSelectCountry(Country country); 7 | } 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Aug 12 10:42:39 EDT 2020 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #303030 4 | #212121 5 | #212121 6 | #03A9F4 7 | 8 | -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/ic_bottomsheet_new_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | [![GitHub contributors](https://img.shields.io/github/contributors/mukeshsolanki/country-picker-android.svg)](https://github.com/mukeshsolanki/country-picker-android/graphs/contributors) 2 | 3 | * Bug reports and pull requests are welcome. 4 | * Make sure you use [square/java-code-styles](https://github.com/square/java-code-styles) to format your code. 5 | -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/ic_dialog_new_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /countrypicker/src/main/java/com/mukesh/countrypicker/listeners/BottomSheetInteractionListener.java: -------------------------------------------------------------------------------- 1 | package com.mukesh.countrypicker.listeners; 2 | 3 | import android.view.View; 4 | 5 | public interface BottomSheetInteractionListener { 6 | 7 | void initiateUi(View view); 8 | 9 | void setCustomStyle(View view); 10 | 11 | void setSearchEditText(); 12 | 13 | void setupRecyclerView(View view); 14 | } 15 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: bug 6 | assignees: mukeshsolanki 7 | 8 | --- 9 | 10 | ### Subject of the issue 11 | Describe your issue here. 12 | 13 | ### Steps to reproduce 14 | Tell us how to reproduce this issue. Please provide a working demo. 15 | 16 | ### Expected behaviour 17 | Tell us what should happen 18 | 19 | ### Actual behaviour 20 | Tell us what happens instead 21 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/mukeshsolanki/countrypickerexample/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.mukeshsolanki.countrypickerexample; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /countrypicker/src/main/res/drawable/ic_search.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /BACKERS.md: -------------------------------------------------------------------------------- 1 | # Backers 2 | 3 | Country Picker is an independent project with ongoing development and support made possible thanks to donations made by these awesome backers. If you'd like to join them, please consider: 4 | 5 | - [Become a backer or sponsor on Patreon](https://www.patreon.com/mukeshsolanki). 6 | - [One-time donation via PayPal](https://www.paypal.me/mukeshsolanki) 7 | 8 | 9 | 10 | Thank you to everyone who has donated their time, money, and support! 11 | 12 | ## Backers ($1 per month) 13 | - Be the first to back this project -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 29 5 | 6 | defaultConfig { 7 | applicationId "com.mukeshsolanki.countrypickerexample" 8 | minSdkVersion 21 9 | targetSdkVersion 29 10 | versionCode 1 11 | versionName "1.0" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | } 19 | } 20 | 21 | dependencies { 22 | implementation fileTree(include: ['*.jar'], dir: 'libs') 23 | implementation 'androidx.appcompat:appcompat:1.2.0' 24 | implementation project(':countrypicker') 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_dummy_icon.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /.github/workflows/android.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - 'master' 7 | push: 8 | branches: 9 | - 'master' 10 | 11 | jobs: 12 | apk: 13 | name: Generate APK 14 | runs-on: ubuntu-18.04 15 | 16 | steps: 17 | - uses: actions/checkout@v1 18 | - name: set up JDK 1.8 19 | uses: actions/setup-java@v1 20 | with: 21 | java-version: 1.8 22 | - name: Build debug APK 23 | run: bash ./gradlew assembleDebug --stacktrace 24 | - name: Upload APK 25 | uses: actions/upload-artifact@v1 26 | with: 27 | name: SampleApp 28 | path: app/build/outputs/apk/debug/app-debug.apk -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/mukesh/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 17 | 18 | -------------------------------------------------------------------------------- /countrypicker/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/mukesh/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /countrypicker/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | apply plugin: 'com.github.dcendents.android-maven' 3 | group = 'com.github.mukeshsolanki' 4 | 5 | android { 6 | compileSdkVersion 30 7 | 8 | defaultConfig { 9 | minSdkVersion 14 10 | targetSdkVersion 30 11 | versionCode 19 12 | versionName "2.0.4" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | implementation fileTree(dir: 'libs', include: ['*.jar']) 24 | implementation 'androidx.appcompat:appcompat:1.2.0' 25 | implementation 'com.google.android.material:material:1.2.1' 26 | implementation 'androidx.recyclerview:recyclerview:1.1.0' 27 | } 28 | -------------------------------------------------------------------------------- /countrypicker/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 14 | 17 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | android.useAndroidX=true 20 | android.enableJetifier=true -------------------------------------------------------------------------------- /countrypicker/src/main/res/layout/item_country.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 19 | 20 | 28 | 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Mukesh Solanki 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /countrypicker/src/main/res/layout/country_picker.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 25 | 26 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Country-Picker 3 | Pick Country 4 | Country Picker 5 | Country Name 6 | Country ISO Code 7 | Country Dial Code 8 | Country Currency 9 | Country Flag 10 | Use New Theme 11 | Use Custom Style 12 | Use Bottom Sheet 13 | Allow Search 14 | Get Country by Name 15 | Get Country By Sim 16 | Get country By Local 17 | Get Country By ISO 18 | ISO Code 19 | Dial Code 20 | Name 21 | None/Default 22 | Sort By 23 | 24 | -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Proposed changes 2 | 3 | Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. 4 | 5 | ## Types of changes 6 | 7 | What types of changes does your code introduce? 8 | _Put an `x` in the boxes that apply_ 9 | 10 | - [ ] Bugfix (non-breaking change which fixes an issue) 11 | - [ ] New feature (non-breaking change which adds functionality) 12 | - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) 13 | 14 | ## Checklist 15 | 16 | _Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._ 17 | 18 | - [ ] I have read the [CONTRIBUTING](CONTRIBUTING.md) doc 19 | - [ ] I have added necessary documentation (if appropriate) 20 | - [ ] Any dependent changes have been merged and published in downstream modules 21 | 22 | ## Further comments 23 | 24 | If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc... 25 | -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- 1 | # Configuration for probot-stale - https://github.com/probot/stale 2 | 3 | # issues only: 4 | issues: 5 | 6 | # Number of days of inactivity before an Issue or Pull Request becomes stale 7 | daysUntilStale: 60 8 | 9 | # Number of days of inactivity before a stale Issue or Pull Request is closed. 10 | # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. 11 | daysUntilClose: 7 12 | 13 | # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable 14 | exemptLabels: 15 | - pinned 16 | - security 17 | - enchangements 18 | - "[Status] Maybe Later" 19 | 20 | # Set to true to ignore issues in a project (defaults to false) 21 | exemptProjects: false 22 | 23 | # Set to true to ignore issues in a milestone (defaults to false) 24 | exemptMilestones: false 25 | 26 | # Label to use when marking as stale 27 | staleLabel: stale 28 | 29 | # Comment to post when marking as stale. Set to `false` to disable 30 | markComment: > 31 | This issue has been automatically marked as stale because it has not had 32 | recent activity. It will be closed if no further activity occurs. Thank you 33 | for your contributions. 34 | # Comment to post when removing the stale label. 35 | # unmarkComment: > 36 | # Your comment here. 37 | 38 | # Comment to post when closing a stale Issue or Pull Request. 39 | closeComment: > 40 | This has been closed with no activity 41 | # Limit the number of actions per hour, from 1-30. Default is 30 42 | limitPerRun: 30 43 | 44 | # Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': 45 | # pulls: 46 | # daysUntilStale: 30 47 | # markComment: > 48 | # This pull request has been automatically marked as stale because it has not had 49 | # recent activity. It will be closed if no further activity occurs. Thank you 50 | # for your contributions. 51 | 52 | # issues: 53 | # exemptLabels: 54 | # - confirmed -------------------------------------------------------------------------------- /countrypicker/src/main/java/com/mukesh/countrypicker/Country.java: -------------------------------------------------------------------------------- 1 | package com.mukesh.countrypicker; 2 | 3 | import android.content.Context; 4 | import android.text.TextUtils; 5 | import java.util.Locale; 6 | 7 | public class Country { 8 | 9 | // region Variables 10 | private String code; 11 | private String name; 12 | private String dialCode; 13 | private int flag; 14 | private String currency; 15 | // endregion 16 | 17 | // region Constructors 18 | Country() { 19 | } 20 | 21 | Country(String code, String name, String dialCode, int flag, String currency) { 22 | this.code = code; 23 | this.name = name; 24 | this.dialCode = dialCode; 25 | this.flag = flag; 26 | this.currency = currency; 27 | } 28 | // endregion 29 | 30 | // region Getter/Setter 31 | public String getCurrency() { 32 | return currency; 33 | } 34 | 35 | public void setCurrency(String currency) { 36 | this.currency = currency; 37 | } 38 | 39 | public String getCode() { 40 | return code; 41 | } 42 | 43 | public void setCode(String code) { 44 | this.code = code; 45 | if (TextUtils.isEmpty(name)) { 46 | name = new Locale("", code).getDisplayName(); 47 | } 48 | } 49 | 50 | public String getName() { 51 | return name; 52 | } 53 | 54 | public void setName(String name) { 55 | this.name = name; 56 | } 57 | 58 | public String getDialCode() { 59 | return dialCode; 60 | } 61 | 62 | public void setDialCode(String dialCode) { 63 | this.dialCode = dialCode; 64 | } 65 | 66 | public int getFlag() { 67 | return flag; 68 | } 69 | 70 | public void setFlag(int flag) { 71 | this.flag = flag; 72 | } 73 | 74 | public void loadFlagByCode(Context context) { 75 | if (this.flag != -1) { 76 | return; 77 | } 78 | 79 | try { 80 | this.flag = context.getResources() 81 | .getIdentifier("flag_" + this.code.toLowerCase(Locale.ENGLISH), "drawable", 82 | context.getPackageName()); 83 | } catch (Exception e) { 84 | e.printStackTrace(); 85 | this.flag = -1; 86 | } 87 | } 88 | // endregion 89 | } 90 | -------------------------------------------------------------------------------- /countrypicker/src/main/java/com/mukesh/countrypicker/BottomSheetDialogView.java: -------------------------------------------------------------------------------- 1 | package com.mukesh.countrypicker; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.annotation.NonNull; 9 | import androidx.annotation.Nullable; 10 | import androidx.fragment.app.DialogFragment; 11 | 12 | import com.google.android.material.bottomsheet.BottomSheetDialogFragment; 13 | import com.mukesh.countrypicker.listeners.BottomSheetInteractionListener; 14 | 15 | import static com.mukesh.countrypicker.CountryPicker.THEME_NEW; 16 | 17 | public class BottomSheetDialogView extends BottomSheetDialogFragment { 18 | private static final String BUNDLE_KEY_THEME = "theme"; 19 | private BottomSheetInteractionListener listener; 20 | 21 | public static BottomSheetDialogView newInstance(int theme) { 22 | BottomSheetDialogView bottomSheetDialogView = new BottomSheetDialogView(); 23 | Bundle args = new Bundle(); 24 | args.putInt(BUNDLE_KEY_THEME, theme); 25 | bottomSheetDialogView.setArguments(args); 26 | return bottomSheetDialogView; 27 | } 28 | 29 | @Override public void onCreate(@Nullable Bundle savedInstanceState) { 30 | super.onCreate(savedInstanceState); 31 | Bundle args = getArguments(); 32 | if (args != null) { 33 | int theme = args.getInt(BUNDLE_KEY_THEME, 0); 34 | if (theme == THEME_NEW) { 35 | setStyle(DialogFragment.STYLE_NORMAL, R.style.MaterialDialogStyle); 36 | } else { 37 | setStyle(DialogFragment.STYLE_NORMAL, R.style.DialogStyle); 38 | } 39 | } else { 40 | setStyle(DialogFragment.STYLE_NORMAL, R.style.DialogStyle); 41 | } 42 | } 43 | 44 | @Nullable @Override 45 | public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, 46 | @Nullable Bundle savedInstanceState) { 47 | return inflater.inflate(R.layout.country_picker, container, false); 48 | } 49 | 50 | @Override public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { 51 | super.onViewCreated(view, savedInstanceState); 52 | listener.initiateUi(view); 53 | listener.setCustomStyle(view); 54 | listener.setSearchEditText(); 55 | listener.setupRecyclerView(view); 56 | } 57 | 58 | public void setListener(BottomSheetInteractionListener listener) { 59 | this.listener = listener; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /app/src/main/java/com/mukeshsolanki/countrypickerexample/ResultActivity.java: -------------------------------------------------------------------------------- 1 | package com.mukeshsolanki.countrypickerexample; 2 | 3 | import android.os.Bundle; 4 | import android.view.View; 5 | import android.widget.ImageButton; 6 | import android.widget.ImageView; 7 | import android.widget.TextView; 8 | 9 | import androidx.appcompat.app.AppCompatActivity; 10 | 11 | public class ResultActivity extends AppCompatActivity { 12 | public static final String BUNDLE_KEY_COUNTRY_NAME = "country_name"; 13 | public static final String BUNDLE_KEY_COUNTRY_ISO = "country_iso"; 14 | public static final String BUNDLE_KEY_COUNTRY_DIAL_CODE = "dial_code"; 15 | public static final String BUNDLE_KEY_COUNTRY_CURRENCY = "currency"; 16 | public static final String BUNDLE_KEY_COUNTRY_FLAG_IMAGE = "flag_image"; 17 | 18 | private TextView countryNameTextView, countryIsoCodeTextView, countryDialCodeTextView, 19 | selectedCountryCurrency; 20 | private ImageView countryFlagImageView; 21 | 22 | @Override 23 | protected void onCreate(Bundle savedInstanceState) { 24 | super.onCreate(savedInstanceState); 25 | setContentView(R.layout.activity_result); 26 | initialize(); 27 | showData(); 28 | } 29 | 30 | private void showData() { 31 | Bundle bundle = getIntent().getExtras(); 32 | if (bundle != null) { 33 | countryNameTextView.setText(bundle.getString(BUNDLE_KEY_COUNTRY_NAME)); 34 | countryIsoCodeTextView.setText(bundle.getString(BUNDLE_KEY_COUNTRY_ISO)); 35 | countryDialCodeTextView.setText(bundle.getString(BUNDLE_KEY_COUNTRY_DIAL_CODE)); 36 | selectedCountryCurrency.setText(bundle.getString(BUNDLE_KEY_COUNTRY_CURRENCY)); 37 | countryFlagImageView.setImageResource(bundle.getInt(BUNDLE_KEY_COUNTRY_FLAG_IMAGE)); 38 | } 39 | } 40 | 41 | private void initialize() { 42 | countryNameTextView = findViewById(R.id.selected_country_name_text_view); 43 | countryIsoCodeTextView = findViewById(R.id.selected_country_iso_text_view); 44 | countryDialCodeTextView = findViewById(R.id.selected_country_dial_code_text_view); 45 | countryFlagImageView = findViewById(R.id.selected_country_flag_image_view); 46 | selectedCountryCurrency = findViewById(R.id.selected_country_currency); 47 | ImageButton backButton = findViewById(R.id.back_button); 48 | backButton.setOnClickListener(new View.OnClickListener() { 49 | @Override public void onClick(View view) { 50 | finish(); 51 | } 52 | }); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /params.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Country Picker (Android)", 3 | "tagline": "A simple library that displays a beautiful list of all the countries allowing the user to pick the country he wishes and provide details like country code, iso code name and flag.", 4 | "body": "

Country Picker for Android

\r\n

\r\n \r\n \r\n \r\n \r\n \r\n

CountryPicker is a simple library that can be show a country picker. See the example to see more detail.\r\n

\r\n\r\n\r\n\r\n\r\n## How to use\r\n\r\nIntegrating the project is simple a refined all you need to do is follow the below steps\r\n\r\nStep 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:\r\n\r\n```java\r\nallprojects {\r\n repositories {\r\n ...\r\n maven { url \"https://jitpack.io\" }\r\n }\r\n}\r\n```\r\nStep 2. Add the dependency\r\n```java\r\ndependencies {\r\n compile 'com.github.mukeshsolanki:country-picker-android:1.1.6'\r\n}\r\n```\r\n\r\nOnce the project has been added to gradle the user can implement this with easy.\r\n\r\n```java\r\nCountryPicker picker = CountryPicker.newInstance(\"Select Country\");\r\npicker.show(getSupportFragmentManager(), \"COUNTRY_PICKER\");\r\npicker.setListener(new CountryPickerListener() {\r\n @Override\r\n public void onSelectCountry(String name, String code, String dialCode, int flagDrawableResID) {\r\n // Implement your code here\r\n }\r\n});\r\n```\r\n\r\nThat's it your all done.\r\n\r\n### Get user country based on sim\r\n\r\nThe following code will get the current users country details based on sim.\r\n\r\n```java\r\nCountryPicker picker = CountryPicker.newInstance(\"Select Country\");\r\nCountry country = picker.getUserCountryInfo(this);\r\n//TODO use the country object\r\n```\r\n", 5 | "note": "Don't delete this file! It's used internally to help with page regeneration." 6 | } -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /countrypicker/src/main/java/com/mukesh/countrypicker/CountriesAdapter.java: -------------------------------------------------------------------------------- 1 | package com.mukesh.countrypicker; 2 | 3 | import android.content.Context; 4 | import android.graphics.Color; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.widget.ImageView; 9 | import android.widget.LinearLayout; 10 | import android.widget.TextView; 11 | 12 | import androidx.annotation.NonNull; 13 | import androidx.recyclerview.widget.RecyclerView; 14 | 15 | import com.mukesh.countrypicker.listeners.OnItemClickListener; 16 | import java.util.List; 17 | 18 | public class CountriesAdapter extends 19 | RecyclerView.Adapter { 20 | 21 | // region Variables 22 | private OnItemClickListener listener; 23 | private List countries; 24 | private Context context; 25 | private int textColor; 26 | // endregion 27 | 28 | //region Constructor 29 | public CountriesAdapter(Context context, List countries, 30 | OnItemClickListener listener, int textColor) { 31 | this.context = context; 32 | this.countries = countries; 33 | this.listener = listener; 34 | this.textColor = textColor; 35 | } 36 | // endregion 37 | 38 | // region Adapter Methods 39 | @NonNull 40 | @Override 41 | public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { 42 | View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_country, parent, false); 43 | return new ViewHolder(v); 44 | } 45 | 46 | @Override 47 | public void onBindViewHolder(@NonNull ViewHolder holder, int position) { 48 | final Country country = countries.get(position); 49 | holder.countryNameText.setText(country.getName()); 50 | holder.countryNameText.setTextColor(textColor == 0 ? Color.BLACK : textColor); 51 | country.loadFlagByCode(context); 52 | if (country.getFlag() != -1) { 53 | holder.countryFlagImageView.setImageResource(country.getFlag()); 54 | } 55 | holder.rootView.setOnClickListener(new View.OnClickListener() { 56 | @Override public void onClick(View v) { 57 | listener.onItemClicked(country); 58 | } 59 | }); 60 | } 61 | 62 | @Override public int getItemCount() { 63 | return countries.size(); 64 | } 65 | // endregion 66 | 67 | // region ViewHolder 68 | class ViewHolder extends RecyclerView.ViewHolder { 69 | private ImageView countryFlagImageView; 70 | private TextView countryNameText; 71 | private LinearLayout rootView; 72 | 73 | ViewHolder(View itemView) { 74 | super(itemView); 75 | countryFlagImageView = itemView.findViewById(R.id.country_flag); 76 | countryNameText = itemView.findViewById(R.id.country_title); 77 | rootView = itemView.findViewById(R.id.rootView); 78 | } 79 | } 80 | // endregion 81 | } 82 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at mukesh@madapps.in. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org 74 | 75 | For answers to common questions about this code of conduct, see 76 | https://www.contributor-covenant.org/faq 77 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Country Picker for Android

2 |

3 | 4 | 5 | 6 | 7 | 8 |

9 | CountryPicker is a simple library that can be show a country picker. See the example to see more detail. 10 |

11 |

12 | 13 | [![Demo Video](https://img.youtube.com/vi/wgOn0zvpUUk/0.jpg)](https://www.youtube.com/watch?v=wgOn0zvpUUk) 14 | 15 | # Support Country Picker for Android 16 | 17 | Country Picker is an independent project with ongoing development and support made possible thanks to donations made by [these awesome backers](BACKERS.md#sponsors). If you'd like to join them, please consider: 18 | 19 | - [Become a backer or sponsor on Patreon](https://www.patreon.com/mukeshsolanki). 20 | - [One-time donation via PayPal](https://www.paypal.me/mukeshsolanki) 21 | 22 | 23 | 24 | # Table of content 25 | * [Getting Started](https://github.com/mukeshsolanki/country-picker-android/wiki/Getting-Started) 26 | * [Basic Usage](https://github.com/mukeshsolanki/country-picker-android/wiki/Basic-Usage) 27 | - [Dialog](https://github.com/mukeshsolanki/country-picker-android/wiki/Basic-Usage#dialog) 28 | - [Bottom Sheet](https://github.com/mukeshsolanki/country-picker-android/wiki/Basic-Usage#bottom-sheet) 29 | - [CountryPicker methods](https://github.com/mukeshsolanki/country-picker-android/wiki/Basic-Usage#utility-methods) 30 | * [Sorting](https://github.com/mukeshsolanki/country-picker-android/wiki/Sorting) 31 | - [Sort by Name](https://github.com/mukeshsolanki/country-picker-android/wiki/Sorting#sort-by-name) 32 | - [Sort by ISO](https://github.com/mukeshsolanki/country-picker-android/wiki/Sorting#sort-by-iso) 33 | - [Sort by Dial Code](https://github.com/mukeshsolanki/country-picker-android/wiki/Sorting#sort-by-dial-code) 34 | * [Searching](https://github.com/mukeshsolanki/country-picker-android/wiki/Searching) 35 | * [Styling](https://github.com/mukeshsolanki/country-picker-android/wiki/Styling) 36 | - [Creating a Custom Style](https://github.com/mukeshsolanki/country-picker-android/wiki/Styling#creating-the-style) 37 | - [Applying the style](https://github.com/mukeshsolanki/country-picker-android/wiki/Styling#applying-the-style) 38 | * [Theme](https://github.com/mukeshsolanki/country-picker-android/wiki/Themeing) 39 | - [Material Design 1](https://github.com/mukeshsolanki/country-picker-android/wiki/Themeing) 40 | - [Material Design 2](https://github.com/mukeshsolanki/country-picker-android/wiki/Themeing) 41 | 42 | ## Author 43 | Maintained by [Mukesh Solanki](https://www.github.com/mukeshsolanki) 44 | 45 | ## Contribution 46 | [![GitHub contributors](https://img.shields.io/github/contributors/mukeshsolanki/country-picker-android.svg)](https://github.com/mukeshsolanki/country-picker-android/graphs/contributors) 47 | 48 | * Bug reports and pull requests are welcome. 49 | * Make sure you use [square/java-code-styles](https://github.com/square/java-code-styles) to format your code. 50 | 51 | ## License 52 | ``` 53 | MIT License 54 | 55 | Copyright (c) 2018 Mukesh Solanki 56 | 57 | Permission is hereby granted, free of charge, to any person obtaining a copy 58 | of this software and associated documentation files (the "Software"), to deal 59 | in the Software without restriction, including without limitation the rights 60 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 61 | copies of the Software, and to permit persons to whom the Software is 62 | furnished to do so, subject to the following conditions: 63 | 64 | The above copyright notice and this permission notice shall be included in all 65 | copies or substantial portions of the Software. 66 | 67 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 68 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 69 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 70 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 71 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 72 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 73 | SOFTWARE. 74 | ``` 75 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # Attempt to set APP_HOME 46 | # Resolve links: $0 may be a link 47 | PRG="$0" 48 | # Need this for relative symlinks. 49 | while [ -h "$PRG" ] ; do 50 | ls=`ls -ld "$PRG"` 51 | link=`expr "$ls" : '.*-> \(.*\)$'` 52 | if expr "$link" : '/.*' > /dev/null; then 53 | PRG="$link" 54 | else 55 | PRG=`dirname "$PRG"`"/$link" 56 | fi 57 | done 58 | SAVED="`pwd`" 59 | cd "`dirname \"$PRG\"`/" >/dev/null 60 | APP_HOME="`pwd -P`" 61 | cd "$SAVED" >/dev/null 62 | 63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 64 | 65 | # Determine the Java command to use to start the JVM. 66 | if [ -n "$JAVA_HOME" ] ; then 67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 68 | # IBM's JDK on AIX uses strange locations for the executables 69 | JAVACMD="$JAVA_HOME/jre/sh/java" 70 | else 71 | JAVACMD="$JAVA_HOME/bin/java" 72 | fi 73 | if [ ! -x "$JAVACMD" ] ; then 74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 75 | 76 | Please set the JAVA_HOME variable in your environment to match the 77 | location of your Java installation." 78 | fi 79 | else 80 | JAVACMD="java" 81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 82 | 83 | Please set the JAVA_HOME variable in your environment to match the 84 | location of your Java installation." 85 | fi 86 | 87 | # Increase the maximum file descriptors if we can. 88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 89 | MAX_FD_LIMIT=`ulimit -H -n` 90 | if [ $? -eq 0 ] ; then 91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 92 | MAX_FD="$MAX_FD_LIMIT" 93 | fi 94 | ulimit -n $MAX_FD 95 | if [ $? -ne 0 ] ; then 96 | warn "Could not set maximum file descriptor limit: $MAX_FD" 97 | fi 98 | else 99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 100 | fi 101 | fi 102 | 103 | # For Darwin, add options to specify how the application appears in the dock 104 | if $darwin; then 105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 106 | fi 107 | 108 | # For Cygwin, switch paths to Windows format before running java 109 | if $cygwin ; then 110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 112 | JAVACMD=`cygpath --unix "$JAVACMD"` 113 | 114 | # We build the pattern for arguments to be converted via cygpath 115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 116 | SEP="" 117 | for dir in $ROOTDIRSRAW ; do 118 | ROOTDIRS="$ROOTDIRS$SEP$dir" 119 | SEP="|" 120 | done 121 | OURCYGPATTERN="(^($ROOTDIRS))" 122 | # Add a user-defined pattern to the cygpath arguments 123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 125 | fi 126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 127 | i=0 128 | for arg in "$@" ; do 129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 131 | 132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 134 | else 135 | eval `echo args$i`="\"$arg\"" 136 | fi 137 | i=$((i+1)) 138 | done 139 | case $i in 140 | (0) set -- ;; 141 | (1) set -- "$args0" ;; 142 | (2) set -- "$args0" "$args1" ;; 143 | (3) set -- "$args0" "$args1" "$args2" ;; 144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 150 | esac 151 | fi 152 | 153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 154 | function splitJvmOpts() { 155 | JVM_OPTS=("$@") 156 | } 157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 159 | 160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 161 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_result.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 16 | 25 | 34 | 35 | 41 | 49 | 56 | 64 | 65 | 73 | 80 | 88 | 89 | 97 | 104 | 112 | 113 | 121 | 128 | 136 | 137 | 145 | 152 | 157 | 163 | 164 | 165 | 166 | -------------------------------------------------------------------------------- /app/src/main/java/com/mukeshsolanki/countrypickerexample/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.mukeshsolanki.countrypickerexample; 2 | 3 | import android.content.DialogInterface; 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.text.InputType; 7 | import android.view.View; 8 | import android.widget.Button; 9 | import android.widget.EditText; 10 | import android.widget.RadioGroup; 11 | import android.widget.Toast; 12 | 13 | import androidx.appcompat.app.AlertDialog; 14 | import androidx.appcompat.app.AppCompatActivity; 15 | import androidx.appcompat.widget.SwitchCompat; 16 | 17 | import com.mukesh.countrypicker.Country; 18 | import com.mukesh.countrypicker.CountryPicker; 19 | import com.mukesh.countrypicker.listeners.OnCountryPickerListener; 20 | import java.util.Locale; 21 | 22 | public class MainActivity extends AppCompatActivity implements OnCountryPickerListener { 23 | 24 | private Button pickCountryButton, findByNameButton, findBySimButton, findByLocaleButton, 25 | findByIsoButton; 26 | private CountryPicker countryPicker; 27 | private SwitchCompat themeSwitch, styleSwitch, useBottomSheet, searchSwitch; 28 | private RadioGroup sortByRadioGroup; 29 | private int sortBy = CountryPicker.SORT_BY_NONE; 30 | 31 | @Override 32 | protected void onCreate(Bundle savedInstanceState) { 33 | super.onCreate(savedInstanceState); 34 | setContentView(R.layout.activity_main); 35 | initialize(); 36 | setListener(); 37 | } 38 | 39 | private void setListener() { 40 | findByNameButton.setOnClickListener(new View.OnClickListener() { 41 | @Override public void onClick(View view) { 42 | findByName(); 43 | } 44 | }); 45 | findBySimButton.setOnClickListener(new View.OnClickListener() { 46 | @Override public void onClick(View view) { 47 | findBySim(); 48 | } 49 | }); 50 | findByLocaleButton.setOnClickListener(new View.OnClickListener() { 51 | @Override public void onClick(View view) { 52 | findByLocale(); 53 | } 54 | }); 55 | findByIsoButton.setOnClickListener(new View.OnClickListener() { 56 | @Override public void onClick(View view) { 57 | findByIson(); 58 | } 59 | }); 60 | sortByRadioGroup.setOnCheckedChangeListener( 61 | new RadioGroup.OnCheckedChangeListener() { 62 | @Override public void onCheckedChanged(RadioGroup radioGroup, int id) { 63 | switch (id) { 64 | case R.id.none_radio_button: 65 | sortBy = CountryPicker.SORT_BY_NONE; 66 | break; 67 | case R.id.name_radio_button: 68 | sortBy = CountryPicker.SORT_BY_NAME; 69 | break; 70 | case R.id.dial_code_radio_button: 71 | sortBy = CountryPicker.SORT_BY_DIAL_CODE; 72 | break; 73 | case R.id.iso_radio_button: 74 | sortBy = CountryPicker.SORT_BY_ISO; 75 | break; 76 | default: 77 | sortBy = CountryPicker.SORT_BY_NONE; 78 | break; 79 | } 80 | } 81 | }); 82 | pickCountryButton.setOnClickListener(new View.OnClickListener() { 83 | @Override 84 | public void onClick(View v) { 85 | showPicker(); 86 | } 87 | }); 88 | } 89 | 90 | private void findByIson() { 91 | countryPicker = 92 | new CountryPicker.Builder().with(MainActivity.this) 93 | .listener(MainActivity.this).build(); 94 | AlertDialog.Builder builder = 95 | new AlertDialog.Builder(this, R.style.Base_Theme_MaterialComponents_Dialog_Alert); 96 | final EditText input = new EditText(this); 97 | input.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD); 98 | builder.setTitle("Country Code"); 99 | builder.setView(input); 100 | builder.setCancelable(false); 101 | builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { 102 | @Override 103 | public void onClick(DialogInterface dialog, int which) { 104 | Country country = countryPicker.getCountryByISO(input.getText().toString()); 105 | if (country == null) { 106 | Toast.makeText(MainActivity.this, "Country not found", Toast.LENGTH_SHORT).show(); 107 | } else { 108 | showResultActivity(country); 109 | } 110 | } 111 | }); 112 | builder.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() { 113 | @Override 114 | public void onClick(DialogInterface dialog, int which) { 115 | dialog.cancel(); 116 | } 117 | }); 118 | builder.show(); 119 | } 120 | 121 | private void findByLocale() { 122 | countryPicker = 123 | new CountryPicker.Builder().with(MainActivity.this) 124 | .listener(MainActivity.this).build(); 125 | Country country = countryPicker.getCountryByLocale(Locale.getDefault()); 126 | if (country == null) { 127 | Toast.makeText(MainActivity.this, "Country not found", Toast.LENGTH_SHORT).show(); 128 | } else { 129 | showResultActivity(country); 130 | } 131 | } 132 | 133 | private void findBySim() { 134 | countryPicker = 135 | new CountryPicker.Builder().with(MainActivity.this) 136 | .listener(MainActivity.this).build(); 137 | Country country = countryPicker.getCountryFromSIM(); 138 | if (country == null) { 139 | Toast.makeText(MainActivity.this, "Country not found", Toast.LENGTH_SHORT).show(); 140 | } else { 141 | showResultActivity(country); 142 | } 143 | } 144 | 145 | private void findByName() { 146 | countryPicker = 147 | new CountryPicker.Builder().with(MainActivity.this) 148 | .listener(MainActivity.this).build(); 149 | AlertDialog.Builder builder = 150 | new AlertDialog.Builder(this, R.style.Base_Theme_MaterialComponents_Dialog_Alert); 151 | final EditText input = new EditText(this); 152 | input.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD); 153 | builder.setTitle("Country Name"); 154 | builder.setView(input); 155 | builder.setCancelable(false); 156 | builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { 157 | @Override 158 | public void onClick(DialogInterface dialog, int which) { 159 | Country country = countryPicker.getCountryByName(input.getText().toString()); 160 | if (country == null) { 161 | Toast.makeText(MainActivity.this, "Country not found", Toast.LENGTH_SHORT).show(); 162 | } else { 163 | showResultActivity(country); 164 | } 165 | } 166 | }); 167 | builder.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() { 168 | @Override 169 | public void onClick(DialogInterface dialog, int which) { 170 | dialog.cancel(); 171 | } 172 | }); 173 | builder.show(); 174 | } 175 | 176 | private void showResultActivity(Country country) { 177 | Intent intent = new Intent(MainActivity.this, ResultActivity.class); 178 | intent.putExtra(ResultActivity.BUNDLE_KEY_COUNTRY_NAME, country.getName()); 179 | intent.putExtra(ResultActivity.BUNDLE_KEY_COUNTRY_CURRENCY, country.getCurrency()); 180 | intent.putExtra(ResultActivity.BUNDLE_KEY_COUNTRY_DIAL_CODE, country.getDialCode()); 181 | intent.putExtra(ResultActivity.BUNDLE_KEY_COUNTRY_ISO, country.getCode()); 182 | intent.putExtra(ResultActivity.BUNDLE_KEY_COUNTRY_FLAG_IMAGE, country.getFlag()); 183 | startActivity(intent); 184 | } 185 | 186 | private void showPicker() { 187 | CountryPicker.Builder builder = 188 | new CountryPicker.Builder().with(MainActivity.this) 189 | .listener(MainActivity.this); 190 | if (styleSwitch.isChecked()) { 191 | builder.style(R.style.CountryPickerStyle); 192 | } 193 | builder.theme(themeSwitch.isChecked() ? CountryPicker.THEME_NEW : CountryPicker.THEME_OLD); 194 | builder.canSearch(searchSwitch.isChecked()); 195 | builder.sortBy(sortBy); 196 | countryPicker = builder.build(); 197 | if (useBottomSheet.isChecked()) { 198 | countryPicker.showBottomSheet(MainActivity.this); 199 | } else { 200 | countryPicker.showDialog(MainActivity.this); 201 | } 202 | } 203 | 204 | private void initialize() { 205 | pickCountryButton = findViewById(R.id.country_picker_button); 206 | themeSwitch = findViewById(R.id.theme_toggle_switch); 207 | styleSwitch = findViewById(R.id.custom_style_toggle_switch); 208 | useBottomSheet = findViewById(R.id.bottom_sheet_switch); 209 | searchSwitch = findViewById(R.id.search_switch); 210 | sortByRadioGroup = findViewById(R.id.sort_by_radio_group); 211 | findByNameButton = findViewById(R.id.by_name_button); 212 | findBySimButton = findViewById(R.id.by_sim_button); 213 | findByLocaleButton = findViewById(R.id.by_local_button); 214 | findByIsoButton = findViewById(R.id.by_iso_button); 215 | } 216 | 217 | @Override 218 | public void onSelectCountry(Country country) { 219 | showResultActivity(country); 220 | } 221 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 15 | 24 | 25 | 30 | 36 | 44 | 51 | 56 | 57 | 65 | 72 | 77 | 78 | 86 | 93 | 98 | 99 | 107 | 114 | 119 | 120 | 129 | 135 | 140 | 149 | 157 | 165 | 173 | 174 | 175 | 181 |