mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-02-05 16:47:51 +01:00
add some style and icons
This commit is contained in:
parent
c2d081499d
commit
6533e0698b
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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 |
BIN
app/src/main/res/mipmap-hdpi/save.png
Normal file
BIN
app/src/main/res/mipmap-hdpi/save.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 247 B |
BIN
app/src/main/res/mipmap-mdpi/save.png
Normal file
BIN
app/src/main/res/mipmap-mdpi/save.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 168 B |
BIN
app/src/main/res/mipmap-xhdpi/save.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/save.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 273 B |
BIN
app/src/main/res/mipmap-xxhdpi/save.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/save.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 391 B |
BIN
app/src/main/res/mipmap-xxxhdpi/save.png
Normal file
BIN
app/src/main/res/mipmap-xxxhdpi/save.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 504 B |
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user