From e80845bc93018cf65468c35fa9e464fc12360276 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Tue, 24 Apr 2012 12:08:49 -0400 Subject: [PATCH] Enable use of keyboard to set number of dice closes #14 Signed-off-by: Ricky Barrette --- .../src/com/TwentyCode/android/ExaltedDice/ExaltedDice.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/ExaltedDice.java b/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/ExaltedDice.java index 6715a92..c047a3e 100755 --- a/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/ExaltedDice.java +++ b/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/ExaltedDice.java @@ -100,7 +100,6 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic mCompatNumberPicker = (com.TwentyCode.android.ExaltedDice.NumberPicker) findViewById(R.id.number_Picker); mCompatNumberPicker.setRange(1, 999); - mCompatNumberPicker.setDescendantFocusability(NumberPicker.FOCUS_BLOCK_DESCENDANTS); mCompatModPicker = (com.TwentyCode.android.ExaltedDice.NumberPicker) findViewById(R.id.mod_Picker); mCompatModPicker.setDisplayedValues(mModValues); @@ -121,7 +120,6 @@ public class ExaltedDice extends Activity implements OnClickListener, OnItemClic mNumberPicker = (NumberPicker) findViewById(R.id.number_Picker); mNumberPicker.setMaxValue(999); mNumberPicker.setMinValue(1); - mNumberPicker.setDescendantFocusability(NumberPicker.FOCUS_BLOCK_DESCENDANTS); mModPicker = (NumberPicker) findViewById(R.id.mod_Picker); mModPicker.setMinValue(0);