github地址:https://github.com/siyamed/android-satellite-menu
不知道是不是抄襲
不知道是不是抄襲
2015-11-03
最新回答 / qq_秀逗_0
首先,用枚舉可讀性更好,“別人”一看就懂,不用看到的時候要回去看定義的地方怎么寫的其次,少量的枚舉造成的性能問題微乎其微,當然,不推薦動不動就寫枚舉
2015-10-25
學習了。TranslateAnimation(float fromXDelta, float toXDelta, float fromYDelta, float toYDelta)這四個參數(shù)的函數(shù),都是起始點或者結束點距離當前位置的偏移。
2015-09-25
獲取自定義屬性值時,Android提供了一個參數(shù)更少的方法:
TypedArray mTypedArray = context.obtainStyledAttributes(attrs, R.styleable.***);
android對其做了封裝,這樣調(diào)用更簡單一些。
TypedArray mTypedArray = context.obtainStyledAttributes(attrs, R.styleable.***);
android對其做了封裝,這樣調(diào)用更簡單一些。
2015-09-24
http://blog.csdn.net/lmj623565791/article/details/38339817
老師的博客,不用謝,我叫雷鋒
老師的博客,不用謝,我叫雷鋒
2015-08-16