Wish PanoramaImageView

Multiverse app

Active Member
Licensed User
Longtime User
https://github.com/gjiazhe/PanoramaImageView
An imageView can auto scroll with device rotating.

ScreenShots

recyclerview_sample.gif
horizontal_sample.gif
vertical_sample.gif
 

DonManfred

Expert
Licensed User
Longtime User
There is not much. Three boolean properties in the designer
and in code you need to set the bitmap by yourself.
Additionally to that you need to call one method in activity resume and one in activity pause
There are no methods to "move the image" by code or so.

Are you searching for a specific method?


PanoramaImageview

Author: DonManfred
Version:
1.0
  • PanoramaImageView
    • Events:
      • onScrolled (value As Float)
    • Fields:
      • ba As BA
    • Functions:
      • BringToFront
      • DesignerCreateView (base As Panel, lw As Label, props As Map)
      • Initialize (EventName As String)
      • Invalidate
      • Invalidate2 (arg0 As android.graphics.Rect)
      • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • IsInitialized As Boolean
      • onPause
      • onResume
      • RemoveView
      • RequestFocus As Boolean
      • SendToBack
      • SetBackgroundImage (arg0 As android.graphics.Bitmap) As BitmapDrawable
      • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
      • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
      • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
    • Properties:
      • Background As android.graphics.drawable.Drawable
      • Color As Int [write only]
      • Enabled As Boolean
      • Height As Int
      • ImageBitmap As android.graphics.Bitmap [write only]
      • ImageDrawable As android.graphics.drawable.Drawable [write only]
      • ImageURI As android.net.Uri [write only]
      • ImageURIstring As String [write only]
      • InvertScrollDirection As Boolean
      • Left As Int
      • Orientation As Byte [read only]
      • Padding As Int()
      • PanoramaModeEnabled As Boolean
      • Parent As Object [read only]
      • ScrollbarEnabled As Boolean
      • Tag As Object
      • Top As Int
      • Visible As Boolean
      • Width As Int

Attention: You need to
- call pan1.onResume in Activity_resume!
- call pan1.onPause in Activity_Pause!
for each PanoramaImageview...
 
Top