xref: /aosp_15_r20/prebuilts/sdk/current/support/emoji/res/values/values.xml (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1<?xml version="1.0" encoding="utf-8"?>
2<resources>
3    <declare-styleable name="EmojiEditText">
4        <attr format="integer" name="maxEmojiCount"/>
5    </declare-styleable>
6    <declare-styleable name="EmojiExtractTextLayout">
7        <attr format="enum" name="emojiReplaceStrategy">
8            <!-- Replace strategy that uses the value given in EmojiCompat.Config. Default
9            value. -->
10            <enum name="defaultStrategy" value="0"/>
11            <!-- Replace strategy to add EmojiSpans for all emoji that were found. -->
12            <enum name="all" value="1"/>
13            <!-- Replace strategy to add EmojiSpans only for emoji that do not exist in the
14            system. -->
15            <enum name="nonExistent" value="2"/>
16        </attr>
17    </declare-styleable>
18</resources>