Click here to Skip to main content
15,884,177 members
Articles / Mobile Apps / Android

Drawing in Android

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
29 Nov 2012CPOL10 min read 30.5K   965   13  
2D Drawing in Android
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >
    <Button
        android:id="@+id/addBtn"
        android:text="Add New Transform"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:onClick="addItems"/>
    <CheckBox android:text="Translate to center" android:id="@+id/checkBoxTranslateToCenter" android:layout_width="wrap_content" android:layout_height="wrap_content"></CheckBox>
    <CheckBox android:text="Oval out transform" android:id="@+id/checkBoxOvalOutTransform" android:layout_width="wrap_content" android:layout_height="wrap_content"></CheckBox>
    <ListView
        android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:drawSelectorOnTop="false"
    />
</LinearLayout>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Belgium Belgium
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions