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

TOPIC:

Need to remove the thumbViewScroller 10 years 3 months ago #4804

  • sahli.wa.skumar
  • sahli.wa.skumar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thank you received: 0
Hi,

I need to remove the thumbscroller which is visible below the screen.
I tried commenting m_thumbView addsubview but no success.
I have also commented the PDFVthumb Class implementation but no success.

Please suggest.

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

Need to remove the thumbViewScroller 10 years 3 months ago #4805

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
remove thumbview from layout like here:
    <com.radaee.util.PDFThumbView
        android:id="@+id/thumbs"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:layout_above="@+id/bar_find" />
and then remove codes in PDFReaderAct:
	private PDFThumbView m_thumb = null;
then remove all codes relate to m_thumb.

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

Need to remove the thumbViewScroller 10 years 3 months ago #4806

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

you have to comment [self.view addSubview:m_Thumbview] in PDFThumbNailinit method: RDPDFViewController.m, line 578

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

Need to remove the thumbViewScroller 10 years 3 months ago #4809

  • sahli.wa.skumar
  • sahli.wa.skumar's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 18
  • Thank you received: 0
Can i show that in vertical mode like android does?

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

Need to remove the thumbViewScroller 10 years 1 month ago #5484

  • SONAWANE
  • SONAWANE's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Yes you can. Just interchange width with height.
e.g.

Width = 200dp
height = watch_parent

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

Need to remove the thumbViewScroller 10 years 1 month ago #5487

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
modify codes in PDFThumbView:
	public void thumbOpen( Document doc, PDFThumbListener listener )
	{
		//m_thumb.vSetOrientation(2);//RTOL horizontal layout
		m_thumb.vOpen(doc, 8, 0x40CCCCCC, this);
		m_thumb.vSetThumbListener(listener);
		m_thumb.vResize(getWidth(), getHeight());
		m_thumb.vSetOrientation(1);//1 means vertical scroll.
	}

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

  • Page:
  • 1
Powered by Kunena Forum