From 18eebe9b4eac4ac15d7e5ea552e614dc5a450be7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Apr 2013 13:04:28 +0400 Subject: resize own icons, add share icon --- res/drawable-hdpi/ic_menu_attaches_light.png | Bin 1543 -> 1461 bytes res/drawable-hdpi/ic_share_light.png | Bin 0 -> 1606 bytes res/drawable-xhdpi/ic_menu_attaches_light.png | Bin 2098 -> 1873 bytes res/drawable-xhdpi/ic_menu_publish_light.png | Bin 1608 -> 1760 bytes res/drawable-xhdpi/ic_share_light.png | Bin 0 -> 1780 bytes res/drawable/s_menu_attaches_light.svg | 20 ++++++++++---------- res/drawable/s_menu_publish_light.svg | 12 ++++++------ res/menu/main_menu.xml | 2 +- res/menu/offline_menu.xml | 2 +- res/values/strings.xml | 2 +- src/org/fox/ttrss/OnlineActivity.java | 8 ++++++-- 11 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 res/drawable-hdpi/ic_share_light.png create mode 100644 res/drawable-xhdpi/ic_share_light.png diff --git a/res/drawable-hdpi/ic_menu_attaches_light.png b/res/drawable-hdpi/ic_menu_attaches_light.png index 962c9d70..8bf8cb78 100644 Binary files a/res/drawable-hdpi/ic_menu_attaches_light.png and b/res/drawable-hdpi/ic_menu_attaches_light.png differ diff --git a/res/drawable-hdpi/ic_share_light.png b/res/drawable-hdpi/ic_share_light.png new file mode 100644 index 00000000..c329f58d Binary files /dev/null and b/res/drawable-hdpi/ic_share_light.png differ diff --git a/res/drawable-xhdpi/ic_menu_attaches_light.png b/res/drawable-xhdpi/ic_menu_attaches_light.png index 03099f58..a3e253fa 100644 Binary files a/res/drawable-xhdpi/ic_menu_attaches_light.png and b/res/drawable-xhdpi/ic_menu_attaches_light.png differ diff --git a/res/drawable-xhdpi/ic_menu_publish_light.png b/res/drawable-xhdpi/ic_menu_publish_light.png index 386b4347..8c82c450 100644 Binary files a/res/drawable-xhdpi/ic_menu_publish_light.png and b/res/drawable-xhdpi/ic_menu_publish_light.png differ diff --git a/res/drawable-xhdpi/ic_share_light.png b/res/drawable-xhdpi/ic_share_light.png new file mode 100644 index 00000000..15549b04 Binary files /dev/null and b/res/drawable-xhdpi/ic_share_light.png differ diff --git a/res/drawable/s_menu_attaches_light.svg b/res/drawable/s_menu_attaches_light.svg index b822729d..0396f73f 100644 --- a/res/drawable/s_menu_attaches_light.svg +++ b/res/drawable/s_menu_attaches_light.svg @@ -14,11 +14,11 @@ height="16.000000px" id="svg2" sodipodi:version="0.32" - inkscape:version="0.48.2 r9819" + inkscape:version="0.48.4 r9939" sodipodi:docname="s_menu_attaches_light.svg" - inkscape:export-filename="C:\Users\fox\workspace\org.fox.ttrss\res\drawable-xhdpi\ic_menu_attaches_light.png" - inkscape:export-xdpi="360" - inkscape:export-ydpi="360" + inkscape:export-filename="C:\Users\fox\workspace\org.fox.ttrss\res\drawable-hdpi\ic_menu_attaches_light.png" + inkscape:export-xdpi="270" + inkscape:export-ydpi="270" version="1.1"> @@ -105,12 +105,12 @@ inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:zoom="22.4" - inkscape:cx="-5.4631567" - inkscape:cy="8.3641285" + inkscape:cx="6.7689862" + inkscape:cy="8.4534142" inkscape:document-units="px" inkscape:current-layer="layer1" - inkscape:window-width="1920" - inkscape:window-height="1138" + inkscape:window-width="1600" + inkscape:window-height="1137" inkscape:window-x="-8" inkscape:window-y="-8" showguides="true" @@ -134,8 +134,8 @@ inkscape:groupmode="layer" id="layer1"> diff --git a/res/drawable/s_menu_publish_light.svg b/res/drawable/s_menu_publish_light.svg index de7bf32c..a0d818e2 100644 --- a/res/drawable/s_menu_publish_light.svg +++ b/res/drawable/s_menu_publish_light.svg @@ -12,11 +12,11 @@ height="16" id="RSSicon" viewBox="0 0 32 32" - inkscape:version="0.48.2 r9819" + inkscape:version="0.48.4 r9939" sodipodi:docname="s_menu_publish_light.svg" inkscape:export-filename="C:\Users\fox\workspace\org.fox.ttrss\res\drawable-xhdpi\ic_menu_publish_light.png" - inkscape:export-xdpi="360" - inkscape:export-ydpi="360"> + inkscape:export-xdpi="475.98999" + inkscape:export-ydpi="475.98999"> @@ -38,8 +38,8 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1138" + inkscape:window-width="1600" + inkscape:window-height="1137" id="namedview32" showgrid="false" inkscape:zoom="23.953242" @@ -107,7 +107,7 @@ diff --git a/res/menu/main_menu.xml b/res/menu/main_menu.xml index 34190322..7d41f16f 100644 --- a/res/menu/main_menu.xml +++ b/res/menu/main_menu.xml @@ -113,7 +113,7 @@ android:title="@string/attachments_prompt"/> diff --git a/res/menu/offline_menu.xml b/res/menu/offline_menu.xml index bc7d3397..a4dbd0f1 100644 --- a/res/menu/offline_menu.xml +++ b/res/menu/offline_menu.xml @@ -63,7 +63,7 @@ (Un)Star (Un)Publish (Un)Read - Set unread + Article set unread Mark above read Optional. Fill this if your tt-rss installation is protected by HTTP Basic authentication Your tt-rss login. Not needed for single user mode diff --git a/src/org/fox/ttrss/OnlineActivity.java b/src/org/fox/ttrss/OnlineActivity.java index 874a6a13..d398843b 100644 --- a/src/org/fox/ttrss/OnlineActivity.java +++ b/src/org/fox/ttrss/OnlineActivity.java @@ -971,7 +971,7 @@ public class OnlineActivity extends CommonActivity { a.unread = true; saveArticleUnread(a); if (hf != null) hf.notifyUpdated(); - if (ap != null) ap.notifyUpdated(); + //if (ap != null) ap.notifyUpdated(); } return true; case R.id.set_labels: @@ -1194,7 +1194,11 @@ public class OnlineActivity extends CommonActivity { @SuppressWarnings({ "unchecked", "serial" }) public void saveArticleUnread(final Article article) { - ApiRequest req = new ApiRequest(getApplicationContext()); + ApiRequest req = new ApiRequest(getApplicationContext()) { + protected void onPostExecute(JsonElement result) { + toast(R.string.article_set_unread); + } + }; HashMap map = new HashMap() { { -- cgit v1.2.3