<item name="android:textSize">30sp</item>
rowCount columnCount layout_row layout_column layout_columnSpan layout_rowSpanIn a Spinner widget, how do you add entries to the spinner?
<array name="grades"> <item>Grade 9</item> <item>Grade 10</item> <item>Grade 11</item> item>Grade 12</item> </array>Then assign grades to the entries attribute of the spinner:
android:entries="@string/grades"
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">Change them to
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<item name="textSize">40dp</item>
app:layout_constraintBottom_toBottomOf app:layout_constraintEnd_toEndOf app:layout_constraintStart_toStartOf app:layout_constraintTop_toTopOf app:layout_constraintHorizontal_bias app:layout_constraintVertical_bias
// Set up array list. ArrayList<Integer> arrList = new ArrayList<Integer>( ); for(int n = 1001; n <= 1005; n++) { arrList.add(n); } // Set up array adapter. ArrayAdapter<Integer> adapter = new ArrayAdapter<Integer>( this, android.R.layout.simple_list_item_1, arrList); spinner1.setAdapter(adapter);