![]() ![]() Keep prompts you to save a new card with the sticker (even if you were already editing a note!).Drive prompts you to save the sticker to Drive.The results range from confusing to broken: I started from each apps' "search" functionality, since I assume no one actually wants to accept stickers in searches. I tried adding a sticker to a variety of apps that accept images to see what would happen. It can happen on any EditText in your app, meaning you could one moment be searching for data, and then the next moment be pulled into an entirely different part of the app! And moreover, it's unlikely that users actually want to enter rich content (like a sticker or gif) into any given EditText - it only makes sense in limited contexts. I think this is a bad choice for fallback behavior because it is confusing and unnecessary. ![]() ![]() If your app has an intent filter that accepts, then Gboard automatically fires an Intent (with the rich content) towards it! But the Google Keyboard (aka Gboard), which comes standard on many devices, has some alternative behavior around this case. Normally if you try to insert rich content into an app lacking support, then nothing happens. It's a bit of a hassle, and not everyone wants to accept rich content, so unsurprisingly many apps don't support it. Supporting rich content requires you to explicitly opt-in by overriding EditText.onCreateInputConnection(). Android 7.1 added the ability for IMEs to send images (and more) to EditTexts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |