- 博客(7)
- 资源 (11)
- 收藏
- 关注
原创 Andriod软键盘出现把原来的布局给顶上去
Andriod软键盘出现把原来的布局给顶上去在mainfest.xml中:<activity android:windowSoftInputMode="adjustPan|stateHidden" />就不会把原来Activity的布局给顶上去了。代码设置,可能会需要在setContentView()前面getWindow().setSoftInputMode(WindowMa...
2016-09-13 15:06:14 2490
原创 Android之AutoCompleteTextView自动匹配RecycleView
Android之AutoCompleteTextView自动匹配RecycleViewXML布局文件中:<AutoCompleteTextView android:id="@+id/search_bar" android:layout_width="match_parent" android:layout_height="@dimen/searchbar_height...
2016-09-13 10:17:09 843
原创 Android之实现点击波纹效果
Android之实现点击波纹效果使用Theme.AppCompat.Light系列主题<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">可以通过如下XML设置波纹的效果:波纹有边界android:background="?attr/selectableItemBackground"波纹超出边界andr...
2016-09-09 08:47:01 2576
原创 android之android:clipChildren布局属性
android之android:clipChildren布局属性<!--android:clipChildren="false":是否限制子View在其范围内,默认值是true--><!--通过android:layout_gravity控制超出的部分如何显示,对齐底部:上面超出,反之亦然--><!--需要超出的子控件需要是View的子类,ViewGroup的子类无...
2016-09-07 16:29:48 1192
原创 android之RecycleView之ItemTouchHelper 处理拖拽、滑动删除
android之RecycleView之ItemTouchHelper 处理拖拽、滑动删除与RecycleView和ItemTouchHelper.Callback一起使用ItemTouchHelper内部包含内部类ItemTouchHelper.Callbackpublic class ItemTouchHelper extends RecyclerView.ItemDecoration ...
2016-09-06 10:36:04 1263
原创 android之FrameLayout属性foreground
android之FrameLayout属性foregroundFramlayout的foreground属性用于设置点击时的前景色<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:clic...
2016-09-06 09:54:03 1740
原创 android之Toolbar取消子控件左边留白
android之Toolbar/Actionbar取消子控件左边留白1.xml文件里面直接设置<android.support.v7.widget.Toolbar android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:contentInsetStart="...
2016-09-06 09:00:32 2298
animate.min.css动画特效
2018-04-08
wow.min.js动画插件
2018-04-08
wow.js动画插件
2018-04-08
PHP全站开发工程师-第01章 HTML基础
2018-04-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人