Clipboard shows a different label

和自甴很熟 提交于 2020-01-06 05:30:07

问题


The behavior of long-pressing on an edittext is showing a Clipboard with a wrong label as shown in the picture below. instead of having the normal label Clipboard it's showing tw_clipboard_title_text. This is especially happening in samsung.

What could be the issue? I'm not even dealing with ClipboardManager

 <EditText
                        android:id="@+id/signup_Phone"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:afterTextChanged="@{viewModel::onUsernameChanged}"
                        android:digits="0123456789"
                        android:hint="@string/hint_phone_number"
                        android:inputType="phone"
                        android:layoutDirection="ltr"
                        android:maxLength="30"
                        app:editFont="@{`Padauk.ttf`}" />

Below is my app theme

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorAccentLite</item>
        <item name="colorAccent">@color/colorAccent</item>
        <item name="drawerArrowStyle">@style/DrawerArrowStyle</item>
        <item name="colorControlNormal">@color/clr_black</item>
    </style>

来源:https://stackoverflow.com/questions/58858810/clipboard-shows-a-different-label

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!