Android的:如何改变ExpandableListView指示灯的位置? [英] Android: how to change the position of ExpandableListView Indicator?

查看:102
本文介绍了Android的:如何改变ExpandableListView指示灯的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想改变这种状况出现在ExpandableListView集团查看默认箭头的位置。我想它是不是被向左向右。

I want to change the position of the default arrow that appears in the Group view of the ExpandableListView. I want it to be to the right instead of being to the left.

如何才能做到这一点?

推荐答案

使用<一个href="http://developer.android.com/reference/android/widget/ExpandableListView.html#setIndicatorBounds%28int,%20int%29">setIndicatorBounds:

设定绘图界限指标(至少,组   指示器受此;儿童指示器受此   如果孩子的指标范围设置为继承)。

Sets the drawing bounds for the indicators (at minimum, the group indicator is affected by this; the child indicator is affected by this if the child indicator bounds are set to inherit).

这篇关于Android的:如何改变ExpandableListView指示灯的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆