-
-
Notifications
You must be signed in to change notification settings - Fork 505
Example phone number as edittext hint
Harsh Bhakta edited this page Jan 30, 2018
·
1 revision
If you want the user to know expected number then you can enable this feature using app:ccp_hintExampleNumber="true"
. This will set example number as the hint (placeholder text) of registered carrier number edittext.
<com.hbb20.CountryCodePicker
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:ccp_hintExampleNumber="true"/>
Once you enable hint feature, by default, hints will be of MOBILE number type. You can change to FIXED_LINE or other using app:ccp_hintExampleNumberType="FIXED_LINE"
.
<com.hbb20.CountryCodePicker
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:ccp_hintExampleNumber="true"
app:ccp_hintExampleNumberType="FIXED_LINE"/>
- How to Integrate into your project
- Full Number Support
- Use as a Country Selector
- Auto detect country
- Auto detect language
- Remember last selection
- Country Preference
- Custom Mater List
- Exclude Countries
- Example phonenumber as hint
- Multi Language Support
- Default Country
- Country Selection Listener
- Dialog events listener
- CCP Theme Customization
- CCP Dialog Theme Customization
- Custom TypeFace
- Read Selected Country
- XML Properties
- Update Guide to v2
- Guide to Add New Language Support
- Guide to add New Country
- Change contry names for local project
- Handle CCP ClickListener Manually
- Custom Dialog Title/Hint/Empty Result ACK
- Flag Emoji Support (BETA)
- Change Log