react-native android:如何更改ListView“滚动结束”动画的颜色
发布时间:2020-12-15 20:41:49 所属栏目:百科 来源:网络整理
导读:如何更改动画的颜色? 颜色基于AppTheme中的accentColor. 要更改它,请将AppTheme(通常在res / values / styles.xml中)更改为: !-- Base application theme. --style name="AppTheme" parent="Theme.AppCompat" !-- Customize your theme here. -- item name
如何更改动画的颜色?
颜色基于AppTheme中的accentColor.
要更改它,请将AppTheme(通常在res / values / styles.xml中)更改为: <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat"> <!-- Customize your theme here. --> <item name="colorPrimary">#F00</item> <-- change to color <!-- Status Bar color --> <item name="colorPrimaryDark">#000</item> <!-- Details color --> <item name="colorAccent">#000</item> </style> 请注意,这是一个全局应用更改,每个滚动视图反弹动画都将具有此颜色. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- regex – 正则表达式:是否有AND运算符?
- WebLogic部署异常问题weblogic.descriptor.DescriptorExcep
- react-native调用ios native方法-回调
- c – 如何使可移植和编译器无关的glBufferData?
- ajax 执行成功后返回j页面加载 joson 数据(加载select数据
- c# – 如何在Visual Studio 2017中使用VersionControlEx?
- 从swift中的字符串获取整数值
- oracle ADF 12C错误:Calling the constructor for class or
- sqlite3语句积累
- C#中的命名约定 – 全局变量