├── app
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── values-zh-rHK
│ │ │ │ └── strings.xml
│ │ │ ├── values-zh-rMO
│ │ │ │ └── strings.xml
│ │ │ ├── values-zh-rTW
│ │ │ │ └── strings.xml
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ ├── colors.xml
│ │ │ │ └── styles.xml
│ │ │ ├── values-zh
│ │ │ │ └── strings.xml
│ │ │ └── layout
│ │ │ │ └── activity_main.xml
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── sahooz
│ │ │ └── library
│ │ │ └── countryregionpicker
│ │ │ └── sample
│ │ │ └── MainActivity.java
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── sahooz
│ │ │ └── library
│ │ │ └── countryregionpicker
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── sahooz
│ │ └── library
│ │ └── countryregionpicker
│ │ └── ExampleInstrumentedTest.java
├── proguard-rules.pro
└── build.gradle
├── country-region-picker
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── 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_ax.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_bq.png
│ │ │ │ ├── flag_br.png
│ │ │ │ ├── flag_bs.png
│ │ │ │ ├── flag_bt.png
│ │ │ │ ├── flag_bv.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_eu.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_gf.png
│ │ │ │ ├── flag_gg.png
│ │ │ │ ├── flag_gh.png
│ │ │ │ ├── flag_gi.png
│ │ │ │ ├── flag_gl.png
│ │ │ │ ├── flag_gm.png
│ │ │ │ ├── flag_gn.png
│ │ │ │ ├── flag_gp.png
│ │ │ │ ├── flag_gq.png
│ │ │ │ ├── flag_gr.png
│ │ │ │ ├── flag_gs.png
│ │ │ │ ├── flag_gt.png
│ │ │ │ ├── flag_gu.png
│ │ │ │ ├── flag_gw.png
│ │ │ │ ├── flag_gy.png
│ │ │ │ ├── flag_hk.png
│ │ │ │ ├── flag_hm.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_mq.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_nf.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_tf.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_um.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
│ │ │ ├── values
│ │ │ │ └── attrs.xml
│ │ │ ├── layout
│ │ │ │ ├── item_letter.xml
│ │ │ │ ├── dialog_picker.xml
│ │ │ │ ├── item_country_region.xml
│ │ │ │ ├── item_country_region_large_padding.xml
│ │ │ │ └── activity_pick.xml
│ │ │ ├── values-zh-rHK
│ │ │ │ └── strings.xml
│ │ │ ├── values-zh-rMO
│ │ │ │ └── strings.xml
│ │ │ ├── values-zh-rTW
│ │ │ │ └── strings.xml
│ │ │ ├── values-zh
│ │ │ │ └── strings.xml
│ │ │ └── values-ko
│ │ │ │ └── strings.xml
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── sahooz
│ │ │ └── library
│ │ │ └── countryregionpicker
│ │ │ ├── PickCallback.java
│ │ │ ├── PyEntity.java
│ │ │ ├── LetterHolder.java
│ │ │ ├── VH.java
│ │ │ ├── Adapter.java
│ │ │ ├── PickFragment.java
│ │ │ ├── CountryOrRegion.java
│ │ │ ├── PickActivity.java
│ │ │ ├── SideBar.java
│ │ │ └── PyAdapter.java
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── sahooz
│ │ │ └── library
│ │ │ └── countryregionpicker
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── sahooz
│ │ └── library
│ │ └── countryregionpicker
│ │ └── ExampleInstrumentedTest.java
├── proguard-rules.pro
└── build.gradle
├── settings.gradle
├── imgs
├── activity.png
└── dialogfragment.png
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── .idea
├── caches
│ └── build_file_checksums.ser
├── codeStyles
│ ├── codeStyleConfig.xml
│ └── Project.xml
├── compiler.xml
├── vcs.xml
├── jarRepositories.xml
└── misc.xml
├── .gitignore
├── gradle.properties
├── README.md
├── gradlew.bat
├── README_EN.md
└── gradlew
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/country-region-picker/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app', ':country-region-picker'
2 |
--------------------------------------------------------------------------------
/imgs/activity.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/imgs/activity.png
--------------------------------------------------------------------------------
/imgs/dialogfragment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/imgs/dialogfragment.png
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/.idea/caches/build_file_checksums.ser:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/.idea/caches/build_file_checksums.ser
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-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/sahooz/country-region-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/sahooz/country-region-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/sahooz/country-region-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/sahooz/country-region-picker-android/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/values-zh-rHK/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 選擇國家或地區
4 |
--------------------------------------------------------------------------------
/app/src/main/res/values-zh-rMO/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 選擇國家或地區
4 |
--------------------------------------------------------------------------------
/app/src/main/res/values-zh-rTW/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 選擇國家或地區
4 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ad.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ae.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ae.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_af.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_af.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ag.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ai.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ai.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_al.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_al.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_am.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_am.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_an.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_an.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ao.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ao.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_aq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_aq.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ar.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_as.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_as.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_at.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_at.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_au.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_au.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_aw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_aw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ax.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ax.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_az.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_az.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ba.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ba.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bb.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bd.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_be.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_be.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bf.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bh.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bi.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bj.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bl.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bo.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bq.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_br.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_br.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bs.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bt.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bv.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_by.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_by.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_bz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_bz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ca.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ca.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cc.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cd.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cf.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ch.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ci.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ci.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ck.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ck.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cl.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_co.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_co.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cu.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cv.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cx.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cy.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_cz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_cz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_de.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_de.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_dj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_dj.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_dk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_dk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_dm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_dm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_do.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_do.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_dz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_dz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ec.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ec.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ee.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ee.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_eg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_eg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_eh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_eh.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_er.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_er.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_es.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_es.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_et.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_et.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_eu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_eu.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_fi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_fi.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_fj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_fj.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_fk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_fk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_fm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_fm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_fo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_fo.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_fr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_fr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ga.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ga.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gb.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gd.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ge.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gf.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gh.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gi.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gl.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gp.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gq.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gs.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gt.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gu.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_gy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_gy.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_hk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_hk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_hm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_hm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_hn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_hn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_hr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_hr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ht.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ht.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_hu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_hu.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_id.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_id.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ie.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_il.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_il.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_im.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_im.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_in.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_in.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_io.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_io.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_iq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_iq.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ir.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ir.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_is.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_is.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_it.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_je.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_je.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_jm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_jm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_jo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_jo.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_jp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_jp.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ke.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ke.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_kg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_kg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_kh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_kh.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ki.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ki.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_km.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_km.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_kn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_kn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_kp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_kp.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_kr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_kr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_kw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_kw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ky.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ky.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_kz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_kz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_la.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_la.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_lb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_lb.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_lc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_lc.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_li.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_li.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_lk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_lk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_lr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_lr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ls.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ls.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_lt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_lt.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_lu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_lu.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_lv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_lv.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ly.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ly.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ma.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ma.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mc.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_md.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_md.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_me.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_me.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mf.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mh.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ml.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ml.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mo.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mp.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mq.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ms.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mt.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mu.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mv.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mx.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_my.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_my.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_mz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_mz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_na.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_na.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_nc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_nc.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ne.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ne.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_nf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_nf.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ng.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ng.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ni.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ni.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_nl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_nl.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_no.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_no.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_np.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_np.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_nr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_nr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_nu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_nu.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_nz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_nz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_om.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_om.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pa.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pe.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pf.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ph.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pl.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ps.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pt.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_pw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_pw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_py.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_py.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_qa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_qa.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_re.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_re.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ro.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_rs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_rs.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ru.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ru.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_rw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_rw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sa.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sa.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sb.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sc.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sd.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_se.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_se.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sh.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_si.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_si.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sj.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sl.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_so.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_so.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ss.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ss.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_st.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_st.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sv.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sx.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sy.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_sz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_sz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tc.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_td.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_td.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tf.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_th.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_th.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tj.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tl.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_to.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_to.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tr.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tt.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tv.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tw.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_tz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_tz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ua.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ua.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ug.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ug.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_um.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_um.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_us.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_us.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_uy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_uy.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_uz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_uz.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_va.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_va.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_vc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_vc.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ve.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_vg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_vg.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_vi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_vi.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_vn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_vn.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_vu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_vu.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_wf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_wf.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ws.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ws.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_xk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_xk.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_ye.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_ye.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_yt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_yt.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_za.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_za.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_zm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_zm.png
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/drawable/flag_zw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sahooz/country-region-picker-android/HEAD/country-region-picker/src/main/res/drawable/flag_zw.png
--------------------------------------------------------------------------------
/.idea/codeStyles/codeStyleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/.idea/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | CountryPicker
3 | Select countryOrRegion/region
4 |
5 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/values-zh/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | CountryPicker
4 | 选择国家或地区
5 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Tue Aug 18 20:43:40 CST 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 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/PickCallback.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | /**
4 | * Created by sahooz on 17/10/17.
5 | */
6 |
7 | public interface PickCallback {
8 | void onPick(CountryOrRegion countryOrRegion);
9 | }
10 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/PyEntity.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import androidx.annotation.NonNull;
4 |
5 | /**
6 | * Created by sahooz on 3/15/2018.
7 | */
8 |
9 | public interface PyEntity {
10 | @NonNull String getPinyin();
11 | }
12 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/layout/item_letter.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/LetterHolder.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import androidx.recyclerview.widget.RecyclerView;
4 | import android.view.View;
5 | import android.widget.TextView;
6 |
7 | public class LetterHolder extends RecyclerView.ViewHolder {
8 | public final TextView textView;
9 | public LetterHolder(View itemView) {
10 | super(itemView);
11 | textView = (TextView) itemView;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/app/src/test/java/com/sahooz/library/countryregionpicker/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/country-region-picker/src/test/java/com/sahooz/library/countryregionpicker/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/VH.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import androidx.recyclerview.widget.RecyclerView;
4 | import android.view.View;
5 | import android.widget.ImageView;
6 | import android.widget.TextView;
7 |
8 | class VH extends RecyclerView.ViewHolder {
9 |
10 | TextView tvName;
11 | TextView tvCode;
12 | ImageView ivFlag;
13 |
14 | VH(View itemView) {
15 | super(itemView);
16 | ivFlag = itemView.findViewById(R.id.iv_flag);
17 | tvName = itemView.findViewById(R.id.tv_name);
18 | tvCode = itemView.findViewById(R.id.tv_code);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/app/src/androidTest/java/com/sahooz/library/countryregionpicker/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import android.content.Context;
4 |
5 | import androidx.test.InstrumentationRegistry;
6 | import androidx.test.runner.AndroidJUnit4;
7 |
8 | import org.junit.Test;
9 | import org.junit.runner.RunWith;
10 |
11 | import static org.junit.Assert.*;
12 |
13 | /**
14 | * Instrumentation test, which will execute on an Android device.
15 | *
16 | * @see Testing documentation
17 | */
18 | @RunWith(AndroidJUnit4.class)
19 | public class ExampleInstrumentedTest {
20 | @Test
21 | public void useAppContext() throws Exception {
22 | // Context of the app under test.
23 | Context appContext = InstrumentationRegistry.getTargetContext();
24 |
25 | assertEquals("com.sahooz.library.countrypicker", appContext.getPackageName());
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/country-region-picker/src/androidTest/java/com/sahooz/library/countryregionpicker/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import android.content.Context;
4 |
5 | import androidx.test.InstrumentationRegistry;
6 | import androidx.test.runner.AndroidJUnit4;
7 |
8 | import org.junit.Test;
9 | import org.junit.runner.RunWith;
10 |
11 | import static org.junit.Assert.*;
12 |
13 | /**
14 | * Instrumentation test, which will execute on an Android device.
15 | *
16 | * @see Testing documentation
17 | */
18 | @RunWith(AndroidJUnit4.class)
19 | public class ExampleInstrumentedTest {
20 | @Test
21 | public void useAppContext() throws Exception {
22 | // Context of the app under test.
23 | Context appContext = InstrumentationRegistry.getTargetContext();
24 |
25 | assertEquals("com.sahooz.library.test", appContext.getPackageName());
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Built application files
2 | *.apk
3 | *.ap_
4 |
5 | # Files for the ART/Dalvik VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # Generated files
12 | bin/
13 | gen/
14 | out/
15 |
16 | # Gradle files
17 | .gradle/
18 | build/
19 |
20 | # Local configuration file (sdk path, etc)
21 | local.properties
22 |
23 | # Proguard folder generated by Eclipse
24 | proguard/
25 |
26 | # Log Files
27 | *.log
28 |
29 | # Android Studio Navigation editor temp files
30 | .navigation/
31 |
32 | # Android Studio captures folder
33 | captures/
34 |
35 | # Intellij
36 | *.iml
37 | .idea/workspace.xml
38 | .idea/tasks.xml
39 | .idea/gradle.xml
40 | .idea/dictionaries
41 | .idea/libraries
42 |
43 | # Keystore files
44 | *.jks
45 |
46 | # External native build folder generated in Android Studio 2.2 and later
47 | .externalNativeBuild
48 |
49 | # Google Services (e.g. APIs or Firebase)
50 | google-services.json
51 |
52 | # Freeline
53 | freeline.py
54 | freeline/
55 | freeline_project_description.json
56 |
--------------------------------------------------------------------------------
/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 C:\Users\android\AppData\Local\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 |
19 | # Uncomment this to preserve the line number information for
20 | # debugging stack traces.
21 | #-keepattributes SourceFile,LineNumberTable
22 |
23 | # If you keep the line number information, uncomment this to
24 | # hide the original source file name.
25 | #-renamesourcefileattribute SourceFile
26 |
--------------------------------------------------------------------------------
/country-region-picker/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 C:\Users\android\AppData\Local\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 |
19 | # Uncomment this to preserve the line number information for
20 | # debugging stack traces.
21 | #-keepattributes SourceFile,LineNumberTable
22 |
23 | # If you keep the line number information, uncomment this to
24 | # hide the original source file name.
25 | #-renamesourcefileattribute SourceFile
26 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/layout/dialog_picker.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
16 |
17 |
25 |
26 |
--------------------------------------------------------------------------------
/country-region-picker/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.library'
2 |
3 | android {
4 | compileSdkVersion 33
5 |
6 | defaultConfig {
7 | minSdkVersion 15
8 | targetSdkVersion 33
9 | versionCode 310
10 | versionName "3.1.0"
11 |
12 | testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
13 |
14 | }
15 | buildTypes {
16 | release {
17 | minifyEnabled false
18 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
19 | }
20 | }
21 | compileOptions {
22 | sourceCompatibility JavaVersion.VERSION_1_8
23 | targetCompatibility JavaVersion.VERSION_1_8
24 | }
25 | }
26 |
27 | dependencies {
28 | implementation fileTree(dir: 'libs', include: ['*.jar'])
29 | androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
30 | exclude group: 'com.android.support', module: 'support-annotations'
31 | })
32 | implementation 'androidx.appcompat:appcompat:1.2.0'
33 | implementation 'androidx.recyclerview:recyclerview:1.1.0'
34 | testImplementation 'junit:junit:4.12'
35 | }
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
12 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Automatically convert third-party libraries to use AndroidX
19 | android.enableJetifier=true
20 | # Kotlin code style for this project: "official" or "obsolete":
21 | kotlin.code.style=official
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 31
5 | defaultConfig {
6 | applicationId "com.sahooz.library.countrypicker.sample"
7 | minSdkVersion 15
8 | targetSdkVersion 31
9 | versionCode 203
10 | versionName "2.0.3"
11 | testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
12 | }
13 | compileOptions {
14 | sourceCompatibility JavaVersion.VERSION_1_8
15 | targetCompatibility JavaVersion.VERSION_1_8
16 | }
17 | buildTypes {
18 | release {
19 | minifyEnabled false
20 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
21 | }
22 | }
23 |
24 | }
25 |
26 | dependencies {
27 | implementation fileTree(dir: 'libs', include: ['*.jar'])
28 | androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
29 | exclude group: 'com.android.support', module: 'support-annotations'
30 | })
31 | implementation 'androidx.appcompat:appcompat:1.2.0'
32 | testImplementation 'junit:junit:4.12'
33 | implementation project(path: ':country-region-picker')
34 | //implementation 'com.github.sahooz:country-picker-android:2.0.3'
35 | }
36 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/layout/item_country_region.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
18 |
19 |
26 |
27 |
31 |
32 |
37 |
38 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/layout/item_country_region_large_padding.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
18 |
19 |
26 |
27 |
31 |
32 |
37 |
38 |
41 |
42 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/layout/activity_pick.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
18 |
21 |
25 |
33 |
34 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # country-region-picker-android [](https://jitpack.io/#sahooz/country-region-picker-android)
2 |
3 | **[English](./README_EN.md)**
4 |
5 | 在做app登录的时候,因为需要支持国外手机号注册和登录,所以就涉及到国际电话区号的选择。在github上面找了一下,国家名称基本都是只有英文版本,而手动的去把中文一个个加上实在是一件费时费力的事情,所以就写了一段简单的java代码,抓取了某快递网站的数据转换成json格式,assets/code.json是处理后的数据。
6 |
7 | 支持以下语言:
8 | 1. 简体中文
9 | 2. 繁体中文
10 | 3. 英文
11 | 4. n种其他语言
12 |
13 | 依赖:
14 |
15 | ```
16 | allprojects {
17 | repositories {
18 | ...
19 | maven { url 'https://jitpack.io' }
20 | }
21 | }
22 |
23 | ...
24 |
25 | implementation 'com.github.sahooz:country-region-picker-android:3.1.0'
26 | ```
27 |
28 | 提供两个版本的选择器:
29 |
30 | 1. DialogFragment版本
31 | 使用示例:
32 | ```java
33 | PickFragment.newInstance(new PickCallback() {
34 | @Override
35 | public void onPick(CountryOrRegion countryOrRegion) {
36 | if(countryOrRegion.flag != 0) ivFlag.setImageResource(countryOrRegion.flag);
37 | tvName.setText(countryOrRegion.name);
38 | tvCode.setText("+" + countryOrRegion.code);
39 | }
40 | }).show(getSupportFragmentManager(), "countryOrRegion");
41 | ```
42 | 效果图:
43 | 
44 |
45 | 2. Activity版本
46 | 使用示例
47 | ```java
48 | startActivityForResult(new Intent(getApplicationContext(), PickActivity.class), 111);
49 |
50 | @Override
51 | protected void onActivityResult(int requestCode, int resultCode, Intent data) {
52 | super.onActivityResult(requestCode, resultCode, data);
53 | if(requestCode == 111 && resultCode == Activity.RESULT_OK) {
54 | CountryOrRegion countryOrRegion = CountryOrRegion.fromJson(data.getStringExtra("countryOrRegion"));
55 | if(countryOrRegion.flag != 0) ivFlag.setImageResource(countryOrRegion.flag);
56 | tvName.setText(countryOrRegion.name);
57 | tvCode.setText("+" + countryOrRegion.code);
58 | }
59 | }
60 | ```
61 | 效果图
62 | 
63 |
64 |
65 | 另外,使用前和语言发生变化的时候,请初始化:
66 | ```java
67 | // 轻微耗时操作
68 | CountryOrRegion.load(this);
69 | ```
70 |
71 | 销毁:
72 | ```java
73 | CountryOrRegion.destroy();
74 | ```
75 |
76 | 其实代码非常的简单,但是要把各个国家或者地区对应的中英文名称和国旗一一对应起来实在是一件费时费力的事情。供各位参考。
77 |
78 | ## 版本更新
79 |
80 | ### 3.1.0
81 |
82 | 1. 国家/地区名相关bug修复
83 | 2. 重命名一些包和类,使其更加合理,因为这些并不都是“国家”。所以升级的时候需要注意此部分修改
84 |
85 | ### 3.0
86 |
87 | 1. 更换数据源,修正旧数据存在错误的问题
88 | 2. 增加更多语言支持
--------------------------------------------------------------------------------
/.idea/jarRepositories.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/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 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
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 Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/Adapter.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import android.annotation.SuppressLint;
4 | import android.content.Context;
5 |
6 | import androidx.annotation.NonNull;
7 | import androidx.recyclerview.widget.RecyclerView;
8 | import android.util.TypedValue;
9 | import android.view.LayoutInflater;
10 | import android.view.ViewGroup;
11 |
12 | import java.util.ArrayList;
13 |
14 | public class Adapter extends RecyclerView.Adapter {
15 |
16 | private ArrayList selectedCountries = new ArrayList<>();
17 | private final LayoutInflater inflater;
18 | private PickCallback callback = null;
19 | private final Context context;
20 | public Adapter(Context ctx) {
21 | inflater = LayoutInflater.from(ctx);
22 | context = ctx;
23 | }
24 |
25 | public void setSelectedCountries(ArrayList selectedCountries) {
26 | this.selectedCountries = selectedCountries;
27 | notifyDataSetChanged();
28 | }
29 |
30 | public void setCallback(PickCallback callback) {
31 | this.callback = callback;
32 | }
33 |
34 | @NonNull
35 | @Override
36 | public VH onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
37 | return new VH(inflater.inflate(R.layout.item_country_region, parent, false));
38 | }
39 |
40 | private int itemHeight = -1;
41 | public void setItemHeight(float dp) {
42 | itemHeight = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, dp, context.getResources().getDisplayMetrics());
43 | }
44 |
45 | @SuppressLint("SetTextI18n")
46 | @Override
47 | public void onBindViewHolder(VH holder, int position) {
48 | final CountryOrRegion countryOrRegion = selectedCountries.get(position);
49 | holder.ivFlag.setImageResource(countryOrRegion.flag);
50 | holder.tvName.setText(countryOrRegion.translate);
51 | holder.tvCode.setText("+" + countryOrRegion.code);
52 | if(itemHeight != -1) {
53 | ViewGroup.LayoutParams params = holder.itemView.getLayoutParams();
54 | params.height = itemHeight;
55 | holder.itemView.setLayoutParams(params);
56 | }
57 | holder.itemView.setOnClickListener(v -> {
58 | if(callback != null) callback.onPick(countryOrRegion);
59 | });
60 | }
61 |
62 | @Override
63 | public int getItemCount() {
64 | return selectedCountries.size();
65 | }
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/README_EN.md:
--------------------------------------------------------------------------------
1 | # countryOrRegion-picker-android [](https://jitpack.io/#sahooz/countryOrRegion-picker-android)
2 |
3 | **[中文说明](./README.md)**
4 |
5 | Languages supported:
6 | 1. Simplify Chinese
7 | 2. Tradictional Chinese
8 | 3. English
9 | 4. Many other languages
10 |
11 | Add dependency:
12 |
13 | ```
14 | allprojects {
15 | repositories {
16 | ...
17 | maven { url 'https://jitpack.io' }
18 | }
19 | }
20 |
21 | ...
22 |
23 | implementation 'com.github.sahooz:countryOrRegion-picker-android:3.0.0'
24 | ```
25 |
26 | The two optional pickers:
27 |
28 | 1. DialogFragment version
29 | Sample:
30 | ```java
31 | CountryFragment.newInstance(new PickCallback() {
32 | @Override
33 | public void onPick(CountryOrRegion countryOrRegion) {
34 | if(countryOrRegion.flag != 0) ivFlag.setImageResource(countryOrRegion.flag);
35 | tvName.setText(countryOrRegion.name);
36 | tvCode.setText("+" + countryOrRegion.code);
37 | }
38 | }).show(getSupportFragmentManager(), "countryOrRegion");
39 | ```
40 | What it looks like:
41 | 
42 |
43 | 2. Activity version
44 | Sample
45 | ```java
46 | startActivityForResult(new Intent(getApplicationContext(), PickActivity.class), 111);
47 |
48 | @Override
49 | protected void onActivityResult(int requestCode, int resultCode, Intent data) {
50 | super.onActivityResult(requestCode, resultCode, data);
51 | if(requestCode == 111 && resultCode == Activity.RESULT_OK) {
52 | CountryOrRegion countryOrRegion = Country.fromJson(data.getStringExtra("countryOrRegion"));
53 | if(countryOrRegion.flag != 0) ivFlag.setImageResource(countryOrRegion.flag);
54 | tvName.setText(countryOrRegion.name);
55 | tvCode.setText("+" + countryOrRegion.code);
56 | }
57 | }
58 | ```
59 | What it looks like:
60 | 
61 |
62 |
63 | When the device language is changed, do this:
64 | ```java
65 | // Take a little while
66 | CountryOrRegion.load(this);
67 | ```
68 |
69 | Destroy it after usage:
70 | ```java
71 | CountryOrRegion.destroy();
72 | ```
73 |
74 | The code is very simple, but supporting multiple languages is very time consuming. Hope it help.
75 |
76 | ## Update Logs
77 |
78 | ### 3.1.03
79 |
80 | 1. Country/Region name bug fix
81 | 2. Rename some packages and classes and make it reasonable, cause not every subject in the list is a country
82 |
83 | ### 3.0
84 |
85 | 1. Update datasource, fix old data errors
86 | 2. Sopport more langaues
--------------------------------------------------------------------------------
/app/src/main/java/com/sahooz/library/countryregionpicker/sample/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker.sample;
2 |
3 | import android.annotation.SuppressLint;
4 | import android.app.Activity;
5 | import android.content.Intent;
6 | import android.os.Bundle;
7 | import android.view.View;
8 | import android.widget.ImageView;
9 | import android.widget.TextView;
10 |
11 | import androidx.appcompat.app.AppCompatActivity;
12 |
13 | import com.sahooz.library.countryregionpicker.CountryOrRegion;
14 | import com.sahooz.library.countryregionpicker.PickFragment;
15 | import com.sahooz.library.countryregionpicker.PickActivity;
16 |
17 | import org.json.JSONException;
18 |
19 | import java.io.IOException;
20 |
21 | @SuppressLint("SetTextI18n")
22 | public class MainActivity extends AppCompatActivity {
23 |
24 | private ImageView ivFlag;
25 | private TextView tvName;
26 | private TextView tvCode;
27 |
28 | @Override
29 | protected void onCreate(Bundle savedInstanceState) {
30 | super.onCreate(savedInstanceState);
31 | setContentView(R.layout.activity_main);
32 | ivFlag = findViewById(R.id.iv_flag);
33 | tvName = findViewById(R.id.tv_name);
34 | tvCode = findViewById(R.id.tv_code);
35 |
36 | try {
37 | CountryOrRegion.load(this);
38 | } catch (IOException e) {
39 | e.printStackTrace();
40 | } catch (JSONException e) {
41 | e.printStackTrace();
42 | }
43 | }
44 |
45 | public void click(View view) {
46 | if(view.getId() == R.id.btnDialog)
47 | PickFragment.newInstance(country -> {
48 | if(country.flag != 0) ivFlag.setImageResource(country.flag);
49 | tvName.setText(country.name + "(" + country.translate + ")");
50 | tvCode.setText("+" + country.code);
51 | }).show(getSupportFragmentManager(), "country");
52 | else {
53 | startActivityForResult(new Intent(getApplicationContext(), PickActivity.class), 111);
54 | }
55 | }
56 |
57 | @Override
58 | protected void onActivityResult(int requestCode, int resultCode, Intent data) {
59 | super.onActivityResult(requestCode, resultCode, data);
60 | if(requestCode == 111 && resultCode == Activity.RESULT_OK) {
61 | CountryOrRegion countryOrRegion = CountryOrRegion.fromJson(data.getStringExtra("country"));
62 | assert countryOrRegion != null;
63 | if(countryOrRegion.flag != 0) ivFlag.setImageResource(countryOrRegion.flag);
64 | tvName.setText(countryOrRegion.name + "(" + countryOrRegion.translate + ")");
65 | tvCode.setText("+" + countryOrRegion.code);
66 | }
67 | }
68 |
69 | @Override
70 | protected void onDestroy() {
71 | CountryOrRegion.destroy();
72 | super.onDestroy();
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/PickFragment.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import android.annotation.SuppressLint;
4 | import android.app.Dialog;
5 | import android.os.Bundle;
6 |
7 | import androidx.annotation.NonNull;
8 | import androidx.annotation.Nullable;
9 |
10 | import androidx.fragment.app.DialogFragment;
11 | import androidx.recyclerview.widget.LinearLayoutManager;
12 | import androidx.recyclerview.widget.RecyclerView;
13 | import android.text.Editable;
14 | import android.text.TextWatcher;
15 | import android.view.LayoutInflater;
16 | import android.view.View;
17 | import android.view.ViewGroup;
18 | import android.view.Window;
19 | import android.widget.EditText;
20 |
21 | import java.util.ArrayList;
22 |
23 | /**
24 | * Created by sahooz on 17/10/17.
25 | */
26 |
27 | public class PickFragment extends DialogFragment {
28 |
29 | private final ArrayList allCountries = new ArrayList<>();
30 | private final ArrayList selectedCountries = new ArrayList<>();
31 | private PickCallback callback;
32 |
33 | public PickFragment() { }
34 |
35 | public static PickFragment newInstance(PickCallback callback) {
36 | PickFragment picker = new PickFragment();
37 | picker.callback = callback;
38 | return picker;
39 | }
40 |
41 | @NonNull
42 | @Override
43 | public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
44 | Dialog dialog = super.onCreateDialog(savedInstanceState);
45 | Window window = dialog.getWindow();
46 | if(window != null) {
47 | window.requestFeature(Window.FEATURE_NO_TITLE);
48 | }
49 | return dialog;
50 | }
51 |
52 | @Nullable
53 | @Override
54 | public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
55 | View root = inflater.inflate(R.layout.dialog_picker, container, false);
56 | EditText etSearch = root.findViewById(R.id.et_search);
57 | final RecyclerView rvCountryOrRegion = root.findViewById(R.id.rv_country_or_region);
58 | allCountries.clear();
59 | allCountries.addAll(CountryOrRegion.getAll());
60 | selectedCountries.clear();
61 | selectedCountries.addAll(allCountries);
62 | final Adapter adapter = new Adapter(getContext());
63 | adapter.setCallback(country -> {
64 | dismiss();
65 | if(callback != null) callback.onPick(country);
66 | });
67 | adapter.setSelectedCountries(selectedCountries);
68 | rvCountryOrRegion.setAdapter(adapter);
69 | rvCountryOrRegion.setLayoutManager(new LinearLayoutManager(getContext()));
70 | etSearch.addTextChangedListener(new TextWatcher() {
71 | @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { }
72 |
73 | @Override public void onTextChanged(CharSequence s, int start, int before, int count) { }
74 |
75 | @SuppressLint("NotifyDataSetChanged")
76 | @Override public void afterTextChanged(Editable s) {
77 | String string = s.toString();
78 | selectedCountries.clear();
79 | for (CountryOrRegion countryOrRegion : allCountries) {
80 | if(countryOrRegion.name.toLowerCase().contains(string.toLowerCase())
81 | || countryOrRegion.translate.toLowerCase().contains(string.toLowerCase())
82 | || countryOrRegion.getPinyin().toLowerCase().contains(string.toLowerCase())
83 | )
84 | selectedCountries.add(countryOrRegion);
85 | }
86 | adapter.notifyDataSetChanged();
87 | }
88 | });
89 | return root;
90 | }
91 | }
92 |
--------------------------------------------------------------------------------
/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | xmlns:android
17 |
18 | ^$
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | xmlns:.*
28 |
29 | ^$
30 |
31 |
32 | BY_NAME
33 |
34 |
35 |
36 |
37 |
38 |
39 | .*:id
40 |
41 | http://schemas.android.com/apk/res/android
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 | .*:name
51 |
52 | http://schemas.android.com/apk/res/android
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 | name
62 |
63 | ^$
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 | style
73 |
74 | ^$
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 | .*
84 |
85 | ^$
86 |
87 |
88 | BY_NAME
89 |
90 |
91 |
92 |
93 |
94 |
95 | .*
96 |
97 | http://schemas.android.com/apk/res/android
98 |
99 |
100 | ANDROID_ATTRIBUTE_ORDER
101 |
102 |
103 |
104 |
105 |
106 |
107 | .*
108 |
109 | .*
110 |
111 |
112 | BY_NAME
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
11 |
12 |
13 |
14 |
35 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/CountryOrRegion.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import android.content.Context;
4 | import androidx.annotation.NonNull;
5 |
6 | import android.text.TextUtils;
7 |
8 | import org.json.JSONArray;
9 | import org.json.JSONException;
10 | import org.json.JSONObject;
11 |
12 | import java.io.BufferedReader;
13 | import java.io.IOException;
14 | import java.io.InputStreamReader;
15 | import java.util.ArrayList;
16 | import java.util.Collections;
17 | import java.util.Locale;
18 |
19 | /**
20 | * Created by sahooz on 17/10/17.
21 | */
22 |
23 | public class CountryOrRegion implements PyEntity {
24 | private static final String TAG = CountryOrRegion.class.getSimpleName();
25 | public int code;
26 | public String name, translate, locale, pinyin;
27 | public int flag;
28 | private static ArrayList countryOrRegions = new ArrayList<>();
29 |
30 | public CountryOrRegion(int code, String name, String translate, String pinyin, String locale, int flag) {
31 | this.code = code;
32 | this.name = name;
33 | this.translate = translate;
34 | this.flag = flag;
35 | this.locale = locale;
36 | this.pinyin = pinyin;
37 | }
38 |
39 | @Override
40 | public String toString() {
41 | return "Country{" +
42 | "code=" + code +
43 | ", name='" + name + '\'' +
44 | ", translate='" + translate + '\'' +
45 | ", locale='" + locale + '\'' +
46 | ", pinyin='" + pinyin + '\'' +
47 | ", flag=" + flag +
48 | '}';
49 | }
50 |
51 | public static ArrayList getAll(){
52 | return new ArrayList<>(countryOrRegions);
53 | }
54 |
55 | public static CountryOrRegion fromJson(String json){
56 | if(TextUtils.isEmpty(json)) return null;
57 | try {
58 | JSONObject jo = new JSONObject(json);
59 | return new CountryOrRegion(
60 | jo.optInt("code"),
61 | jo.optString("name"),
62 | jo.optString("translate"),
63 | jo.optString("pinyin"),
64 | jo.optString("locale"),
65 | jo.optInt("flag")
66 | );
67 | } catch (JSONException e) {
68 | e.printStackTrace();
69 | }
70 | return null;
71 | }
72 |
73 | public String toJson() {
74 | JSONObject jo = new JSONObject();
75 | try {
76 | jo.put("name", name);
77 | jo.put("translate", translate);
78 | jo.put("code", code);
79 | jo.put("flag", flag);
80 | jo.put("pinyin", pinyin);
81 | jo.put("locale", locale);
82 | return jo.toString();
83 | } catch (JSONException e) {
84 | e.printStackTrace();
85 | }
86 | return "{}";
87 | }
88 |
89 | public static void load(@NonNull Context ctx) throws IOException, JSONException {
90 | countryOrRegions = new ArrayList<>();
91 | BufferedReader br = new BufferedReader(new InputStreamReader(ctx.getResources().getAssets().open("code.json")));
92 | String line;
93 | StringBuilder sb = new StringBuilder();
94 | while ((line = br.readLine()) != null)
95 | sb.append(line);
96 | br.close();
97 | JSONArray ja = new JSONArray(sb.toString());
98 | for (int i = 0; i < ja.length(); i++) {
99 | JSONObject jo = ja.getJSONObject(i);
100 | int flag = 0;
101 | String translate = "";
102 | String locale = jo.getString("locale");
103 | if(!TextUtils.isEmpty(locale)) {
104 | flag = ctx.getResources().getIdentifier("flag_" + locale.toLowerCase(), "drawable", ctx.getPackageName());
105 | translate = ctx.getString(ctx.getResources().getIdentifier("name_" + locale.toLowerCase(), "string", ctx.getPackageName()));
106 | }
107 | String name = translate;
108 | Locale defaultLoc = Locale.getDefault();
109 | boolean inChina = "zh".equalsIgnoreCase(defaultLoc.getLanguage());
110 | countryOrRegions.add(
111 | new CountryOrRegion(
112 | jo.getInt("code"),
113 | name,
114 | translate,
115 | inChina ? jo.getString("pinyin") : name,
116 | locale,
117 | flag
118 | )
119 | );
120 | }
121 |
122 | Collections.sort(countryOrRegions, (o1, o2) -> o1.getPinyin().compareTo(o2.getPinyin()));
123 | }
124 |
125 | public static void destroy() {
126 | countryOrRegions.clear();
127 | }
128 |
129 | @Override
130 | public int hashCode() {
131 | return code;
132 | }
133 |
134 | @NonNull @Override
135 | public String getPinyin() {
136 | return pinyin;
137 | }
138 | }
139 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/PickActivity.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import android.annotation.SuppressLint;
4 | import android.app.Activity;
5 | import android.content.Intent;
6 | import android.os.Bundle;
7 | import androidx.annotation.Nullable;
8 | import androidx.appcompat.app.AppCompatActivity;
9 | import androidx.recyclerview.widget.DividerItemDecoration;
10 | import androidx.recyclerview.widget.LinearLayoutManager;
11 | import androidx.recyclerview.widget.RecyclerView;
12 | import android.text.Editable;
13 | import android.text.TextWatcher;
14 | import android.view.View;
15 | import android.view.ViewGroup;
16 | import android.widget.EditText;
17 | import android.widget.TextView;
18 |
19 | import java.util.ArrayList;
20 | import java.util.List;
21 |
22 | public class PickActivity extends AppCompatActivity {
23 |
24 | private final ArrayList selectedCountries = new ArrayList<>();
25 | private final ArrayList allCountries = new ArrayList<>();
26 |
27 | @Override
28 | protected void onCreate(@Nullable Bundle savedInstanceState) {
29 | super.onCreate(savedInstanceState);
30 | setContentView(R.layout.activity_pick);
31 | RecyclerView rvPick = findViewById(R.id.rv_pick);
32 | SideBar side = findViewById(R.id.side);
33 | EditText etSearch = findViewById(R.id.et_search);
34 | TextView tvLetter = findViewById(R.id.tv_letter);
35 | allCountries.clear();
36 | allCountries.addAll(CountryOrRegion.getAll());
37 | selectedCountries.clear();
38 | selectedCountries.addAll(allCountries);
39 | final CAdapter adapter = new CAdapter(selectedCountries);
40 | rvPick.setAdapter(adapter);
41 | LinearLayoutManager manager = new LinearLayoutManager(this);
42 | rvPick.setLayoutManager(manager);
43 | rvPick.setAdapter(adapter);
44 | rvPick.addItemDecoration(new DividerItemDecoration(this, DividerItemDecoration.VERTICAL));
45 | etSearch.addTextChangedListener(new TextWatcher() {
46 | @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { }
47 |
48 | @Override public void onTextChanged(CharSequence s, int start, int before, int count) { }
49 |
50 | @Override public void afterTextChanged(Editable s) {
51 | String string = s.toString();
52 | selectedCountries.clear();
53 | for (CountryOrRegion countryOrRegion : allCountries) {
54 | if(countryOrRegion.name.toLowerCase().contains(string.toLowerCase())
55 | || countryOrRegion.translate.toLowerCase().contains(string.toLowerCase())
56 | || countryOrRegion.getPinyin().toLowerCase().contains(string.toLowerCase())
57 | )
58 | selectedCountries.add(countryOrRegion);
59 | }
60 | adapter.update(selectedCountries);
61 | }
62 | });
63 |
64 | side.addIndex("#", side.indexes.size());
65 | side.setOnLetterChangeListener(new SideBar.OnLetterChangeListener() {
66 | @Override
67 | public void onLetterChange(String letter) {
68 | tvLetter.setVisibility(View.VISIBLE);
69 | tvLetter.setText(letter);
70 | int position = adapter.getLetterPosition(letter);
71 | if (position != -1) {
72 | manager.scrollToPositionWithOffset(position, 0);
73 | }
74 | }
75 |
76 | @Override
77 | public void onReset() {
78 | tvLetter.setVisibility(View.GONE);
79 | }
80 | });
81 | }
82 |
83 | class CAdapter extends PyAdapter {
84 |
85 | public CAdapter(List extends PyEntity> entities) {
86 | super(entities, '#');
87 | }
88 |
89 | @Override
90 | public RecyclerView.ViewHolder onCreateLetterHolder(ViewGroup parent, int viewType) {
91 | return new LetterHolder(getLayoutInflater().inflate(R.layout.item_letter, parent, false));
92 | }
93 |
94 | @Override
95 | public RecyclerView.ViewHolder onCreateHolder(ViewGroup parent, int viewType) {
96 | return new VH(getLayoutInflater().inflate(R.layout.item_country_region_large_padding, parent, false));
97 | }
98 |
99 | @SuppressLint("SetTextI18n")
100 | @Override
101 | public void onBindHolder(RecyclerView.ViewHolder holder, PyEntity entity, int position) {
102 | VH vh = (VH)holder;
103 | final CountryOrRegion countryOrRegion = (CountryOrRegion)entity;
104 | vh.ivFlag.setImageResource(countryOrRegion.flag);
105 | vh.tvName.setText(countryOrRegion.translate);
106 | vh.tvCode.setText("+" + countryOrRegion.code);
107 | holder.itemView.setOnClickListener(v -> {
108 | Intent data = new Intent();
109 | data.putExtra("country", countryOrRegion.toJson());
110 | setResult(Activity.RESULT_OK , data);
111 | finish();
112 | });
113 | }
114 |
115 | @Override
116 | public void onBindLetterHolder(RecyclerView.ViewHolder holder, LetterEntity entity, int position) {
117 | ((LetterHolder)holder).textView.setText(entity.letter.toUpperCase());
118 | }
119 | }
120 | }
121 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/SideBar.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import android.annotation.SuppressLint;
4 | import android.content.Context;
5 | import android.content.res.TypedArray;
6 | import android.graphics.Canvas;
7 | import android.graphics.Color;
8 | import android.graphics.Paint;
9 | import androidx.annotation.Nullable;
10 | import android.util.AttributeSet;
11 | import android.view.MotionEvent;
12 | import android.view.View;
13 |
14 | import java.util.ArrayList;
15 | import java.util.Arrays;
16 |
17 |
18 | /**
19 | * Created by sahooz on 3/14/2018.
20 | */
21 |
22 | public class SideBar extends View {
23 |
24 | public final ArrayList indexes = new ArrayList<>();
25 | private OnLetterChangeListener onLetterChangeListener;
26 | private Paint paint;
27 | private float textHeight;
28 | private int cellWidth;
29 | private int cellHeight;
30 | private int currentIndex = -1;
31 | private int letterColor;
32 | private int selectColor;
33 | private int letterSize;
34 |
35 | public SideBar(Context context) { this(context, null); }
36 |
37 | public SideBar(Context context, @Nullable AttributeSet attrs) {
38 | this(context, attrs, 0);
39 | }
40 |
41 | public SideBar(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
42 | super(context, attrs, defStyleAttr);
43 |
44 | TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.SideBar, defStyleAttr, 0);
45 | letterColor = ta.getColor(R.styleable.SideBar_letterColor, Color.BLACK);
46 | selectColor = ta.getColor(R.styleable.SideBar_selectColor, Color.CYAN);
47 | letterSize = ta.getDimensionPixelSize(R.styleable.SideBar_letterSize, 24);
48 | ta.recycle();
49 | paint = new Paint();
50 | //消除锯齿
51 | paint.setAntiAlias(true);
52 | Paint.FontMetrics fontMetrics = paint.getFontMetrics();
53 | textHeight = (float) Math.ceil(fontMetrics.descent - fontMetrics.ascent); //1.1---2 2.1--3
54 | String[] letters = {"A", "B", "C", "D",
55 | "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q",
56 | "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
57 | indexes.addAll(Arrays.asList(letters));
58 | }
59 |
60 | public void addIndex(String indexStr, int position) {
61 | indexes.add(position, indexStr);
62 | invalidate();
63 | }
64 |
65 | public void removeIndex(String indexStr) {
66 | indexes.remove(indexStr);
67 | invalidate();
68 | }
69 |
70 | public void setLetterSize(int letterSize) {
71 | if(this.letterSize == letterSize) return;
72 | this.letterSize = letterSize;
73 | invalidate();
74 | }
75 |
76 | @Override
77 | protected void onSizeChanged(int w, int h, int oldw, int oldh) {
78 | super.onSizeChanged(w, h, oldw, oldh);
79 | cellWidth = getMeasuredWidth();
80 | cellHeight = getMeasuredHeight() / indexes.size();
81 | }
82 |
83 | @Override
84 | protected void onDraw(Canvas canvas) {
85 | super.onDraw(canvas);
86 | paint.setTextSize(letterSize);
87 | for (int i = 0; i < indexes.size(); i++) {
88 | String letter = indexes.get(i);
89 | float textWidth = paint.measureText(letter);
90 | float x = (cellWidth - textWidth) * 0.5f;
91 | float y = (cellHeight + textHeight) * 0.5f + cellHeight * i;
92 |
93 | if (i == currentIndex) {
94 | paint.setColor(selectColor);
95 | } else {
96 | paint.setColor(letterColor);
97 | }
98 |
99 | canvas.drawText(letter, x, y, paint);
100 | }
101 | }
102 |
103 | public OnLetterChangeListener getOnLetterChangeListener() {
104 | return onLetterChangeListener;
105 | }
106 |
107 | public void setOnLetterChangeListener(OnLetterChangeListener onLetterChangeListener) {
108 | this.onLetterChangeListener = onLetterChangeListener;
109 | }
110 |
111 | public String getLetter(int position) {
112 | if(position < 0 || position >= indexes.size()) return "";
113 | return indexes.get(position);
114 | }
115 |
116 | public interface OnLetterChangeListener {
117 | void onLetterChange(String letter);
118 |
119 | //手指抬起
120 | void onReset();
121 | }
122 |
123 | /**
124 | * 处理 按下 移动 手指抬起
125 | */
126 | @SuppressLint("ClickableViewAccessibility")
127 | @Override
128 | public boolean onTouchEvent(MotionEvent event) {
129 | switch (event.getAction()) {
130 | case MotionEvent.ACTION_DOWN:
131 | case MotionEvent.ACTION_MOVE:
132 | int downY = (int) event.getY();
133 | //获取当前索引
134 | currentIndex = downY / cellHeight;
135 | if (currentIndex < 0 || currentIndex > indexes.size() - 1) {
136 |
137 | } else {
138 | if (onLetterChangeListener != null) {
139 | onLetterChangeListener.onLetterChange(indexes.get(currentIndex));
140 | }
141 | }
142 | //重新绘制
143 | invalidate();
144 | break;
145 | case MotionEvent.ACTION_UP:
146 | currentIndex = -1;
147 | //手动刷新
148 | invalidate();
149 | //表示手指抬起了
150 | if (onLetterChangeListener != null) {
151 | onLetterChangeListener.onReset();
152 | }
153 | break;
154 | }
155 | // 为了 能够接受 move+up事件
156 | return true;
157 | }
158 | }
159 |
--------------------------------------------------------------------------------
/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/java/com/sahooz/library/countryregionpicker/PyAdapter.java:
--------------------------------------------------------------------------------
1 | package com.sahooz.library.countryregionpicker;
2 |
3 | import androidx.annotation.NonNull;
4 | import androidx.recyclerview.widget.RecyclerView;
5 |
6 | import android.annotation.SuppressLint;
7 | import android.text.TextUtils;
8 | import android.util.Log;
9 | import android.view.View;
10 | import android.view.ViewGroup;
11 |
12 | import java.util.ArrayList;
13 | import java.util.Collections;
14 | import java.util.HashSet;
15 | import java.util.List;
16 | import java.util.WeakHashMap;
17 |
18 | /**
19 | * Created by sahooz on 3/15/2018.
20 | */
21 |
22 | public abstract class PyAdapter extends RecyclerView.Adapter implements View.OnClickListener {
23 |
24 | private static final String TAG = PyAdapter.class.getSimpleName();
25 | public static final int TYPE_LETTER = 0;
26 | public static final int TYPE_OTHER = 1;
27 | private WeakHashMap holders = new WeakHashMap<>();
28 | public final ArrayList entityList = new ArrayList<>();
29 | public final HashSet letterSet = new HashSet<>();
30 | private OnItemClickListener listener = (entity, position) -> {
31 |
32 | };
33 | private char specialLetter;
34 |
35 | public PyAdapter(List extends PyEntity> entities, char specialLetter){
36 | if(entities == null) throw new NullPointerException("entities == null!");
37 | this.specialLetter = specialLetter;
38 | update(entities);
39 | }
40 |
41 | @SuppressLint("NotifyDataSetChanged")
42 | public void update(List extends PyEntity> entities){
43 | if(entities == null) throw new NullPointerException("entities == null!");
44 | entityList.clear();
45 | entityList.addAll(entities);
46 | letterSet.clear();
47 | for (PyEntity entity : entities) {
48 | String pinyin = entity.getPinyin();
49 | if(!TextUtils.isEmpty(pinyin)) {
50 | char letter = pinyin.charAt(0);
51 | if(!isLetter(letter))
52 | letter = specialLetter;
53 | letterSet.add(new LetterEntity(letter + ""));
54 | }
55 | }
56 | entityList.addAll(letterSet);
57 | Collections.sort(entityList, (o1, o2) -> {
58 | String pinyin = o1.getPinyin().toLowerCase();
59 | String anotherPinyin = o2.getPinyin().toLowerCase();
60 | char letter = pinyin.charAt(0);
61 | char otherLetter = anotherPinyin.charAt(0);
62 | if(isLetter(letter) && isLetter(otherLetter))
63 | return pinyin.compareTo(anotherPinyin);
64 | else if(isLetter(letter) && !isLetter(otherLetter)) {
65 | return -1;
66 | } else if(!isLetter(letter) && isLetter(otherLetter)){
67 | return 1;
68 | } else {
69 | if(letter == specialLetter && o1 instanceof LetterEntity) return -1;
70 | else if(otherLetter == specialLetter && o2 instanceof LetterEntity) return 1;
71 | else return pinyin.compareTo(anotherPinyin);
72 | }
73 | });
74 | notifyDataSetChanged();
75 | }
76 |
77 | private boolean isLetter(char letter) {
78 | return 'a' <= letter && 'z' >= letter || 'A' <= letter && 'Z' >= letter;
79 | }
80 |
81 | @Override
82 | public final void onBindViewHolder(@NonNull VH holder, int position) {
83 | PyEntity entity = entityList.get(position);
84 | holders.put(holder.itemView, holder);
85 | holder.itemView.setOnClickListener(this);
86 | if(entity instanceof LetterEntity) {
87 | onBindLetterHolder(holder, (LetterEntity)entity, position);
88 | } else {
89 | onBindHolder(holder, entity, position);
90 | }
91 | }
92 |
93 | public int getEntityPosition(PyEntity entity) { return entityList.indexOf(entity); }
94 |
95 | @NonNull
96 | @Override
97 | public final VH onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
98 | return viewType == TYPE_LETTER? onCreateLetterHolder(parent, viewType)
99 | : onCreateHolder(parent, viewType);
100 | }
101 |
102 | public abstract VH onCreateLetterHolder(ViewGroup parent, int viewType);
103 | public abstract VH onCreateHolder(ViewGroup parent, int viewType);
104 |
105 | public int getLetterPosition(String letter){
106 | LetterEntity entity = new LetterEntity(letter);
107 | return entityList.indexOf(entity);
108 | }
109 |
110 | @Override
111 | public int getItemViewType(int position) {
112 | PyEntity entity = entityList.get(position);
113 | return entity instanceof LetterEntity? TYPE_LETTER : getViewType(entity, position);
114 | }
115 |
116 | public int getViewType(PyEntity entity, int position) {
117 | return TYPE_OTHER;
118 | }
119 |
120 | @Override
121 | public final int getItemCount() { return entityList.size(); }
122 |
123 | public void onBindLetterHolder(VH holder, LetterEntity entity, int position) {
124 |
125 | }
126 |
127 | public void onBindHolder(VH holder, PyEntity entity, int position) {
128 |
129 | }
130 |
131 | public boolean isLetter(int position) {
132 | if(position < 0 || position >= entityList.size()) return false;
133 | else return entityList.get(position) instanceof LetterEntity;
134 | }
135 |
136 | public interface OnItemClickListener {
137 | void onItemClick(PyEntity entity, int position);
138 | }
139 |
140 | public void setOnItemClickListener(OnItemClickListener listener) {
141 | this.listener = listener;
142 | }
143 |
144 | @Override
145 | public final void onClick(View v) {
146 | VH holder = holders.get(v);
147 | if(holder == null) {
148 | Log.e(TAG, "Holder onClick event, but why holder == null?");
149 | return;
150 | }
151 | int position = holder.getAdapterPosition();
152 | PyEntity pyEntity = entityList.get(position);
153 | listener.onItemClick(pyEntity, position);
154 | }
155 |
156 | public static final class LetterEntity implements PyEntity {
157 |
158 | public final String letter;
159 |
160 | public LetterEntity(String letter) { this.letter = letter; }
161 |
162 | @Override @NonNull
163 | public String getPinyin() { return letter.toLowerCase(); }
164 |
165 | @Override
166 | public boolean equals(Object o) {
167 | if (this == o) return true;
168 | if (o == null || getClass() != o.getClass()) return false;
169 |
170 | LetterEntity that = (LetterEntity) o;
171 |
172 | return letter.toLowerCase().equals(that.letter.toLowerCase());
173 | }
174 |
175 | @Override
176 | public int hashCode() { return letter.toLowerCase().hashCode(); }
177 | }
178 | }
179 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/values-zh-rHK/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 安道爾
4 | 阿聯酋
5 | 阿富汗
6 | 安提瓜和巴布達
7 | 安圭拉
8 | 阿爾巴尼亞
9 | 亞美尼亞
10 | 安哥拉
11 | 南極洲
12 | 阿根廷
13 | 美屬薩摩亞
14 | 奧地利
15 | 澳大利亞
16 | 阿魯巴
17 | 奧蘭
18 | 阿塞拜疆
19 | 波黑
20 | 巴巴多斯
21 | 孟加拉國
22 | 比利時
23 | 布基納法索
24 | 保加利亞
25 | 巴林
26 | 布隆迪
27 | 貝寧
28 | 聖巴泰勒米
29 | 百慕大
30 | 文萊
31 | 玻利維亞
32 | 荷蘭加勒比區
33 | 巴西
34 | 巴哈馬
35 | 不丹
36 | 布韋島
37 | 博茨瓦納
38 | 白俄羅斯
39 | 伯利茲
40 | 加拿大
41 | 科科斯(基林)羣島
42 | 剛果(金)
43 | 中非
44 | 剛果(布)
45 | 瑞士
46 | 科特迪瓦
47 | 庫克羣島
48 | 智利
49 | 喀麥隆
50 | 中國
51 | 哥倫比亞
52 | 哥斯達黎加
53 | 古巴
54 | 佛得角
55 | 庫拉索
56 | 聖誕島
57 | 塞浦路斯
58 | 捷克
59 | 德國
60 | 吉布提
61 | 丹麥
62 | 多米尼克
63 | 多米尼加
64 | 阿爾及利亞
65 | 厄瓜多爾
66 | 愛沙尼亞
67 | 埃及
68 | 阿拉伯撒哈拉民主共和國
69 | 厄立特裏亞
70 | 西班牙
71 | 埃塞俄比亞
72 | 芬蘭
73 | 斐濟
74 | 福克蘭羣島
75 | 密克羅尼西亞聯邦
76 | 法羅羣島
77 | 法國
78 | 加蓬
79 | 英國
80 | 格林納達
81 | 格魯吉亞
82 | 法屬圭亞那
83 | 根西
84 | 加納
85 | 直布羅陀
86 | 格陵蘭
87 | 岡比亞
88 | 幾內亞
89 | 瓜德羅普
90 | 赤道幾內亞
91 | 希臘
92 | 南喬治亞和南桑威奇羣島
93 | 危地馬拉
94 | 關島
95 | 幾內亞比紹
96 | 圭亞那
97 | 香港
98 | 赫德島和麥克唐納羣島
99 | 洪都拉斯
100 | 克羅地亞
101 | 海地
102 | 匈牙利
103 | 印尼
104 | 愛爾蘭
105 | 以色列
106 | 馬恩島
107 | 印度
108 | 英屬印度洋領地
109 | 伊拉克
110 | 伊朗
111 | 冰島
112 | 意大利
113 | 澤西
114 | 牙買加
115 | 約旦
116 | 日本
117 | 肯尼亞
118 | 吉爾吉斯斯坦
119 | 柬埔寨
120 | 基裏巴斯
121 | 科摩羅
122 | 聖基茨和尼維斯
123 | 朝鮮
124 | 韓國
125 | 科威特
126 | 開曼羣島
127 | 哈薩克斯坦
128 | 老撾
129 | 黎巴嫩
130 | 聖盧西亞
131 | 列支敦士登
132 | 斯裏蘭卡
133 | 利比裏亞
134 | 萊索託
135 | 立陶宛
136 | 盧森堡
137 | 拉脫維亞
138 | 利比亞
139 | 摩洛哥
140 | 摩納哥
141 | 摩爾多瓦
142 | 黑山
143 | 法屬聖馬丁
144 | 馬達加斯加
145 | 馬紹爾羣島
146 | 北馬其頓
147 | 馬裏
148 | 緬甸
149 | 蒙古
150 | 澳門
151 | 北馬裏亞納羣島
152 | 馬提尼克
153 | 毛裏塔尼亞
154 | 蒙特塞拉特
155 | 馬耳他
156 | 毛裏求斯
157 | 馬爾代夫
158 | 馬拉維
159 | 墨西哥
160 | 馬來西亞
161 | 莫桑比克
162 | 納米比亞
163 | 新喀裏多尼亞
164 | 尼日爾
165 | 諾福克島
166 | 尼日利亞
167 | 尼加拉瓜
168 | 荷蘭
169 | 挪威
170 | 尼泊爾
171 | 瑙魯
172 | 紐埃
173 | 新西蘭
174 | 阿曼
175 | 巴拿馬
176 | 祕魯
177 | 法屬波利尼西亞
178 | 巴布亞新幾內亞
179 | 菲律賓
180 | 巴基斯坦
181 | 波蘭
182 | 聖皮埃爾和密克隆
183 | 皮特凱恩羣島
184 | 波多黎各
185 | 巴勒斯坦
186 | 葡萄牙
187 | 帕勞
188 | 巴拉圭
189 | 卡塔爾
190 | 留尼汪
191 | 羅馬尼亞
192 | 塞爾維亞
193 | 俄羅斯
194 | 盧旺達
195 | 沙特阿拉伯
196 | 所羅門羣島
197 | 塞舌爾
198 | 蘇丹
199 | 瑞典
200 | 新加坡
201 | 聖赫勒拿、阿森鬆和特裏斯坦-達庫尼亞
202 | 斯洛文尼亞
203 | 斯瓦爾巴和揚馬延
204 | 斯洛伐克
205 | 塞拉利昂
206 | 聖馬力諾
207 | 塞內加爾
208 | 索馬裏
209 | 蘇裏南
210 | 南蘇丹
211 | 聖多美和普林西比
212 | 薩爾瓦多
213 | 荷屬聖馬丁
214 | 敘利亞
215 | 斯威士蘭
216 | 特克斯和凱科斯羣島
217 | 乍得
218 | 法屬南部領地
219 | 多哥
220 | 泰國
221 | 塔吉克斯坦
222 | 託克勞
223 | 東帝汶
224 | 土庫曼斯坦
225 | 突尼斯
226 | 湯加
227 | 土耳其
228 | 特立尼達和多巴哥
229 | 圖瓦盧
230 | 中國臺灣省
231 | 坦桑尼亞
232 | 烏克蘭
233 | 烏幹達
234 | 美國本土外小島嶼
235 | 美國
236 | 烏拉圭
237 | 烏茲別克斯坦
238 | 梵蒂岡
239 | 聖文森特和格林納丁斯
240 | 委內瑞拉
241 | 英屬維爾京羣島
242 | 美屬維爾京羣島
243 | 越南
244 | 瓦努阿圖
245 | 瓦利斯和富圖納
246 | 薩摩亞
247 | 科索沃
248 | 也門
249 | 馬約特
250 | 南非
251 | 贊比亞
252 | 津巴布韋
253 |
254 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/values-zh-rMO/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 安道爾
4 | 阿聯酋
5 | 阿富汗
6 | 安提瓜和巴布達
7 | 安圭拉
8 | 阿爾巴尼亞
9 | 亞美尼亞
10 | 安哥拉
11 | 南極洲
12 | 阿根廷
13 | 美屬薩摩亞
14 | 奧地利
15 | 澳大利亞
16 | 阿魯巴
17 | 奧蘭
18 | 阿塞拜疆
19 | 波黑
20 | 巴巴多斯
21 | 孟加拉國
22 | 比利時
23 | 布基納法索
24 | 保加利亞
25 | 巴林
26 | 布隆迪
27 | 貝寧
28 | 聖巴泰勒米
29 | 百慕大
30 | 文萊
31 | 玻利維亞
32 | 荷蘭加勒比區
33 | 巴西
34 | 巴哈馬
35 | 不丹
36 | 布韋島
37 | 博茨瓦納
38 | 白俄羅斯
39 | 伯利茲
40 | 加拿大
41 | 科科斯(基林)羣島
42 | 剛果(金)
43 | 中非
44 | 剛果(布)
45 | 瑞士
46 | 科特迪瓦
47 | 庫克羣島
48 | 智利
49 | 喀麥隆
50 | 中國
51 | 哥倫比亞
52 | 哥斯達黎加
53 | 古巴
54 | 佛得角
55 | 庫拉索
56 | 聖誕島
57 | 塞浦路斯
58 | 捷克
59 | 德國
60 | 吉布提
61 | 丹麥
62 | 多米尼克
63 | 多米尼加
64 | 阿爾及利亞
65 | 厄瓜多爾
66 | 愛沙尼亞
67 | 埃及
68 | 阿拉伯撒哈拉民主共和國
69 | 厄立特裏亞
70 | 西班牙
71 | 埃塞俄比亞
72 | 芬蘭
73 | 斐濟
74 | 福克蘭羣島
75 | 密克羅尼西亞聯邦
76 | 法羅羣島
77 | 法國
78 | 加蓬
79 | 英國
80 | 格林納達
81 | 格魯吉亞
82 | 法屬圭亞那
83 | 根西
84 | 加納
85 | 直布羅陀
86 | 格陵蘭
87 | 岡比亞
88 | 幾內亞
89 | 瓜德羅普
90 | 赤道幾內亞
91 | 希臘
92 | 南喬治亞和南桑威奇羣島
93 | 危地馬拉
94 | 關島
95 | 幾內亞比紹
96 | 圭亞那
97 | 香港
98 | 赫德島和麥克唐納羣島
99 | 洪都拉斯
100 | 克羅地亞
101 | 海地
102 | 匈牙利
103 | 印尼
104 | 愛爾蘭
105 | 以色列
106 | 馬恩島
107 | 印度
108 | 英屬印度洋領地
109 | 伊拉克
110 | 伊朗
111 | 冰島
112 | 意大利
113 | 澤西
114 | 牙買加
115 | 約旦
116 | 日本
117 | 肯尼亞
118 | 吉爾吉斯斯坦
119 | 柬埔寨
120 | 基裏巴斯
121 | 科摩羅
122 | 聖基茨和尼維斯
123 | 朝鮮
124 | 韓國
125 | 科威特
126 | 開曼羣島
127 | 哈薩克斯坦
128 | 老撾
129 | 黎巴嫩
130 | 聖盧西亞
131 | 列支敦士登
132 | 斯裏蘭卡
133 | 利比裏亞
134 | 萊索託
135 | 立陶宛
136 | 盧森堡
137 | 拉脫維亞
138 | 利比亞
139 | 摩洛哥
140 | 摩納哥
141 | 摩爾多瓦
142 | 黑山
143 | 法屬聖馬丁
144 | 馬達加斯加
145 | 馬紹爾羣島
146 | 北馬其頓
147 | 馬裏
148 | 緬甸
149 | 蒙古
150 | 澳門
151 | 北馬裏亞納羣島
152 | 馬提尼克
153 | 毛裏塔尼亞
154 | 蒙特塞拉特
155 | 馬耳他
156 | 毛裏求斯
157 | 馬爾代夫
158 | 馬拉維
159 | 墨西哥
160 | 馬來西亞
161 | 莫桑比克
162 | 納米比亞
163 | 新喀裏多尼亞
164 | 尼日爾
165 | 諾福克島
166 | 尼日利亞
167 | 尼加拉瓜
168 | 荷蘭
169 | 挪威
170 | 尼泊爾
171 | 瑙魯
172 | 紐埃
173 | 新西蘭
174 | 阿曼
175 | 巴拿馬
176 | 祕魯
177 | 法屬波利尼西亞
178 | 巴布亞新幾內亞
179 | 菲律賓
180 | 巴基斯坦
181 | 波蘭
182 | 聖皮埃爾和密克隆
183 | 皮特凱恩羣島
184 | 波多黎各
185 | 巴勒斯坦
186 | 葡萄牙
187 | 帕勞
188 | 巴拉圭
189 | 卡塔爾
190 | 留尼汪
191 | 羅馬尼亞
192 | 塞爾維亞
193 | 俄羅斯
194 | 盧旺達
195 | 沙特阿拉伯
196 | 所羅門羣島
197 | 塞舌爾
198 | 蘇丹
199 | 瑞典
200 | 新加坡
201 | 聖赫勒拿、阿森鬆和特裏斯坦-達庫尼亞
202 | 斯洛文尼亞
203 | 斯瓦爾巴和揚馬延
204 | 斯洛伐克
205 | 塞拉利昂
206 | 聖馬力諾
207 | 塞內加爾
208 | 索馬裏
209 | 蘇裏南
210 | 南蘇丹
211 | 聖多美和普林西比
212 | 薩爾瓦多
213 | 荷屬聖馬丁
214 | 敘利亞
215 | 斯威士蘭
216 | 特克斯和凱科斯羣島
217 | 乍得
218 | 法屬南部領地
219 | 多哥
220 | 泰國
221 | 塔吉克斯坦
222 | 託克勞
223 | 東帝汶
224 | 土庫曼斯坦
225 | 突尼斯
226 | 湯加
227 | 土耳其
228 | 特立尼達和多巴哥
229 | 圖瓦盧
230 | 中國臺灣省
231 | 坦桑尼亞
232 | 烏克蘭
233 | 烏幹達
234 | 美國本土外小島嶼
235 | 美國
236 | 烏拉圭
237 | 烏茲別克斯坦
238 | 梵蒂岡
239 | 聖文森特和格林納丁斯
240 | 委內瑞拉
241 | 英屬維爾京羣島
242 | 美屬維爾京羣島
243 | 越南
244 | 瓦努阿圖
245 | 瓦利斯和富圖納
246 | 薩摩亞
247 | 科索沃
248 | 也門
249 | 馬約特
250 | 南非
251 | 贊比亞
252 | 津巴布韋
253 |
254 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/values-zh-rTW/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 安道爾
4 | 阿聯酋
5 | 阿富汗
6 | 安提瓜和巴布達
7 | 安圭拉
8 | 阿爾巴尼亞
9 | 亞美尼亞
10 | 安哥拉
11 | 南極洲
12 | 阿根廷
13 | 美屬薩摩亞
14 | 奧地利
15 | 澳大利亞
16 | 阿魯巴
17 | 奧蘭
18 | 阿塞拜疆
19 | 波黑
20 | 巴巴多斯
21 | 孟加拉國
22 | 比利時
23 | 布基納法索
24 | 保加利亞
25 | 巴林
26 | 布隆迪
27 | 貝寧
28 | 聖巴泰勒米
29 | 百慕大
30 | 文萊
31 | 玻利維亞
32 | 荷蘭加勒比區
33 | 巴西
34 | 巴哈馬
35 | 不丹
36 | 布韋島
37 | 博茨瓦納
38 | 白俄羅斯
39 | 伯利茲
40 | 加拿大
41 | 科科斯(基林)羣島
42 | 剛果(金)
43 | 中非
44 | 剛果(布)
45 | 瑞士
46 | 科特迪瓦
47 | 庫克羣島
48 | 智利
49 | 喀麥隆
50 | 中國
51 | 哥倫比亞
52 | 哥斯達黎加
53 | 古巴
54 | 佛得角
55 | 庫拉索
56 | 聖誕島
57 | 塞浦路斯
58 | 捷克
59 | 德國
60 | 吉布提
61 | 丹麥
62 | 多米尼克
63 | 多米尼加
64 | 阿爾及利亞
65 | 厄瓜多爾
66 | 愛沙尼亞
67 | 埃及
68 | 阿拉伯撒哈拉民主共和國
69 | 厄立特裏亞
70 | 西班牙
71 | 埃塞俄比亞
72 | 芬蘭
73 | 斐濟
74 | 福克蘭羣島
75 | 密克羅尼西亞聯邦
76 | 法羅羣島
77 | 法國
78 | 加蓬
79 | 英國
80 | 格林納達
81 | 格魯吉亞
82 | 法屬圭亞那
83 | 根西
84 | 加納
85 | 直布羅陀
86 | 格陵蘭
87 | 岡比亞
88 | 幾內亞
89 | 瓜德羅普
90 | 赤道幾內亞
91 | 希臘
92 | 南喬治亞和南桑威奇羣島
93 | 危地馬拉
94 | 關島
95 | 幾內亞比紹
96 | 圭亞那
97 | 香港
98 | 赫德島和麥克唐納羣島
99 | 洪都拉斯
100 | 克羅地亞
101 | 海地
102 | 匈牙利
103 | 印尼
104 | 愛爾蘭
105 | 以色列
106 | 馬恩島
107 | 印度
108 | 英屬印度洋領地
109 | 伊拉克
110 | 伊朗
111 | 冰島
112 | 意大利
113 | 澤西
114 | 牙買加
115 | 約旦
116 | 日本
117 | 肯尼亞
118 | 吉爾吉斯斯坦
119 | 柬埔寨
120 | 基裏巴斯
121 | 科摩羅
122 | 聖基茨和尼維斯
123 | 朝鮮
124 | 韓國
125 | 科威特
126 | 開曼羣島
127 | 哈薩克斯坦
128 | 老撾
129 | 黎巴嫩
130 | 聖盧西亞
131 | 列支敦士登
132 | 斯裏蘭卡
133 | 利比裏亞
134 | 萊索託
135 | 立陶宛
136 | 盧森堡
137 | 拉脫維亞
138 | 利比亞
139 | 摩洛哥
140 | 摩納哥
141 | 摩爾多瓦
142 | 黑山
143 | 法屬聖馬丁
144 | 馬達加斯加
145 | 馬紹爾羣島
146 | 北馬其頓
147 | 馬裏
148 | 緬甸
149 | 蒙古
150 | 澳門
151 | 北馬裏亞納羣島
152 | 馬提尼克
153 | 毛裏塔尼亞
154 | 蒙特塞拉特
155 | 馬耳他
156 | 毛裏求斯
157 | 馬爾代夫
158 | 馬拉維
159 | 墨西哥
160 | 馬來西亞
161 | 莫桑比克
162 | 納米比亞
163 | 新喀裏多尼亞
164 | 尼日爾
165 | 諾福克島
166 | 尼日利亞
167 | 尼加拉瓜
168 | 荷蘭
169 | 挪威
170 | 尼泊爾
171 | 瑙魯
172 | 紐埃
173 | 新西蘭
174 | 阿曼
175 | 巴拿馬
176 | 祕魯
177 | 法屬波利尼西亞
178 | 巴布亞新幾內亞
179 | 菲律賓
180 | 巴基斯坦
181 | 波蘭
182 | 聖皮埃爾和密克隆
183 | 皮特凱恩羣島
184 | 波多黎各
185 | 巴勒斯坦
186 | 葡萄牙
187 | 帕勞
188 | 巴拉圭
189 | 卡塔爾
190 | 留尼汪
191 | 羅馬尼亞
192 | 塞爾維亞
193 | 俄羅斯
194 | 盧旺達
195 | 沙特阿拉伯
196 | 所羅門羣島
197 | 塞舌爾
198 | 蘇丹
199 | 瑞典
200 | 新加坡
201 | 聖赫勒拿、阿森鬆和特裏斯坦-達庫尼亞
202 | 斯洛文尼亞
203 | 斯瓦爾巴和揚馬延
204 | 斯洛伐克
205 | 塞拉利昂
206 | 聖馬力諾
207 | 塞內加爾
208 | 索馬裏
209 | 蘇裏南
210 | 南蘇丹
211 | 聖多美和普林西比
212 | 薩爾瓦多
213 | 荷屬聖馬丁
214 | 敘利亞
215 | 斯威士蘭
216 | 特克斯和凱科斯羣島
217 | 乍得
218 | 法屬南部領地
219 | 多哥
220 | 泰國
221 | 塔吉克斯坦
222 | 託克勞
223 | 東帝汶
224 | 土庫曼斯坦
225 | 突尼斯
226 | 湯加
227 | 土耳其
228 | 特立尼達和多巴哥
229 | 圖瓦盧
230 | 中國臺灣省
231 | 坦桑尼亞
232 | 烏克蘭
233 | 烏幹達
234 | 美國本土外小島嶼
235 | 美國
236 | 烏拉圭
237 | 烏茲別克斯坦
238 | 梵蒂岡
239 | 聖文森特和格林納丁斯
240 | 委內瑞拉
241 | 英屬維爾京羣島
242 | 美屬維爾京羣島
243 | 越南
244 | 瓦努阿圖
245 | 瓦利斯和富圖納
246 | 薩摩亞
247 | 科索沃
248 | 也門
249 | 馬約特
250 | 南非
251 | 贊比亞
252 | 津巴布韋
253 |
254 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/values-zh/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 安道尔
4 | 阿联酋
5 | 阿富汗
6 | 安提瓜和巴布达
7 | 安圭拉
8 | 阿尔巴尼亚
9 | 亚美尼亚
10 | 安哥拉
11 | 南极洲
12 | 阿根廷
13 | 美属萨摩亚
14 | 奥地利
15 | 澳大利亚
16 | 阿鲁巴
17 | 奥兰
18 | 阿塞拜疆
19 | 波黑
20 | 巴巴多斯
21 | 孟加拉国
22 | 比利时
23 | 布基纳法索
24 | 保加利亚
25 | 巴林
26 | 布隆迪
27 | 贝宁
28 | 圣巴泰勒米
29 | 百慕大
30 | 文莱
31 | 玻利维亚
32 | 荷兰加勒比区
33 | 巴西
34 | 巴哈马
35 | 不丹
36 | 布韦岛
37 | 博茨瓦纳
38 | 白俄罗斯
39 | 伯利兹
40 | 加拿大
41 | 科科斯(基林)群岛
42 | 刚果(金)
43 | 中非
44 | 刚果(布)
45 | 瑞士
46 | 科特迪瓦
47 | 库克群岛
48 | 智利
49 | 喀麦隆
50 | 中国
51 | 哥伦比亚
52 | 哥斯达黎加
53 | 古巴
54 | 佛得角
55 | 库拉索
56 | 圣诞岛
57 | 塞浦路斯
58 | 捷克
59 | 德国
60 | 吉布提
61 | 丹麦
62 | 多米尼克
63 | 多米尼加
64 | 阿尔及利亚
65 | 厄瓜多尔
66 | 爱沙尼亚
67 | 埃及
68 | 阿拉伯撒哈拉民主共和国
69 | 厄立特里亚
70 | 西班牙
71 | 埃塞俄比亚
72 | 芬兰
73 | 斐济
74 | 福克兰群岛
75 | 密克罗尼西亚联邦
76 | 法罗群岛
77 | 法国
78 | 加蓬
79 | 英国
80 | 格林纳达
81 | 格鲁吉亚
82 | 法属圭亚那
83 | 根西
84 | 加纳
85 | 直布罗陀
86 | 格陵兰
87 | 冈比亚
88 | 几内亚
89 | 瓜德罗普
90 | 赤道几内亚
91 | 希腊
92 | 南乔治亚和南桑威奇群岛
93 | 危地马拉
94 | 关岛
95 | 几内亚比绍
96 | 圭亚那
97 | 香港
98 | 赫德岛和麦克唐纳群岛
99 | 洪都拉斯
100 | 克罗地亚
101 | 海地
102 | 匈牙利
103 | 印尼
104 | 爱尔兰
105 | 以色列
106 | 马恩岛
107 | 印度
108 | 英属印度洋领地
109 | 伊拉克
110 | 伊朗
111 | 冰岛
112 | 意大利
113 | 泽西
114 | 牙买加
115 | 约旦
116 | 日本
117 | 肯尼亚
118 | 吉尔吉斯斯坦
119 | 柬埔寨
120 | 基里巴斯
121 | 科摩罗
122 | 圣基茨和尼维斯
123 | 朝鲜
124 | 韩国
125 | 科威特
126 | 开曼群岛
127 | 哈萨克斯坦
128 | 老挝
129 | 黎巴嫩
130 | 圣卢西亚
131 | 列支敦士登
132 | 斯里兰卡
133 | 利比里亚
134 | 莱索托
135 | 立陶宛
136 | 卢森堡
137 | 拉脱维亚
138 | 利比亚
139 | 摩洛哥
140 | 摩纳哥
141 | 摩尔多瓦
142 | 黑山
143 | 法属圣马丁
144 | 马达加斯加
145 | 马绍尔群岛
146 | 北马其顿
147 | 马里
148 | 缅甸
149 | 蒙古
150 | 澳门
151 | 北马里亚纳群岛
152 | 马提尼克
153 | 毛里塔尼亚
154 | 蒙特塞拉特
155 | 马耳他
156 | 毛里求斯
157 | 马尔代夫
158 | 马拉维
159 | 墨西哥
160 | 马来西亚
161 | 莫桑比克
162 | 纳米比亚
163 | 新喀里多尼亚
164 | 尼日尔
165 | 诺福克岛
166 | 尼日利亚
167 | 尼加拉瓜
168 | 荷兰
169 | 挪威
170 | 尼泊尔
171 | 瑙鲁
172 | 纽埃
173 | 新西兰
174 | 阿曼
175 | 巴拿马
176 | 秘鲁
177 | 法属波利尼西亚
178 | 巴布亚新几内亚
179 | 菲律宾
180 | 巴基斯坦
181 | 波兰
182 | 圣皮埃尔和密克隆
183 | 皮特凯恩群岛
184 | 波多黎各
185 | 巴勒斯坦
186 | 葡萄牙
187 | 帕劳
188 | 巴拉圭
189 | 卡塔尔
190 | 留尼汪
191 | 罗马尼亚
192 | 塞尔维亚
193 | 俄罗斯
194 | 卢旺达
195 | 沙特阿拉伯
196 | 所罗门群岛
197 | 塞舌尔
198 | 苏丹
199 | 瑞典
200 | 新加坡
201 | 圣赫勒拿、阿森松和特里斯坦-达库尼亚
202 | 斯洛文尼亚
203 | 斯瓦尔巴和扬马延
204 | 斯洛伐克
205 | 塞拉利昂
206 | 圣马力诺
207 | 塞内加尔
208 | 索马里
209 | 苏里南
210 | 南苏丹
211 | 圣多美和普林西比
212 | 萨尔瓦多
213 | 荷属圣马丁
214 | 叙利亚
215 | 斯威士兰
216 | 特克斯和凯科斯群岛
217 | 乍得
218 | 法属南部领地
219 | 多哥
220 | 泰国
221 | 塔吉克斯坦
222 | 托克劳
223 | 东帝汶
224 | 土库曼斯坦
225 | 突尼斯
226 | 汤加
227 | 土耳其
228 | 特立尼达和多巴哥
229 | 图瓦卢
230 | 中国台湾省
231 | 坦桑尼亚
232 | 乌克兰
233 | 乌干达
234 | 美国本土外小岛屿
235 | 美国
236 | 乌拉圭
237 | 乌兹别克斯坦
238 | 梵蒂冈
239 | 圣文森特和格林纳丁斯
240 | 委内瑞拉
241 | 英属维尔京群岛
242 | 美属维尔京群岛
243 | 越南
244 | 瓦努阿图
245 | 瓦利斯和富图纳
246 | 萨摩亚
247 | 科索沃
248 | 也门
249 | 马约特
250 | 南非
251 | 赞比亚
252 | 津巴布韦
253 |
254 |
--------------------------------------------------------------------------------
/country-region-picker/src/main/res/values-ko/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 안도라
4 | 아랍 에미리트
5 | 아프가니스탄
6 | 앤티가 바부 다
7 | 앵 귈라
8 | 알바니아
9 | 아르메니아
10 | 앙골라
11 | 남극 대륙
12 | 아르헨티나
13 | 아메리칸 사모아
14 | 오스트리아
15 | 호주
16 | 아루바
17 | 올란드 제도
18 | 아제르바이잔
19 | 보스니아 헤르체고비나
20 | 바베이도스
21 | 방글라데시
22 | 벨기에
23 | 부키 나 파소
24 | 불가리아
25 | 바레인
26 | 부룬디
27 | 베냉
28 | 생 바르 텔레 미
29 | 버뮤다
30 | 브루나이 다루 살람
31 | 볼리비아
32 | 보네르, 신트 유스 타티 우스, 사바
33 | 브라질
34 | 바하마
35 | 부탄
36 | 부베 섬
37 | 보츠와나
38 | 벨라루스
39 | 벨리즈
40 | 캐나다
41 | 코코스 군도
42 | 콩고 민주 공화국
43 | 중앙 아프리카 공화국
44 | 콩고
45 | 스위스
46 | 코트 디부 아르
47 | 쿡 제도
48 | 칠레
49 | 카메룬
50 | 중국
51 | 콜롬비아
52 | 코스타리카
53 | 쿠바
54 | 카보 베르데
55 | 쿠라 사오
56 | 크리스마스 섬
57 | 키프로스
58 | 체코 공화국
59 | 독일
60 | 지부티
61 | 덴마크
62 | 도미니카 공화국
63 | 도미니카 공화국
64 | 알제리
65 | 에콰도르
66 | 에스토니아
67 | 이집트
68 | 서사하라
69 | 에리트레아
70 | 스페인
71 | 에티오피아
72 | 핀란드
73 | 피지
74 | 포클랜드 제도 (말 비나 스)
75 | 미크로네시아,
76 | 페로 제도
77 | 프랑스
78 | 가봉
79 | 영국
80 | 그레나다
81 | 그루지야
82 | 프랑스 령 기아나
83 | 건지 섬
84 | 가나
85 | 지브롤터
86 | 그린란드
87 | 감비아
88 | 기니
89 | 과들루프
90 | 적도 기니
91 | 그리스
92 | 사우스 조지아 및 사우스 샌드위치 제도
93 | 과테말라
94 | 괌
95 | 기니 비사우
96 | 가이아나
97 | 홍콩
98 | 허드 섬 및 맥도널드 제도
99 | 온두라스
100 | 크로아티아
101 | 아이티
102 | 헝가리
103 | 인도네시아 공화국
104 | 아일랜드
105 | 이스라엘
106 | 아일 오브 맨
107 | 인도
108 | 영국령 인도양 지역
109 | 이라크
110 | 이란, 이슬람 공화국
111 | 아이슬란드
112 | 이탈리아
113 | 저지
114 | 자메이카
115 | 요르단
116 | 일본
117 | 케냐
118 | 키르기즈스탄
119 | 캄보디아
120 | 키리바시
121 | 코모로
122 | 세인트 키츠 네비스
123 | 조선 민주주의 인민 공화국
124 | 대한민국
125 | 쿠웨이트
126 | 케이맨 제도
127 | 카자흐스탄
128 | 라오스 인민 민주주의 공화국
129 | 레바논
130 | 세인트 루시아
131 | 리히텐슈타인
132 | 스리랑카
133 | 라이베리아
134 | 레소토
135 | 리투아니아
136 | 룩셈부르크
137 | 라트비아
138 | 리비아 아랍 자 마히리 야
139 | 모로코
140 | 모나코
141 | 몰도바, 공화국
142 | 몬테네그로
143 | 세인트 마틴 (프랑스어 부분)
144 | 마다가스카르
145 | 마샬 군도
146 | 북마케도니아 공화국
147 | 말리
148 | 미얀마
149 | 몽골리아
150 | 마카오
151 | 북 마리아나 제도
152 | 마르티니크
153 | 모리타니
154 | 몬세 라트
155 | 몰타
156 | 모리셔스
157 | 몰디브
158 | 말라위
159 | 멕시코
160 | 말레이시아
161 | 모잠비크
162 | 나미비아
163 | 뉴 칼레도니아
164 | 니제르
165 | 노퍽 섬
166 | 나이지리아
167 | 니카라과
168 | 네덜란드
169 | 노르웨이
170 | 네팔
171 | 나우루
172 | 니우에
173 | 뉴질랜드
174 | 오만
175 | 파나마
176 | 페루
177 | 프랑스 령 폴리네시아의
178 | 파푸아 뉴기니
179 | 필리핀 제도
180 | 파키스탄
181 | 폴란드
182 | 생 피에르 미 클롱
183 | 핏 케언
184 | 푸에르토 리코
185 | 팔레스타인 자치구, 점령 자
186 | 포르투갈
187 | 팔라우
188 | 파라과이
189 | 카타르
190 | 재결합
191 | 루마니아
192 | 세르비아
193 | 러시아 연방
194 | 르완다
195 | 사우디 아라비아
196 | 솔로몬 제도
197 | 세이셸
198 | 수단
199 | 스웨덴
200 | 싱가포르
201 | 세인트 헬레나
202 | 슬로베니아
203 | 스발 바르와 얀 메이 엔
204 | 슬로바키아
205 | 시에라 리온
206 | 산 마리노
207 | 세네갈
208 | 소말리아
209 | 수리남
210 | 남 수단
211 | 상투 메 프린시 페
212 | 엘살바도르
213 | 신트 마틴 (네덜란드어 부분)
214 | 시리아
215 | 스와질란드
216 | 터크 스 케이 커스 제도
217 | 차드
218 | 프랑스 남부 지역
219 | 가다
220 | 태국
221 | 타지키스탄
222 | 토켈 라우
223 | 동 티모르
224 | 투르크 메니스탄
225 | 튀니지
226 | 통가
227 | 터키
228 | 트리니다드 토바고
229 | 투발루
230 | 대만
231 | 탄자니아, 유엔
232 | 우크라이나
233 | 우간다
234 | 미국령 군소 제도
235 | 미국
236 | 우루과이
237 | 우즈베키스탄
238 | 성좌 (바티칸 시국)
239 | 세인트 빈센트 그레나딘
240 | 베네수엘라
241 | 영국령 버진 아일랜드
242 | 미국령 버진 아일랜드
243 | 베트남
244 | 바누아투
245 | 월리스 푸 투나
246 | 사모아
247 | 코소보
248 | 예멘 아랍 공화국
249 | 마 요트
250 | 남아프리카
251 | 잠비아
252 | 짐바브웨
253 |
254 |
--------------------------------------------------------------------------------