/images/avatar.png

FragmentPagerAdapter

FragmentPagerAdapter的官方解释为: Implementation of [PagerAdapter](file:///Users/zaizai/Library/Application%20Support/Dash/DocSets/Android/Android.docset/Contents/Resources/Documents/developer.android.com/reference/android/support/v4/view/PagerAdapter.html) that represents each page as a [Fragment](file:///Users/zaizai/Library/Application%20Support/Dash/DocSets/Android/Android.docset/Contents/Resources/Documents/developer.android.com/reference/android/app/Fragment.html) that is persistently kept in the fragment manager as long as the user can return to the page. 实现PagerAdapter去

Android开发之TextView属性详解

textAppearance的属性设置 android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textA

Android开发中的addStatesFromChildren属性

官方文档解释为: addStatesFromChildren Added in API level 1 int 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. 大意是:设置ViewGroup的可绘制状态

Struts2与Spring整合.让Spring来管理action

使用步骤: 步骤一、在spring配置文件中引入命名空间 xmlns:tx=“http://www.springframework.org/schema/tx" xsi:schemaLocation=“http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd** http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd"> 步骤二、具有@Transactional 注解的bean自动配置为声明式事务支