mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-04-13 15:02:05 +02: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);
|
bgColor = prefs.getInt(Constants.WIDGET_BG_COLOR, 1);
|
||||||
if (bgColor == 1) {
|
if (bgColor == 1) {
|
||||||
bgColor = Color.BLACK;
|
bgColor = Color.BLACK;
|
||||||
bgAlpha = .5f;
|
bgAlpha = .2f;
|
||||||
} else {
|
} else {
|
||||||
bgAlpha = Color.alpha(bgColor) / (float) 255;
|
bgAlpha = Color.alpha(bgColor) / (float) 255;
|
||||||
}
|
}
|
||||||
@ -63,7 +63,7 @@ public class MyWidgetConfigure extends AppCompatActivity {
|
|||||||
bgSeekBar.setProgress((int) (bgAlpha * 100));
|
bgSeekBar.setProgress((int) (bgAlpha * 100));
|
||||||
updateBackgroundColor();
|
updateBackgroundColor();
|
||||||
|
|
||||||
textColor = prefs.getInt(Constants.WIDGET_TEXT_COLOR, Color.WHITE);
|
textColor = prefs.getInt(Constants.WIDGET_TEXT_COLOR, getResources().getColor(R.color.colorPrimary));
|
||||||
updateTextColor();
|
updateTextColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,6 +57,7 @@
|
|||||||
android:layout_alignBottom="@+id/config_text_color"
|
android:layout_alignBottom="@+id/config_text_color"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_alignTop="@+id/config_text_color"
|
android:layout_alignTop="@+id/config_text_color"
|
||||||
|
android:fontFamily="sans-serif-light"
|
||||||
android:paddingLeft="@dimen/activity_margin"
|
android:paddingLeft="@dimen/activity_margin"
|
||||||
android:paddingRight="@dimen/activity_margin"
|
android:paddingRight="@dimen/activity_margin"
|
||||||
android:text="OK"
|
android:text="OK"
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
<item
|
<item
|
||||||
android:id="@+id/save"
|
android:id="@+id/save"
|
||||||
android:icon="@mipmap/check"
|
android:icon="@mipmap/save"
|
||||||
android:title="Save"
|
android:title="@string/save"
|
||||||
app:showAsAction="always"/>
|
app:showAsAction="ifRoom"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/about"
|
android:id="@+id/about"
|
||||||
android:title="@string/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"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="colorPrimary">#3F51B5</color>
|
<color name="colorPrimary">#ffff6f00</color>
|
||||||
<color name="colorPrimaryDark">#303F9F</color>
|
<color name="colorPrimaryDark">#ffe46300</color>
|
||||||
<color name="colorAccent">#FF4081</color>
|
<color name="colorAccent">@color/colorPrimary</color>
|
||||||
<color name="dark_grey">#88000000</color>
|
<color name="dark_grey">#88000000</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Simple Notes</string>
|
<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="widget_config">Thank you for using Simple Notes.\nFor more simple apps please visit SimpleMobileTools.com.\n</string>
|
||||||
|
<string name="save">Save</string>
|
||||||
|
|
||||||
<!-- About -->
|
<!-- About -->
|
||||||
<string name="about">About</string>
|
<string name="about">About</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user