set reblogs and favs always in one line

This commit is contained in:
sk 2022-11-11 12:54:17 +01:00
parent 03044b86b1
commit 0ad8f926cc
1 changed files with 36 additions and 30 deletions

View File

@ -12,37 +12,43 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<Button <LinearLayout
android:id="@+id/reblogs"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content">
android:gravity="center"
android:padding="8dp"
android:textSize="14sp"
android:minHeight="48dp"
android:textColor="?android:textColorSecondary"
android:background="@drawable/bg_text_button"
android:fontFamily="sans-serif"
android:drawableStart="@drawable/ic_fluent_arrow_repeat_all_20_regular"
android:drawablePadding="8dp"
android:drawableTint="?android:textColorSecondary"
tools:text="4 reblogs"/>
<Button <Button
android:id="@+id/favorites" android:id="@+id/reblogs"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:padding="8dp" android:padding="8dp"
android:textSize="14sp" android:textSize="14sp"
android:minHeight="48dp" android:minHeight="48dp"
android:textColor="?android:textColorSecondary" android:textColor="?android:textColorSecondary"
android:background="@drawable/bg_text_button" android:background="@drawable/bg_text_button"
android:fontFamily="sans-serif" android:fontFamily="sans-serif"
android:drawableStart="@drawable/ic_fluent_star_20_regular" android:drawableStart="@drawable/ic_fluent_arrow_repeat_all_20_regular"
android:drawablePadding="8dp" android:drawablePadding="8dp"
android:drawableTint="?android:textColorSecondary" android:drawableTint="?android:textColorSecondary"
tools:text="12 favorites"/> tools:text="4 reblogs"/>
<Button
android:id="@+id/favorites"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="8dp"
android:textSize="14sp"
android:minHeight="48dp"
android:textColor="?android:textColorSecondary"
android:background="@drawable/bg_text_button"
android:fontFamily="sans-serif"
android:drawableStart="@drawable/ic_fluent_star_20_regular"
android:drawablePadding="8dp"
android:drawableTint="?android:textColorSecondary"
tools:text="12 favorites"/>
</LinearLayout>
<Button <Button
android:id="@+id/edit_history" android:id="@+id/edit_history"
@ -58,7 +64,7 @@
android:drawableStart="@drawable/ic_fluent_edit_20_regular" android:drawableStart="@drawable/ic_fluent_edit_20_regular"
android:drawablePadding="8dp" android:drawablePadding="8dp"
android:drawableTint="?android:textColorSecondary" android:drawableTint="?android:textColorSecondary"
tools:text="edited"/> tools:text="Dec 12, 2021, 12:42 PM"/>
</org.joinmastodon.android.ui.views.AutoOrientationLinearLayout> </org.joinmastodon.android.ui.views.AutoOrientationLinearLayout>