Skip to content

Commit

Permalink
fix ActionBar error
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Jan 8, 2016
1 parent 4b7d8d5 commit 6cc5959
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
20 changes: 11 additions & 9 deletions AIMSICD/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,18 @@
android:name=".AppAIMSICD">

<activity
android:name=".AIMSICD"
android:exported="true"
android:label="@string/app_name_short"
android:configChanges="keyboardHidden|screenLayout|screenSize|orientation">
android:name=".AIMSICD"
android:configChanges="keyboardHidden|screenLayout|screenSize|orientation"
android:exported="true"
android:label="@string/app_name_short"
android:theme="@style/Theme.AIMSICD.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.intent.action.DELETE"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.DEVELOPMENT_PREFERENCE"/>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.DELETE" />

<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
</intent-filter>
</activity>

Expand Down
7 changes: 6 additions & 1 deletion AIMSICD/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

<resources>

<style name="AppTheme" parent="Theme.AppCompat.NoActionBar">
<style name="AppTheme" parent="Theme.AppCompat">
<item name="colorAccent">@color/green_text</item>
</style>

<style name="Theme.AIMSICD.NoActionBar" parent="AppTheme">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>

</resources>

0 comments on commit 6cc5959

Please sign in to comment.