Public class MainActivity extends AppCompatActivity ĪrrayAdapter arrayAdapter = new ArrayAdapter(this,ĪtDropDownViewResource(R.layout.spinner_list) Step 3 − Add the following code to src/MainActivity.java import 7.app.AppCompatActivity Step 2 − Add the following code to res/layout/activity_main.xml. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. This example demonstrates how do I change the spinner textSize and textColor in android.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |