Python Cheatsheets
http://refcardz.dzone.com/refcardz/core-python
http://rgruet.free.fr/
Learn Python in 10 minutes
http://www.stavros.io/tutorials/python/
https://leanpub.com/learn-python
/* | |
* ATTENTION: | |
* | |
* This layout is now maintained in the `iosched' code.google.com project: | |
* | |
* http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/widget/DashboardLayout.java | |
* | |
*/ | |
/* |
import android.content.Context; | |
import android.util.TypedValue; | |
public class Util { | |
public static int dp(Context context, int size) { | |
return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, | |
size, | |
context.getResources().getDisplayMetrics()); | |
} | |
} |
import android.content.Intent; | |
import com.actionbarsherlock.app.SherlockFragment; | |
import java.util.Iterator; | |
import java.util.LinkedList; | |
import java.util.List; | |
/** | |
* Created with Intellij with Android, BIZZBY product. |
public class MLRoundedImageView extends ImageView { | |
public MLRoundedImageView(Context context) { | |
super(context); | |
} | |
public MLRoundedImageView(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
} |
<?xml version="1.0" encoding="utf-8"?> | |
<manifest | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
package="hzqtc.flowlayout" | |
android:versionCode="1" | |
android:versionName="1.0"> | |
<uses-sdk | |
android:minSdkVersion="14" | |
android:targetSdkVersion="19"/> |
Python Cheatsheets
http://refcardz.dzone.com/refcardz/core-python
http://rgruet.free.fr/
Learn Python in 10 minutes
http://www.stavros.io/tutorials/python/
https://leanpub.com/learn-python