android之FrameLayout属性foreground
来源:互联网 发布:php get请求 编辑:程序博客网 时间:2024/05/21 09:35
android之FrameLayout属性foreground
Framlayout的foreground属性用于设置点击时的前景色
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:clickable="true" android:focusable="true" android:foreground="@color/blue" android:layout_height="wrap_content">
View.class中的一段代码:
case R.styleable.View_foreground: if (targetSdkVersion >= VERSION_CODES.M || this instanceof FrameLayout) { setForeground(a.getDrawable(attr));}break;说明在6.0及以上才有效,并且必须是Fragment布局
1 0
- android之FrameLayout属性foreground
- Android FrameLayout的android:foreground属性可以设置单击时的前景色
- Android FrameLayout的android:foreground属性可以设置单击时的前景色
- Android FrameLayout的android:foreground属性可以设置单击时的前景色
- Android FrameLayout的android:foreground属性可以设置单击时的前景色
- Android UI 之FrameLayout(-)
- android Layout之FrameLayout
- Android布局之FrameLayout
- Android之FrameLayout布局
- Android-布局之FrameLayout
- android:foreground
- android 开发布局之FrameLayout
- Android UI布局之FrameLayout
- android布局方式之FrameLayout
- Android之FrameLayout的使用
- Android之FrameLayout(帧布局)
- Android之FrameLayout(帧布局)
- View的foreground属性
- centos SSH免密码登录 使用公钥
- maven 打包时mapper.xml打不进去问题
- 持续集成
- MAVEN 聚合、继承
- android学习之自定义dialog
- android之FrameLayout属性foreground
- jQuery EasyUI使用教程之格式化组合框项
- JVM 编译之指令重排
- MySQL四种事务隔离级的说明
- textView 弹出键盘上面添加完成按钮,并设置输入内容的格式。
- Ubuntu安装Fcitx以及Fcitx输入中文不显示候选词框的解决办法
- IOS(数字优先,字母其次进行排序)
- hibernate入门实例(一)(初学者)
- 关闭”xx程序已停止工作”提示窗口