fix draft/schedule view for large display sizes
cc @LucasGGamerM
see 77e19b4d6f
This commit is contained in:
parent
4d49b10585
commit
6a65edd089
|
@ -390,13 +390,19 @@
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:minHeight="48dp"
|
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
|
<TextView
|
||||||
android:id="@+id/schedule_draft_text"
|
android:id="@+id/schedule_draft_text"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginHorizontal="6dp"
|
||||||
|
android:layout_marginVertical="2dp"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:drawableStart="@drawable/ic_fluent_drafts_20_regular"
|
android:drawableStart="@drawable/ic_fluent_drafts_20_regular"
|
||||||
android:drawableTint="?android:textColorSecondary"
|
android:drawableTint="?android:textColorSecondary"
|
||||||
|
@ -408,7 +414,8 @@
|
||||||
style="@style/Widget.Mastodon.M3.Button.Outlined.Icon"
|
style="@style/Widget.Mastodon.M3.Button.Outlined.Icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="6dp"
|
||||||
|
android:layout_marginVertical="2dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
|
@ -417,10 +424,7 @@
|
||||||
android:drawableTint="?android:textColorSecondary"
|
android:drawableTint="?android:textColorSecondary"
|
||||||
tools:text="Dec 12, 2021, 12:42 PM"/>
|
tools:text="Dec 12, 2021, 12:42 PM"/>
|
||||||
|
|
||||||
<Space
|
</org.joinmastodon.android.ui.views.AutoOrientationLinearLayout>
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/schedule_draft_dismiss"
|
android:id="@+id/schedule_draft_dismiss"
|
||||||
|
|
Loading…
Reference in New Issue