further menu-related fixes

remove mangled unicode ellipsis in articlefragment
This commit is contained in:
Andrew Dolgov 2013-04-16 10:48:09 +04:00
parent 2bdcdae44f
commit 0e744d41ba
3 changed files with 13 additions and 11 deletions

View File

@ -22,15 +22,16 @@
android:icon="@drawable/ic_list_light"
android:showAsAction="ifRoom"
android:title="@string/menu_all_feeds"/>
<item
android:id="@+id/go_offline"
android:icon="@drawable/ic_cloud_light"
android:showAsAction="ifRoom"
android:title="@string/go_offline"/>
<item
android:id="@+id/update_feeds"
android:icon="@drawable/ic_refresh_light"
android:showAsAction="ifRoom"
android:title="@string/update_feeds"/>
<item
android:id="@+id/go_offline"
android:showAsAction=""
android:title="@string/go_offline"/>
<item
android:id="@+id/logout"
android:showAsAction=""
@ -96,11 +97,6 @@
android:title="@string/selection_select_none"/>
</group>
<group android:id="@+id/menu_group_article" >
<item
android:id="@+id/toggle_attachments"
android:icon="@drawable/ic_menu_attaches"
android:showAsAction="ifRoom"
android:title="@string/attachments_prompt"/>
<item
android:id="@+id/toggle_marked"
android:icon="@drawable/ic_menu_marked"
@ -122,12 +118,17 @@
android:icon="@drawable/ic_undo_light"
android:showAsAction="ifRoom"
android:title="@string/article_set_unread"/>
<item
android:id="@+id/toggle_attachments"
android:icon="@drawable/ic_menu_attaches"
android:showAsAction="ifRoom"
android:title="@string/attachments_prompt"/>
<item
android:id="@+id/catchup_above"
android:title="@string/article_mark_read_above"/>
<item
android:id="@+id/set_labels"
android:showAsAction="ifRoom"
android:showAsAction=""
android:icon="@drawable/ic_labels_light"
android:title="@string/article_set_labels"/>
<item

View File

@ -4,6 +4,7 @@
<item
android:id="@+id/go_online"
android:showAsAction="ifRoom|withText"
android:icon="@drawable/ic_cloud_light"
android:title="@string/go_online"
android:visible="false"/>

View File

@ -110,7 +110,7 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl
String titleStr;
if (m_article.title.length() > 200)
titleStr = m_article.title.substring(0, 200) + "<EFBFBD>";
titleStr = m_article.title.substring(0, 200) + "...";
else
titleStr = m_article.title;