Android 月视图控件 MonthView
- 授权协议: Apache
- 开发语言: Java
- 操作系统: Android
- 软件首页: https://github.com/zcweng/MonthView
- 软件文档: https://github.com/zcweng/MonthView
软件介绍
用于Android开发中自定义的月视图控件,使用简单,可以很方便自定义各种漂亮的风格。
XML中布局:
<com.zcw.widget.MonthView android:id="@+id/monthView1" android:padding="20dp" android:background="@drawable/dialog_full_holo_light" android:layout_width="wrap_content" android:layout_height="wrap_content" > </com.zcw.widget.MonthView>
java代码:
monthView.setAdapter(new MonthAdapter() {
@Override
public View createCellView(ViewGroup viewGroup, int position) {
TextView textView = new TextView(getContext());
textView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
textView.setGravity(Gravity.CENTER);
return textView;
}
@Override
public void bindCellView(ViewGroup viewGroup, View child, int position, Calendar calendar) {
TextView textView = (TextView) child;
textView.setText(""+calendar.get(Calendar.DAY_OF_MONTH));
}
});
iOS编程实战
[美] Rob Napier、[美] Mugunth Kumar / 美团移动 / 人民邮电出版社 / 2014-9 / 79.00元
本书深入介绍iOS 7新特性和新功能,涵盖iOS 7大部分新增特性,包括新的后台操作、Core Bluetooth、UIKit动力学以及TextKit。另外还介绍了如何处理新的扁平化UI,并新增了一章你可能不知道的“小技巧”。如果读者熟练掌握C和C++,读完本书即可创建性能优异的iPhone、iPad和iPod touch应用。 本书主要内容包括: iOS 7新特性和新功能概览; ......一起来看看 《iOS编程实战》 这本书的介绍吧!
