Android Dialog Look and Feel -


had

My Samsung Galeksitiab after you apply the latest update to 10.1, I have dialogues created in code "new". I assumed that this was a Samsung skin, and I can not do much about it (honestly, I thought I should not override by default, anyway).

Update:

  • Android Version 3.1
  • Kernel Version 2.6.36.3 se.infra@SEP-63 # 1
  • Build number HMJ37.UEKME P7510UEKME

    However, I noticed that still communicate back style in Android Market app (these are thin separator between the blue lines at the top, and buttons).

    Leads me to two questions:

    1. Programmatic, does the option to avoid any skin or changes that were included / is? Eg, default for the original? Or, do I need to set my own style for this?

    2. Do you think we should use skin or not? When I know that this is the opinion, then it has been expanded in the form of Android developers, it seems that one of the many fragmentation issues working with us, and I am curious about the expectations of others.

      I'm making a Daylogfrgment

        return  onCreateDialog  dialog new AlertDialog.Builder (getActivity ()) .setTitle (GetString (R.string.AddMetTitle)) .setView (v) .setPositiveButton (android.R.string.ok, new DialogInterface.OnClickListener () {public void onClick (DialogInterface communicate Int whichButton) {// some things do - deleted}}) .setNegativeButton (android.R.string.cancel, new DialogInterface.OnClickListener () {public void onClick (DialogInterface communicate, whichButton int) {// discarded}}). Surge ();    

      You can drag the default dialog resources out layout and drawables its SDK in folders Platform / {OS version} folder. If you include these resources in your application and use your communications, the dialogue will end up in the same kind of search on every device. As long as you have your own supply (even though only copies of "your own" default) resources I do not think that what you do is because there is no control over different devices will look like different skins. < / P>

      EDIT: Here are some of the resources I'm not sure if all these people are required to show you fully inflated though it


Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -