<item name="android:windowFrame">@null</item> :Dialog的windowFrame框为无 <item name="android:windowIsFloating">true</item>:是否浮现在activity之上 <item name="android:windowIsTranslucent">false</item>:是否半透明 <item name="android:windowNoTitle">true</item>:是否显示title <item name="android:windowBackground">@drawable/dia_bg</item>:设置dialog的背景 <item name="android:backgroundDimEnabled">false</item>: 背景是否模糊显示 <item name="android:backgroundDimEnabled">false</item>: 背景是否变暗 如果想设置后背景的透明度,则在backgroundDimEnabled为true的情况下设置以下属性 <item name="android:backgroundDimAmount">0.1</item><!-- 后背景的暗淡度 -->
安卓有道词典开发实例
设计思路运用EditText,Button,WebView和Toast四个控件当EditText输入查询内容时,点击查询按钮,将查询的内容显示在WebView中用Toast进行相应的操作提示注意问
Animation.setFillAfter and Animation.setFillBefore的作用
转:http://blog.csdn.net/yangweigbh/article/details/9788531setFillAfter(booleanfillAfter)在Androiddeveloper上的文档:IffillAfteristrue,thetransformationthatthisanimationperformedwillpersistwhe
view组件draw,onDraw,dispatchDraw
Android的view组件显示主要经过mesure,layout和draw这三个过程。在mesure阶段里调用mesure(intwidthSpec,intheightSpec)方法,这个方法是final不能被重写,在这个过程里