Skip to content

Commit

Permalink
Set Material Design based theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Iktwo committed Oct 24, 2014
1 parent 18c8504 commit d88daf7
Show file tree
Hide file tree
Showing 3 changed files with 1,597 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<manifest package="com.iktwo.musicgear" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.9.8" android:versionCode="22" android:installLocation="auto">
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="Musicgear" android:icon="@drawable/icon">
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="Musicgear" android:icon="@drawable/icon" android:theme="@style/AppTheme">
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="com.iktwo.musicgear.MusicGear" android:label="Musicgear" android:screenOrientation="unspecified" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
Expand Down Expand Up @@ -34,7 +34,7 @@
<!-- Splash screen -->
</activity>
</application>
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="20"/>
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21"/>
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>

<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Expand Down
10 changes: 10 additions & 0 deletions android/res/values-v21/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<resources>
<!-- inherit from the material theme -->
<style name="AppTheme" parent="android:Theme.Material">
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<item name="android:colorPrimary">#0066CC</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">#005CB8</item>
</style>
</resources>
Loading

0 comments on commit d88daf7

Please sign in to comment.