Skip to content

Commit

Permalink
App now properly uses phone's default ui theme, so the actionbar shou…
Browse files Browse the repository at this point in the history
…ld be seen.
  • Loading branch information
yeriomin committed Jul 20, 2016
1 parent d0bd753 commit b25bcd2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<application
android:allowBackup="false"
android:theme="@style/CustomTheme"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" >
<activity android:name="com.github.yeriomin.dumbphoneassistant.DumbphoneAssistantPreferenceActivity" />
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/menu/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<item
android:id="@+id/menu_settings"
android:orderInCategory="100"
android:showAsAction="always"
android:showAsAction="ifRoom"
android:title="@string/menu_settings"
android:icon="@android:drawable/ic_menu_preferences"/>

Expand Down
9 changes: 0 additions & 9 deletions app/src/main/res/values/style.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CustomTheme" parent="@android:style/Theme">
<item name="android:tabWidgetStyle">@style/CustomTabWidget</item>
</style>
<style name="CustomTabWidget" parent="@android:style/Widget.TabWidget">
<item name="android:textAppearance">@style/CustomTabWidgetText</item>
</style>
<style name="CustomTabWidgetText" parent="@android:style/TextAppearance.Widget.TabWidget">
<item name="android:textSize">24sp</item>
</style>
<dimen name="ImageButtonDim">64dp</dimen>
</resources>

0 comments on commit b25bcd2

Please # to comment.