Saturday, October 8, 2011

Prettify added

Just testing google's prettify to format source code.
@Deprecated
public class Foo {

    // comment
    private String bar;
    private float primitive;

    public Foo(String bar) {
        this.bar = "foo" + bar;
    }
}
 <TableLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    … />
Kudos to this post on how to add prettify to Blogger. The colors I use is in the source code of this page. The idea was to make it look like eclipse standard color theme.

No comments:

Post a Comment