Added custom number picker for api < 11 compatibility

Extracted number picker (non public) from older android source and
included it into this project to remain compatible with devices api
level < 11. Devices api level > 11 will use native number pickers as the
are public facing in the sdk

Change-Id: I7cf7cba066b25516e90bd9951f4de7964b7fd613
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-02-11 12:30:12 -05:00
parent 3ee566c488
commit 3102d485db
27 changed files with 958 additions and 125 deletions

View File

@@ -4,19 +4,17 @@
android:layout_height="wrap_content"
android:orientation="horizontal" >
<NumberPicker
<com.TwentyCode.android.ExaltedDice.NumberPicker
android:id="@+id/number_Picker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="20dip" />
android:layout_height="wrap_content" />
<NumberPicker
<com.TwentyCode.android.ExaltedDice.NumberPicker
android:id="@+id/d_Picker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="20dip" />
android:layout_height="wrap_content" />
<NumberPicker
<com.TwentyCode.android.ExaltedDice.NumberPicker
android:id="@+id/mod_Picker"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />