Update readme
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# Mastodon for Android
|
||||
[](https://crowdin.com/project/mastodon-for-android)
|
||||
|
||||
<a href="https://play.google.com/store/apps/details?id=org.joinmastodon.android"><img src="img/google-play-badge.png" height="50"></a>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ public class AutoOrientationLinearLayout extends LinearLayout{
|
||||
int childrenTotalWidth=0;
|
||||
for(int i=0;i<getChildCount();i++){
|
||||
View child=getChildAt(i);
|
||||
measureChildWithMargins(child, widthMeasureSpec, hPadding, heightMeasureSpec, 0);
|
||||
measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0);
|
||||
childrenTotalWidth+=child.getMeasuredWidth();
|
||||
}
|
||||
if(childrenTotalWidth>MeasureSpec.getSize(widthMeasureSpec)-hPadding){
|
||||
|
||||
Reference in New Issue
Block a user