Need to remove the thumbViewScroller - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: Need to remove the thumbViewScroller

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

  • sahli.wa.skumar
  • sahli.wa.skumar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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 4 years 10 months ago #4805

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
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 4 years 10 months ago #4806

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
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 4 years 10 months ago #4809

  • sahli.wa.skumar
  • sahli.wa.skumar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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 4 years 8 months ago #5484

  • SONAWANE
  • SONAWANE's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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 4 years 8 months ago #5487

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
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