change extra text size
This commit is contained in:
parent
b8dccbbef1
commit
53f0e2a933
|
@ -39,7 +39,7 @@ public class HeaderSubtitleLinearLayout extends LinearLayout{
|
|||
}
|
||||
View first=getChildAt(0);
|
||||
if(first instanceof TextView){
|
||||
((TextView) first).setMaxWidth(Math.max(remainingWidth, fullWidth/2));
|
||||
((TextView) first).setMaxWidth(Math.max(remainingWidth, fullWidth/3*2));
|
||||
}
|
||||
}else{
|
||||
View first=getChildAt(0);
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
android:id="@+id/buttons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentEnd="true">
|
||||
|
||||
|
@ -132,8 +132,7 @@
|
|||
android:layout_marginStart="8sp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/m3_title_medium"
|
||||
android:fontFamily="sans-serif"
|
||||
android:textAppearance="@style/m3_body_medium"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="?colorM3OnSurface"
|
||||
tools:text="boosted your cat picture" />
|
||||
|
|
Loading…
Reference in New Issue