Android's documentation says a lot about CAB's, but nothing about how to change the text for "Done". Does anyone know how to?
Other Links:
Android's documentation says a lot about CAB's, but nothing about how to change the text for "Done". Does anyone know how to?
Other Links:
The layout for "Done" are provided in layout and layout-large folders in the framework. This button can be styled using the attribute android:attr/actionModeCloseButtonStyle
in the activity's theme. The style only covers the android:background
of the button, as mentioned in styles.xml. Also, the string used for "Done" is within Android's scope (@string/action_mode_done
). Hence, the string for the CAB cannot be changed.
if you use ABS, this can help you
<string name="abs__action_mode_done"></string>
© 2022 - 2024 — McMap. All rights reserved.