schedule/draft in overflow menu
This commit is contained in:
@@ -349,8 +349,13 @@
|
||||
android:tooltipText="@string/post_visibility"
|
||||
android:src="@drawable/ic_fluent_earth_24_regular"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="0px"
|
||||
android:layout_height="1px"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btn_schedule"
|
||||
android:id="@+id/btn_more"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
@@ -358,14 +363,9 @@
|
||||
android:padding="0px"
|
||||
android:tint="@color/compose_button"
|
||||
android:tintMode="src_in"
|
||||
android:contentDescription="@string/sk_draft_or_schedule"
|
||||
android:tooltipText="@string/sk_draft_or_schedule"
|
||||
android:src="@drawable/ic_fluent_clock_24_selector"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="0px"
|
||||
android:layout_height="1px"
|
||||
android:layout_weight="1"/>
|
||||
android:contentDescription="@string/more_options"
|
||||
android:tooltipText="@string/more_options"
|
||||
android:src="@drawable/ic_fluent_more_vertical_24_regular"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/char_counter"
|
||||
|
||||
5
mastodon/src/main/res/menu/compose_more.xml
Normal file
5
mastodon/src/main/res/menu/compose_more.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/schedule" android:title="@string/sk_schedule_post" android:icon="@drawable/ic_fluent_clock_24_regular" />
|
||||
<item android:id="@+id/draft" android:title="@string/sk_mark_as_draft" android:icon="@drawable/ic_fluent_drafts_24_regular" />
|
||||
</menu>
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/schedule" android:title="@string/sk_schedule" android:icon="@drawable/ic_fluent_clock_24_regular" />
|
||||
<item android:id="@+id/draft" android:title="@string/sk_draft" android:icon="@drawable/ic_fluent_drafts_24_regular" />
|
||||
</menu>
|
||||
@@ -117,6 +117,8 @@
|
||||
<string name="sk_post_scheduled">Post scheduled</string>
|
||||
<string name="sk_scheduled_too_soon_title">Scheduled time is too soon</string>
|
||||
<string name="sk_scheduled_too_soon">Post must be scheduled at least 10 minutes in the future.</string>
|
||||
<string name="sk_save_draft">Save draft?</string>
|
||||
<string name="sk_save_changes">Save changes?</string>
|
||||
<string name="sk_confirm_save_draft">Save draft?</string>
|
||||
<string name="sk_confirm_save_changes">Save changes?</string>
|
||||
<string name="sk_mark_as_draft">Mark as draft</string>
|
||||
<string name="sk_schedule_post">Schedule post</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user