What is wrong with my AndroidManifest.xml?

后端 未结 1 1681
灰色年华
灰色年华 2021-01-28 18:25

I am trying to develop a basic app to display information in 2 tabs, and from my understanding the info in each tab needs to have its own activity, in addition to the one for th

相关标签:
1条回答
  • 2021-01-28 18:57

    You are defining activities in your activity.

    Try the following code instead:

    <activity android:name=".TabWidget"
                  android:label="@string/app_name"
              android:theme="@android:style/Theme.NoTitleBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
    </activity>
    <activity android:name=".Map" />
    <activity android:name=".Schedule" />
    
    0 讨论(0)
提交回复
热议问题