fix draft/schedule view for large display sizes

cc @LucasGGamerM
see 77e19b4d6f
This commit is contained in:
sk 2023-10-13 13:39:51 +02:00
parent 4d49b10585
commit 6a65edd089
1 changed files with 33 additions and 29 deletions

View File

@ -390,13 +390,19 @@
android:gravity="center_vertical"
android:visibility="gone"
android:minHeight="48dp"
android:paddingVertical="4dp">
android:paddingVertical="6dp">
<org.joinmastodon.android.ui.views.AutoOrientationLinearLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content">
<TextView
android:id="@+id/schedule_draft_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:layout_marginHorizontal="6dp"
android:layout_marginVertical="2dp"
android:ellipsize="end"
android:drawableStart="@drawable/ic_fluent_drafts_20_regular"
android:drawableTint="?android:textColorSecondary"
@ -408,7 +414,8 @@
style="@style/Widget.Mastodon.M3.Button.Outlined.Icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginStart="6dp"
android:layout_marginVertical="2dp"
android:gravity="center"
android:textSize="14sp"
android:textColor="?android:textColorSecondary"
@ -417,10 +424,7 @@
android:drawableTint="?android:textColorSecondary"
tools:text="Dec 12, 2021, 12:42 PM"/>
<Space
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1" />
</org.joinmastodon.android.ui.views.AutoOrientationLinearLayout>
<ImageButton
android:id="@+id/schedule_draft_dismiss"