add some style and icons

This commit is contained in:
tibbi 2016-06-01 22:29:50 +02:00
parent c2d081499d
commit 6533e0698b
11 changed files with 10 additions and 8 deletions

View File

@ -53,7 +53,7 @@ public class MyWidgetConfigure extends AppCompatActivity {
bgColor = prefs.getInt(Constants.WIDGET_BG_COLOR, 1);
if (bgColor == 1) {
bgColor = Color.BLACK;
bgAlpha = .5f;
bgAlpha = .2f;
} else {
bgAlpha = Color.alpha(bgColor) / (float) 255;
}
@ -63,7 +63,7 @@ public class MyWidgetConfigure extends AppCompatActivity {
bgSeekBar.setProgress((int) (bgAlpha * 100));
updateBackgroundColor();
textColor = prefs.getInt(Constants.WIDGET_TEXT_COLOR, Color.WHITE);
textColor = prefs.getInt(Constants.WIDGET_TEXT_COLOR, getResources().getColor(R.color.colorPrimary));
updateTextColor();
}

View File

@ -57,6 +57,7 @@
android:layout_alignBottom="@+id/config_text_color"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/config_text_color"
android:fontFamily="sans-serif-light"
android:paddingLeft="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin"
android:text="OK"

View File

@ -3,9 +3,9 @@
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/save"
android:icon="@mipmap/check"
android:title="Save"
app:showAsAction="always"/>
android:icon="@mipmap/save"
android:title="@string/save"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/about"
android:title="@string/about"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
<color name="colorPrimary">#ffff6f00</color>
<color name="colorPrimaryDark">#ffe46300</color>
<color name="colorAccent">@color/colorPrimary</color>
<color name="dark_grey">#88000000</color>
</resources>

View File

@ -1,6 +1,7 @@
<resources>
<string name="app_name">Simple Notes</string>
<string name="widget_config">Thank you for using Simple Notes.\nFor more simple apps please visit SimpleMobileTools.com.\n</string>
<string name="save">Save</string>
<!-- About -->
<string name="about">About</string>