CountryCodePickerProject icon indicating copy to clipboard operation
CountryCodePickerProject copied to clipboard

How can i change the coloring of the Pop up dialog

Open veeranath opened this issue 9 years ago • 9 comments

How can i change the coloring of the Pop up dialog ?

veeranath avatar Apr 05 '17 06:04 veeranath

Colors of popup dialog are set from application's theme colors. Changing theme colors will change the color of dialog.

hbb20 avatar Apr 05 '17 07:04 hbb20

i am using Theme.AppCompat.NoActionBar theme then how can i initialization it can i do like this

<com.hbb20.CountryCodePicker android:id="@+id/codepicker" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_weight="1.5" app:textSize="14sp" style="@style/AppTheme"/>

veeranath avatar Apr 05 '17 07:04 veeranath

Specifically what color do you want to change?

hbb20 avatar Apr 05 '17 07:04 hbb20

Done...thanks i had done like the below style name

<item name="android:dialogTheme">@style/CountryDialogbox</item>

veeranath avatar Apr 05 '17 07:04 veeranath

Isnt a way of customizing dialog theme just for cpp dialog and not all my dialogs? @hbb20

mpierucci avatar Sep 08 '17 14:09 mpierucci

Yes.. If you are using latest version (>=2.0.1) then it has options for modifying ccp dialog Colors. Try by adding "ccpDialog_backgroundColor" to CCP's xml. On Fri, 8 Sep 2017 at 09:06, Marco [email protected] wrote:

Isnt a way of customizing dialog theme just for cpp dialog and not all my dialogs?

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/hbb20/CountryCodePickerProject/issues/44#issuecomment-328112445, or mute the thread https://github.com/notifications/unsubscribe-auth/AEsN6E1ZCcJwr98uUei9PEMopLoTwa9Aks5sgUnXgaJpZM4Mz0wW .

hbb20 avatar Sep 08 '17 14:09 hbb20

@hbb20 Yes sorry I saw that later and forgot to update the question. Thanks!! Last one, can I make the dialog go full screen?

mpierucci avatar Sep 08 '17 17:09 mpierucci

For such quick and minor switches, it is good to use dialog rather than full activity. This eliminates transitions and user remains in context.

So, we can not make dialog to take up full screen.

On Fri, 8 Sep 2017 at 12:38, Marco [email protected] wrote:

@hbb20 https://github.com/hbb20 Yes sorry I saw that later and forgot to update the question. Thanks!! Last one, can I make the dialog go full screen?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/hbb20/CountryCodePickerProject/issues/44#issuecomment-328167950, or mute the thread https://github.com/notifications/unsubscribe-auth/AEsN6ALlkMD1omegKAl1YUQgPUEzrHKHks5sgXuKgaJpZM4Mz0wW .

hbb20 avatar Sep 08 '17 17:09 hbb20

I totally understand you and I think you are correct, sadly I have ti implemented what design request me, thanks any way.

mpierucci avatar Sep 08 '17 19:09 mpierucci