change extra text size

This commit is contained in:
sk
2023-10-18 19:39:12 +02:00
parent b8dccbbef1
commit 53f0e2a933
2 changed files with 3 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ public class HeaderSubtitleLinearLayout extends LinearLayout{
} }
View first=getChildAt(0); View first=getChildAt(0);
if(first instanceof TextView){ if(first instanceof TextView){
((TextView) first).setMaxWidth(Math.max(remainingWidth, fullWidth/2)); ((TextView) first).setMaxWidth(Math.max(remainingWidth, fullWidth/3*2));
} }
}else{ }else{
View first=getChildAt(0); View first=getChildAt(0);

View File

@@ -10,7 +10,7 @@
android:id="@+id/buttons" android:id="@+id/buttons"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="6dp" android:layout_marginTop="5dp"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"> android:layout_alignParentEnd="true">
@@ -132,8 +132,7 @@
android:layout_marginStart="8sp" android:layout_marginStart="8sp"
android:ellipsize="end" android:ellipsize="end"
android:singleLine="true" android:singleLine="true"
android:textAppearance="@style/m3_title_medium" android:textAppearance="@style/m3_body_medium"
android:fontFamily="sans-serif"
android:textAlignment="viewStart" android:textAlignment="viewStart"
android:textColor="?colorM3OnSurface" android:textColor="?colorM3OnSurface"
tools:text="boosted your cat picture" /> tools:text="boosted your cat picture" />