This project using Decoro for mask setting
dependencies {
implementation 'com.github.volga-volga:PhoneMask:$latestVersion'
}
<ru.vvdev.phonemask.ui.PhoneView
android:id="@+id/etPhone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:defaultCode="+33" />
You can set the default format
app:defaultCode="+33"