Customize popup text - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC: Customize popup text

Customize popup text 4 days 23 hours ago #14444

  • Soldan
  • Soldan's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi,
I'm using the latest version of your Xamarin library and I'm developing an Android application.
When a user touches a ReadOnly annotation, the library shows a Toast with the text "Readonly annotation".
Could this text be customized? I have an internationalized application and I would like to change that text based on the language.
Thank you so much

Please Log in or Create an account to join the conversation.

Customize popup text 6 hours 45 minutes ago #14446

  • luca.f
  • luca.f's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 6
  • Thank you received: 0
That string is hardcoded so you need to customize it on the android side:
in classes PDFLayoutView.java and GLView.java:
Toast.makeText(getContext(), "Readonly annotation", Toast.LENGTH_SHORT).show();

make it a xml string value and customize it, build and export viewlib aar, and import it on xamarin.

Please Log in or Create an account to join the conversation.

Last edit: by luca.f.

Customize popup text 2 hours 39 minutes ago #14448

  • Soldan
  • Soldan's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Ok thanks!
is it scheduled to move that string from hardcoded to an xml string value, like other strings?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum