private void closeFullscreenDialog()
 {
     ((ViewGroup)PlayerView.Parent).RemoveView(PlayerView);
     mainpage.AddView(PlayerView);
     ((Activity)Context).RequestedOrientation = Android.Content.PM.ScreenOrientation.SensorPortrait;
     mFullScreen.SetImageDrawable(ContextCompat.GetDrawable(Context, Resource.Drawable.exo_controls_fullscreen_enter));
     mExoPlayerFullscreen = false;
     mFullScreenDialog.Dismiss();
 }
Ejemplo n.º 2
0
 public virtual Com.Zhy.Adapter.Abslistview.ViewHolder SetImageDrawable(int viewId
                                                                        , Android.Graphics.Drawables.Drawable drawable)
 {
     Android.Widget.ImageView view = GetView <ImageView>(viewId);
     view.SetImageDrawable(drawable);
     return(this);
 }