commit | fd75e0f3fe35097b10b186bd80e3d9ca8baf72b7 | [log] [tgz] |
---|---|---|
author | Randall Rushing <randall.rushing@gmail.com> | Mon Aug 31 04:21:55 2015 -0700 |
committer | Anushek Prasal <anushekprasal@gmail.com> | Thu Feb 07 22:58:33 2019 +0530 |
tree | 94a9ea5525e358d260bb32d480b3566161bde705 | |
parent | b02cd2470bfcffc165209ec512eb82d302d7eec8 [diff] |
Introduce set default button when attribute is set Set a default value using the "defaultColorValue" settings namespace attribute. The general idea is often we want set a value of say "-1" and let framework handle it. One such scenario would be if you are changing the color of a ImageView using ColorFilter. When framework receives a "-1" value, framework sets the ImageView ColorFilter to null, restoring the ImageView to original state. Screenshot: https://teameos.slack.com/files/bigrushdog/F09T5S155/screenshot_2015-08-31-04-02-54.png Change-Id: I4ad63576270de344a9e7430d9e63a248d37afd9f