Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
change extra text size
Browse files Browse the repository at this point in the history
  • Loading branch information
sk22 committed Oct 18, 2023
1 parent b8dccbb commit 53f0e2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec){
}
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);
Expand Down
5 changes: 2 additions & 3 deletions mastodon/src/main/res/layout/display_item_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">

Expand Down Expand Up @@ -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" />
Expand Down

0 comments on commit 53f0e2a

Please sign in to comment.