diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/views/HeaderSubtitleLinearLayout.java b/mastodon/src/main/java/org/joinmastodon/android/ui/views/HeaderSubtitleLinearLayout.java index c45fd36643..fa10d69c6e 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/views/HeaderSubtitleLinearLayout.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/views/HeaderSubtitleLinearLayout.java @@ -27,7 +27,8 @@ public HeaderSubtitleLinearLayout(Context context, AttributeSet attrs, int defSt @Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec){ if(getLayoutChildCount()>1){ - int remainingWidth=MeasureSpec.getSize(widthMeasureSpec); + int fullWidth=MeasureSpec.getSize(widthMeasureSpec); + int remainingWidth=fullWidth; for(int i=1;i