Update ComponentBase.java

Update the documentation for setTextSize, to reflect that the parameter size is in DP, and not in pixel.
This commit is contained in:
Benoit Vermont 2016-08-18 16:48:28 +02:00 committed by GitHub
parent 5daa6dc23c
commit 9d0b0fd955

View file

@ -107,10 +107,10 @@ public abstract class ComponentBase {
}
/**
* sets the size of the label text in pixels min = 6f, max = 24f, default
* sets the size of the label text in density pixels min = 6f, max = 24f, default
* 10f
*
* @param size
* @param size the text size, in DP
*/
public void setTextSize(float size) {
@ -123,7 +123,7 @@ public abstract class ComponentBase {
}
/**
* returns the text size that is currently set for the labels
* returns the text size that is currently set for the labels, in pixels
*
* @return
*/