0

Hi,

I want to change the color of the dialog box divider from blue to the other color but I don't want to use the custom dialog is there any way to change that color by the programatically.

Here is my code of dialog box:

ibtnserviceswebapp.setOnClickListener(new OnClickListener() {

        @Override
        public void onClick(View v) {
            // TODO Auto-generated method stub

            final Dialog dialog = new Dialog(Services.this);
            dialog.setContentView(R.layout.webapp);
            dialog.setTitle( Html.fromHtml("<font color='#34A8C8'>WEBSITES & APPS</font>"));


            TextView tvwebapp = (TextView) dialog.findViewById(R.id.tvwebapp);

            Typeface typeFace1 =  Typeface.createFromAsset(getAssets(),"fonts/antennalight.ttf");
            tvwebapp.setTypeface(typeFace1);

            dialog.show();

        }
    });

I have changed the title color but now I want to change the divider color, please help me, thank you.

Angel
  • 906
  • 8
  • 16
akky777
  • 423
  • 2
  • 6
  • 23

0 Answers0