4. Change ActionBarActivity in every activity class to Activity and remove the import statement that imports ActionBarActivity. The shortcut for this in Android Studio is Ctrl+Alt+O. 5. xml files, replace app:showAsAction with android:showAsAction. For example, replace app:showAsAction="never" with android:showAsAction="never" 6.
It should be landscape. Now, try running another application and then switch back to the ActivityDemo application. Check the messages printed in Logcat. Note that when you create a new application using Android Studio, the activity class may not extend Activity but ActionBarActivity. 0 Android devices. 0 Android devices, you can replace ActionBarActivity with Activity. Changing the Application Icon If you do not like the application icon you have chosen, you can easily change it by following these steps.