Tuesday, February 18, 2014

As to what this situation?


Use alertdialog create dialog. Code:
 new AlertDialog.Builder (this) 
. SetTitle ("Change Password")
. SetMessage ("Do you really want to change the password right?")
. SetPositiveButton ("OK", new DialogInterface.OnClickListener () {

public void onClick (DialogInterface arg0, int arg1) {
/ / TODO Auto-generated method stub

}
})
. SetNegativeButton ("Cancel", new DialogInterface.OnClickListener () {

public void onClick (DialogInterface arg0, int arg1) {
/ / TODO Auto-generated method stub

}
.}) Show ();

I see someone else's app on my phone operating results Figure:

So, Google's default styles look good
4.0But my app is running is the case, the following figure:

So ugly, I used 4.0,4.1.2,4.2.0 have compiled a result, out of a kind, are so ugly
Very depressed, you ask you encountered in the development of such a situation it? Who knows why so?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Manifest in android: targetSdkVersion = "14" Try
Reply:
How many different versions of the system will be different from the interface. . .
Reply:
reference to the second floor qingqing_benniu reply:
system is not the same version of the interface will differ much. . .

The same code is running on my phone ah
Reply:
cited a floor tantahe reply:
Manifest in android: targetSdkVersion = "14" try

Tried, useless
Reply:
Top that someone encountered such a situation?
Reply:
Use someone else's program theme is holo_light, you is dark
Reply:
reference to the 6th floor iltgcl reply:
program uses someone else's theme is holo_light, you is dark

Thank you very much, this question asked a lot of people can not solve
Reply:
reference to the 6th floor iltgcl reply:
program uses someone else's theme is holo_light, you is dark

This changed after the project is that how to create it?
Reply:
I just happened to have encountered this problem, if lz solve the case, remember also reply to me. .
Reply:
reference to the 9th floor mimixi666 reply:
I just have encountered this problem, if lz solve the case, remember to also reply to me. .


Reply:
reference to the 10th floor brucewuu123 reply:
Quote: references to the 9th floor mimixi666 reply:

I just happened to have encountered this problem, if lz solve the case, remember also reply to me. .


Theme: none
Reply:
Results posted ah!

No comments:

Post a Comment