Fixes a few content descriptions and re-titles the Drafts page.
This commit is contained in:
parent
e42811a1ba
commit
51e2b7c949
|
@ -1134,13 +1134,13 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
|
||||||
view.setLayoutParams(layoutParams);
|
view.setLayoutParams(layoutParams);
|
||||||
view.setScaleType(ImageView.ScaleType.CENTER_CROP);
|
view.setScaleType(ImageView.ScaleType.CENTER_CROP);
|
||||||
view.setImageBitmap(preview);
|
view.setImageBitmap(preview);
|
||||||
|
|
||||||
view.setOnClickListener(new View.OnClickListener() {
|
view.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
removeMediaFromQueue(item);
|
removeMediaFromQueue(item);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
view.setContentDescription(getString(R.string.action_delete));
|
||||||
mediaPreviewBar.addView(view);
|
mediaPreviewBar.addView(view);
|
||||||
mediaQueued.add(item);
|
mediaQueued.add(item);
|
||||||
int queuedCount = mediaQueued.size();
|
int queuedCount = mediaQueued.size();
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:padding="16dp"
|
android:padding="16dp"
|
||||||
android:layout_margin="16dp"
|
android:layout_margin="16dp"
|
||||||
android:contentDescription="@string/action_unmute"
|
android:contentDescription="@string/action_delete"
|
||||||
app:srcCompat="@drawable/ic_clear_24dp" />
|
app:srcCompat="@drawable/ic_clear_24dp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
|
@ -32,7 +32,7 @@
|
||||||
<string name="title_blocks">Blocked users</string>
|
<string name="title_blocks">Blocked users</string>
|
||||||
<string name="title_follow_requests">Follow Requests</string>
|
<string name="title_follow_requests">Follow Requests</string>
|
||||||
<string name="title_edit_profile">Edit your profile</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_username_format">\@%s</string>
|
||||||
<string name="status_boosted_format">%s boosted</string>
|
<string name="status_boosted_format">%s boosted</string>
|
||||||
|
|
Loading…
Reference in New Issue