Enable sharing media directly from Tusky (#852)
* Extract duplicated code into BaseActivity * Migrate MediaUtils to kotlin * Migrate ViewVideoActivity to kotlin * Migrate ViewMediaActivity to kotlin * Initial media sharing functionality * Address code review feedback * Make share icon match * Address code review feedback
This commit is contained in:
parent
ab601c4566
commit
0bca94b94e
18 changed files with 785 additions and 690 deletions
|
@ -6,6 +6,11 @@
|
|||
android:icon="@drawable/ic_file_download_black_24dp"
|
||||
android:title="@string/dialog_download_image"
|
||||
app:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/action_share_media"
|
||||
android:icon="@drawable/ic_menu_share_24dp"
|
||||
android:title="@string/action_share"
|
||||
app:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/action_open_status"
|
||||
android:title="@string/action_open_toot"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue