Sunday, October 12, 2014

Note

1.Twitter Bootstrap Responsive Background-Image inside Div

background-size:100% auto;


2.Specify the painting area of the background or background only content


div { background-clip: content-box; }


3.NetworkOnMainThreadException:

if (android.os.Build.VERSION.SDK_INT >= 11) {
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy);
}

0 Comments:

Post a Comment