- Posts: 18
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
Need to remove the thumbViewScroller
- sahli.wa.skumar
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.70
12 years 8 months ago #4804
by sahli.wa.skumar
Need to remove the thumbViewScroller was created by sahli.wa.skumar
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.
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.
IP: 192.168.0.70
12 years 8 months ago #4805
by radaee
Replied by radaee on topic Need to remove the thumbViewScroller
remove thumbview from layout like here:
and then remove codes in PDFReaderAct:
then remove all codes relate to m_thumb.
Code:
<com.radaee.util.PDFThumbView
android:id="@+id/thumbs"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_above="@+id/bar_find" />
Code:
private PDFThumbView m_thumb = null;
IP: 192.168.0.121
12 years 8 months ago #4806
by emanuele
Replied by emanuele on topic Need to remove the thumbViewScroller
Hi,
you have to comment [self.view addSubview:m_Thumbview] in PDFThumbNailinit method: RDPDFViewController.m, line 578
you have to comment [self.view addSubview:m_Thumbview] in PDFThumbNailinit method: RDPDFViewController.m, line 578
- sahli.wa.skumar
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
IP: 192.168.0.70
12 years 8 months ago #4809
by sahli.wa.skumar
Replied by sahli.wa.skumar on topic Need to remove the thumbViewScroller
Can i show that in vertical mode like android does?
IP: 192.168.0.70
12 years 6 months ago #5484
by SONAWANE
Replied by SONAWANE on topic Need to remove the thumbViewScroller
Yes you can. Just interchange width with height.
e.g.
Width = 200dp
height = watch_parent
e.g.
Width = 200dp
height = watch_parent
IP: 192.168.0.70
12 years 6 months ago #5487
by radaee
Replied by radaee on topic Need to remove the thumbViewScroller
modify codes in PDFThumbView:
Code:
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.
}
Time to create page: 0.456 seconds