Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

selecting texts and thumbnail Color 9 years 7 months ago #7074

  • oemilk
  • oemilk's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
I'd like to set the colors that selecting texts and thumbnail.

http://cfile213.uf.daum.net/original/213880405404406E2309C4

But there is only one value.
When I changed this, selecting texts's color and thumbnail's color is same.
I want to set the different colors. (texts -> red / thumbnail -> blue).

/**
* selection color.
*/
public static int selColor = 0x8000BFFF;// selection color

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

Last edit: by EugeneP.

selecting texts and thumbnail Color 9 years 7 months ago #7077

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,

if you have a premium or a professional license, you can change the Global.selColor parameter in PDFVSel class, everytime is used, with your own color, so the selection color will change..

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

Last edit: by poudel.

selecting texts and thumbnail Color 9 years 6 months ago #7382

  • oemilk
  • oemilk's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
I want to set different color.

"selecting texts's colo" is red and "current thumbnail's color" is blue.

When I changed the "Global.selColor", two colors are same..

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

selecting texts and thumbnail Color 9 years 6 months ago #7383

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you have to change the Global.selColor parameter in PDFVSel class with the color you wanto to set!
So only the selection colour will change!

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

Last edit: by poudel.

selecting texts and thumbnail Color 9 years 6 months ago #7394

  • oemilk
  • oemilk's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 28
  • Thank you received: 0
I find "PDFVSel class".
but there is no construction and methods...

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

Last edit: by EugeneP.

selecting texts and thumbnail Color 9 years 6 months ago #7399

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
search in PDFVSel class the Global.selColor parameter.
Then replace this parameter with your own colour.

The selection colour will be your own colour..

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum