zoukankan      html  css  js  c++  java
  • 一些有用的属性

    1.android:clipChildren

      Defines whether a child is limited to draw inside of its bounds or not. This is useful with animations that scale the size of the children to more than 100% for instance.

    In such a case, this property should be set to false to allow the children to draw outside of their bounds. The default value of this property is true.

    2.android:addStatesFromChildren

      Sets whether this ViewGroup's drawable states also include its children's drawable states. This is used, for example, to make a group appear to be focused when its

    child EditText or button is focused. 

    3.android:ellipsize 

    TextView及其子类,当字符内容太长显示不下时可以省略号代替未显示的字符

           

  • 相关阅读:
    python 操作数据库
    python学习
    Java学习(十)
    Java学习(九)
    Java学习(八)
    Java学习(七)
    Java学习(六)
    Java学习(五)
    Java学习(四)
    Java学习(三)
  • 原文地址:https://www.cnblogs.com/yuyutianxia/p/3643541.html
Copyright © 2011-2022 走看看