fix(compose): make 'This post will be saved as a draft' view work better on smaller screens

cc: @sk22
This commit is contained in:
LucasGGamerM 2023-09-20 10:31:59 -03:00 committed by sk
parent 86bfab81bd
commit 4d49b10585
1 changed files with 3 additions and 2 deletions

View File

@ -382,7 +382,7 @@
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
<org.joinmastodon.android.ui.views.AutoOrientationLinearLayout <LinearLayout
android:id="@+id/schedule_draft_view" android:id="@+id/schedule_draft_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -397,6 +397,7 @@
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_marginStart="6dp"
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"
android:drawablePadding="16dp" android:drawablePadding="16dp"
@ -431,7 +432,7 @@
android:tooltipText="@string/sk_compose_no_schedule" android:tooltipText="@string/sk_compose_no_schedule"
android:contentDescription="@string/sk_compose_no_schedule" /> android:contentDescription="@string/sk_compose_no_schedule" />
</org.joinmastodon.android.ui.views.AutoOrientationLinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/bottom_bar" android:id="@+id/bottom_bar"