Adjusts the media label alignment in statuses.

main
Vavassor 8 years ago
parent 875b2eb4af
commit 40c287937f
  1. 2
      app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java
  2. 4
      app/src/main/res/layout/item_status.xml

@ -444,7 +444,7 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
} }
private void doErrorDialog(@StringRes int descriptionId, @StringRes int actionId, private void doErrorDialog(@StringRes int descriptionId, @StringRes int actionId,
View.OnClickListener listener) { View.OnClickListener listener) {
Snackbar bar = Snackbar.make(findViewById(R.id.activity_compose), getString(descriptionId), Snackbar bar = Snackbar.make(findViewById(R.id.activity_compose), getString(descriptionId),
Snackbar.LENGTH_SHORT); Snackbar.LENGTH_SHORT);
bar.setAction(actionId, listener); bar.setAction(actionId, listener);

@ -240,7 +240,9 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/status_media_label" android:id="@+id/status_media_label"
android:visibility="gone" /> android:visibility="gone"
android:gravity="center_vertical"
android:includeFontPadding="false" />
</FrameLayout> </FrameLayout>

Loading…
Cancel
Save