mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -04:00
Docs: explain mesure function purpose
This commit is contained in:
parent
e21be296ec
commit
faa0d6b0a6
@ -1031,6 +1031,7 @@ public final class Tools {
|
||||
context.startActivity(sendIntent);
|
||||
}
|
||||
|
||||
/** Mesure the textview height, given its current parameters */
|
||||
public static int mesureTextviewHeight(TextView t) {
|
||||
int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(t.getWidth(), View.MeasureSpec.AT_MOST);
|
||||
int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user