I'm targeting API level 9.
My main activity's top bar looks like this:
AndroidManifest.xml
looks like this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dabestappsever.bigtext" >
<application
android:allowBackup="true"
android:icon="@drawable/logo"
android:label="@string/app_name">
<activity
android:name="com.dabestappsever.bigtext.MainActivity"
android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
... MORE CODE HERE ...
</application>
</manifest>
res/menu/menu_main.xml
looks like this:
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity">
</menu>
I tried adding @drawable/logo
to the Manifest, but no luck.
How do I add a custom icon with a custom title next to it for my main activity?