If I add an expand 48*48 icon, the text will be indented 48. As
private void calculateIndentWidth() {
if (expandedDrawable != null) {
indentWidth = Math.max(getIndentWidth(),
expandedDrawable.getIntrinsicWidth());
}
if (collapsedDrawable != null) {
indentWidth = Math.max(getIndentWidth(),
collapsedDrawable.getIntrinsicWidth());
}
}
If I set indentWitdh inside the function, then it works as I think. Otherwise,
the interface setIndentWitdh seems not work either.
Original issue reported on code.google.com by zhengda...@gmail.com on 3 Dec 2011 at 2:18
Original issue reported on code.google.com by
zhengda...@gmail.com
on 3 Dec 2011 at 2:18