I've created a custom component that looks and works similar to the iPhone's
UIPicker. For a single wheel, I used an excellent solution available from
this project: http://code.google.com/p/android-wheel/ (although I trimmed it
down and added a couple of features). What I wanted to do is to create a
single component that could be very easily placed in any layout, like so:

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";

android:id="@+id/layout"

    android:orientation="vertical"

    android:layout_width="fill_parent"

    android:layout_height="fill_parent"

    >

<com.test.Meter

android:layout_width="fill_parent"

    android:layout_height="wrap_content"

    android:gravity="center_vertical|center_horizontal"

/>

</LinearLayout>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to