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:
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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/actionModeCloseButtonStylein the activity’s theme. The style only covers theandroid:backgroundof 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.