

(Yes, seven times.) Then press the Back button to return to the Settings list. In the About list, tap the Build Number item seven times. If your Android device runs version 4.2 or higher, choose Settings → About. If your Android device runs version 4.0, 4.0.3, or 4.1, choose Settings → Developer Options.

Change the layout_width attribute of the TextView to wrap_content. Here are two options for you : Adding TextView and Button on a single row.

And it was not able to display the Button. The problem was you were setting android:layout_width="fill_parent" for the TextView, so it took full screen width just for displaying the TextView. If you have more errors after that, try to re-import the project in Android Studio. Then pick the module (its normally app or something like that). Choose Android Application from the pop-up menu. Click Run on the menu and then Edit Configurations then click on Android Application on the left and click the + button.
