-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
116 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
app/src/main/java/fr/gaulupeau/apps/Poche/ui/ContextMenuItemHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package fr.gaulupeau.apps.Poche.ui; | ||
|
||
import android.app.Activity; | ||
import android.view.MenuItem; | ||
|
||
interface ContextMenuItemHandler { | ||
|
||
boolean handleContextItemSelected(Activity activity, MenuItem item); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<menu xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<item | ||
android:id="@+id/menuArticleMarkAsRead" | ||
android:title="@string/btnMarkRead" /> | ||
<item | ||
android:id="@+id/menuArticleMarkAsUnread" | ||
android:title="@string/btnMarkUnread" | ||
android:visible="false" /> | ||
<item | ||
android:id="@+id/menuArticleFavorite" | ||
android:title="@string/add_to_favorites" /> | ||
<item | ||
android:id="@+id/menuArticleUnfavorite" | ||
android:title="@string/remove_from_favorites" | ||
android:visible="false" /> | ||
<item | ||
android:id="@+id/menuShare" | ||
android:title="@string/menuShare" /> | ||
<item | ||
android:id="@+id/menuChangeTitle" | ||
android:title="@string/menu_changeTitle" /> | ||
<item | ||
android:id="@+id/menuManageTags" | ||
android:title="@string/menu_manageTags" /> | ||
<item | ||
android:id="@+id/menuDelete" | ||
android:title="@string/menuDelete" /> | ||
<item | ||
android:id="@+id/menuOpenOriginal" | ||
android:title="@string/menuOpenOriginal" /> | ||
<item | ||
android:id="@+id/menuCopyOriginalURL" | ||
android:title="@string/menuCopyOriginalURL" /> | ||
<item | ||
android:id="@+id/menuDownloadAsFile" | ||
android:title="@string/menuDownloadAsFile" /> | ||
|
||
</menu> |