Fixes a few content descriptions and re-titles the Drafts page.

This commit is contained in:
Vavassor 2017-07-18 22:32:13 -04:00
parent afcf7f0346
commit a9c90171a3
4 changed files with 4 additions and 4 deletions

View File

@ -1134,13 +1134,13 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
view.setLayoutParams(layoutParams);
view.setScaleType(ImageView.ScaleType.CENTER_CROP);
view.setImageBitmap(preview);
view.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
removeMediaFromQueue(item);
}
});
view.setContentDescription(getString(R.string.action_delete));
mediaPreviewBar.addView(view);
mediaQueued.add(item);
int queuedCount = mediaQueued.size();

View File

@ -41,7 +41,7 @@
android:layout_marginTop="8dp"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?android:attr/listDivider"/>
android:background="?android:attr/listDivider" />
</LinearLayout>

View File

@ -20,7 +20,7 @@
android:layout_gravity="center_vertical"
android:padding="16dp"
android:layout_margin="16dp"
android:contentDescription="@string/action_unmute"
android:contentDescription="@string/action_delete"
app:srcCompat="@drawable/ic_clear_24dp" />
</LinearLayout>

View File

@ -32,7 +32,7 @@
<string name="title_blocks">Blocked users</string>
<string name="title_follow_requests">Follow Requests</string>
<string name="title_edit_profile">Edit your profile</string>
<string name="title_saved_toot">Saved Toot</string>
<string name="title_saved_toot">Drafts</string>
<string name="status_username_format">\@%s</string>
<string name="status_boosted_format">%s boosted</string>