Skip to content

Commit

Permalink
Filter Icon UI Update #3
Browse files Browse the repository at this point in the history
*Replace filter icons with shortcut icons. 
*Update Quick Note widget to use edit note shortcut icon.
  • Loading branch information
rayliverified committed Dec 29, 2017
1 parent 2eb7baf commit 5b9638b
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {
implementation 'me.xdrop:fuzzywuzzy:1.1.9' //https://github.com/xdrop/fuzzywuzzy
implementation 'io.github.yavski:fab-speed-dial:1.0.6' //https://github.com/yavski/fab-speed-dial
implementation 'com.github.angads25:filepicker:1.1.1' //https://github.com/Angads25/android-filepicker
implementation 'com.github.GrenderG:Toasty:1.2.5' //https://github.com/GrenderG/Toasty
implementation 'com.github.GrenderG:Toasty:1.2.8' //https://github.com/GrenderG/Toasty
implementation 'jp.wasabeef:richeditor-android:1.2.2' //https://github.com/wasabeef/richeditor-android
implementation 'com.koushikdutta.ion:ion:2.2.1' //https://github.com/koush/ion
implementation 'com.github.ybq:Android-SpinKit:1.1.0' //https://github.com/ybq/Android-SpinKit
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<!-- Widgets -->
<receiver
android:name=".NewNoteWidget"
android:icon="@drawable/icon_rocket_image_round"
android:icon="@drawable/icon_edit_shortcut"
android:label="•Quick Note•">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/stream/rocketnotes/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public boolean onPrepareMenu(NavigationMenu navigationMenu) {
}

public void FilterImages() {
Filter filter = new Filter(1, "Image", 0, R.drawable.image_picture, ContextCompat.getColor(mContext, R.color.colorPrimary));
Filter filter = new Filter(1, "Image", 0, R.drawable.icon_camera_shortcut, ContextCompat.getColor(mContext, R.color.colorPrimary));
mFilterView.setVisibility(View.VISIBLE);
mFilterView.addFilter(filter);
List<IFlexible> list = new ArrayList<>();
Expand All @@ -395,7 +395,7 @@ public void FilterImages() {
}

public void FilterText() {
Filter filter = new Filter(1, "Text", 0, R.drawable.icon_rocket_image, ContextCompat.getColor(mContext, R.color.colorPrimary));
Filter filter = new Filter(1, "Text", 0, R.drawable.icon_edit_shortcut, ContextCompat.getColor(mContext, R.color.colorPrimary));
mFilterView.setVisibility(View.VISIBLE);
mFilterView.addFilter(filter);
List<IFlexible> list = new ArrayList<>();
Expand Down
Binary file not shown.
Binary file not shown.
Binary file removed app/src/main/res/drawable-nodpi/image_picture.png
Binary file not shown.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/widget_newnote.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/icon_rocket_image_round"
android:src="@drawable/icon_edit_shortcut"
android:scaleType="fitCenter"/>
</LinearLayout>
2 changes: 1 addition & 1 deletion app/src/main/res/xml/widget_newnote.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
android:minHeight="36dp"
android:initialLayout="@layout/widget_newnote"
android:widgetCategory="home_screen|keyguard"
android:previewImage="@drawable/icon_rocket_image_round">
android:previewImage="@drawable/icon_edit_shortcut">
</appwidget-provider>

0 comments on commit 5b9638b

Please sign in to comment.