nickbutcher / AnimatorDurationTile

A quick settings tile to quickly set the animator duration scale.
Apache License 2.0
1.38k stars 115 forks source link

Consider using tile long-press for popping duration dialog. #8

Closed JakeWharton closed 7 years ago

JakeWharton commented 7 years ago

By specifying the action android.service.quicksettings.action.QS_TILE_PREFERENCES in an activity <intent-filter>, long-pressing on tiles from that app will launch that activity. In this case, that could be an invisible activity that hosts a dialog (or just is itself themed like a dialog) which allows the granular configuring of the duration. This should obviate the need for two separate tiles.

nickbutcher commented 7 years ago

Great idea!