Skip to content

CCP Dialog Theme Customization

Harsh B. Bhakta edited this page Jul 4, 2018 · 2 revisions

You can customize selection dialog's theme so that it gives native view feeling.

By using following properties, you can customize the look of country selection dialog.

<com.hbb20.CountryCodePicker
 android:layout_width="match_parent"
 android:layout_height="wrap_content"
 app:ccpDialog_searchEditTextTint="@color/custom_editText_tint"
 app:ccpDialog_backgroundColor="@color/custom_dialog_backgroud_color"
 app:ccpDialog_textColor="@color/custom_dialog_text"
 app:ccpDialog_fastScroller_bubbleColor="@color/custom_fastScroller_bubble"
 app:ccpDialog_fastScroller_bubbleTextAppearance="@style/custom_text_appearance"
 app:ccpDialog_fastScroller_handleColor="@color/custom_fastScroller_handle_color"
 app:ccpDialog_showTitle = "false" />
Clone this wiki locally