Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Color palette for UI and launcher icon adjusted. NavigationBar is now…
Browse files Browse the repository at this point in the history
… tinted red on Android 5 and higher.
  • Loading branch information
y20k committed Dec 21, 2015
1 parent b872bb0 commit dfd82fd
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 25 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "org.y20k.transistor"
minSdkVersion 19
targetSdkVersion 23
versionCode 10
versionName "1.1.1 (Running Gun Blues)"
versionCode 11
versionName "1.1.2 (Running Gun Blues)"
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.y20k.transistor"
android:versionCode="10"
android:versionName="1.1.1 (Running Gun Blues)">
android:versionCode="11"
android:versionName="1.1.2 (Running Gun Blues)">

<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="23" />

Expand Down
Binary file modified app/src/main/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_player.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/transistor_grey_dark_warm"
android:background="@color/transistor_grey_dark"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
Expand Down
Binary file modified app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions app/src/main/res/values-v21/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<!-- Base application theme -->
<style name="TransistorAppTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">

<!-- Set AppCompat’s colors -->
<item name="colorPrimary">@color/transistor_red</item>
<item name="colorPrimaryDark">@color/transistor_red_dark</item>
<item name="android:navigationBarColor">@color/transistor_red</item>

</style>
</resources>
31 changes: 11 additions & 20 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- red -->
<color name="transistor_red">#FFCC0000</color>
<color name="transistor_red_light">#FFE63939</color>
<color name="transistor_red_dark">#FF990000</color>
<color name="transistor_red_darker">#FF850000</color>

<!-- gold -->
<color name="transistor_gold">#FFCC9933</color>
<color name="transistor_gold_light">#FFE6BA64</color>
<color name="transistor_gold_lighter">#FFE6C687</color>
<color name="transistor_gold_dark">#FF855E11</color>
<color name="transistor_red">#FFE53935</color>
<color name="transistor_red_dark">#FFB71C1C</color>

<color name="transistor_grey">#FF99918A</color>
<color name="transistor_grey_light">#FFBFBBB8</color>
<color name="transistor_grey_lighter">#FFDDDBD9</color>
<color name="transistor_grey_dark">#FF2C2926</color>

<!-- grey -->
<color name="transistor_grey">#FF999999</color>
<color name="transistor_grey_light">#FFB3B3B3</color>
<color name="transistor_grey_lighter">#FFD8D8D8</color>
<color name="transistor_grey_dark">#FF333333</color>
<color name="transistor_grey_dark_warm">#FF2C2926</color>
<color name="transistor_gold">#FFE6C687</color>
<color name="transistor_gold_light">#FFE6BA64</color>
<color name="transistor_gold_dark">#FFCC9933</color>

<!-- misc -->
<color name="transistor_white">#FFFFFFFF</color>
<color name="transistor_black">#FF000000</color>
<color name="transistor_red_led">#FF990000</color>
<color name="transistor_green_led">#FF3AAA35</color>

</resources>

0 comments on commit dfd82fd

Please sign in to comment.