Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android manifest.xml

I'm working on the Tabs example from Google Android Developers site (http://developer.android.com/resources/tutorials/views/hello-tabwidget.html) but I'm stuck in step 2.

At the very end of step 2 says "Duplicate this for each of the three activities, and add the corresponding tags to the Android Manifest file"

What exactly do I have to add to the AndroidManifest.xml?

Thanks

like image 918
esausilva Avatar asked Dec 21 '22 18:12

esausilva


1 Answers

This is how your Manifest file should be:

    <activity android:name=".ArtistsActivity"
              android:label="@string/app_name" 
              android:theme="@android:style/Theme.NoTitleBar">
    </activity>

    <activity android:name=".SongsActivity"
              android:label="@string/app_name" 
              android:theme="@android:style/Theme.NoTitleBar">
    </activity>

    <activity android:name=".AlbumsActivity"
              android:label="@string/app_name" 
              android:theme="@android:style/Theme.NoTitleBar">
    </activity>

</application>

This will work for sure!!

like image 170
Pa1 Avatar answered Jan 13 '23 03:01

Pa1