Coder Social home page Coder Social logo

Comments (8)

rotorgames avatar rotorgames commented on September 15, 2024

@Clowning Hi friend. Please write you versions:

Rg.Plugins.Popup
Xamarin.Forms
Xamarin.VS or Xamarin Studio verions
Android or ios version

from rg.plugins.popup.

jonathanroze avatar jonathanroze commented on September 15, 2024

Hey,

Rg.Plugins.Popup : 0.0.17
Xamarin.Forms : 2.3.0.49 (I have a note to upgrade to 2.3.0.107)
Xamarin Studio version : 6.0 (Build : 5166)
Android Version : XamarinAndroid10 (Ref to ^1)
iOS version : XamariniOS 10 (Ref to ^1)

^1 : But i'm not sure if its the good version ! I don't found any other information ! and if you means version on emulator / iphone :

iOS Version : 9.2
Android Version : 6

Thanks

from rg.plugins.popup.

rotorgames avatar rotorgames commented on September 15, 2024

@Clowning This bug only on android or ios also?

from rg.plugins.popup.

jonathanroze avatar jonathanroze commented on September 15, 2024

No only on IOS !

from rg.plugins.popup.

rotorgames avatar rotorgames commented on September 15, 2024

@Clowning RelativeLayout intercepts all touches, because RelativeLayout fill on all page.

from rg.plugins.popup.

jonathanroze avatar jonathanroze commented on September 15, 2024

Arf... Do you have an other solution ? Because my relativelayout is in gridlayout!

from rg.plugins.popup.

rotorgames avatar rotorgames commented on September 15, 2024

@Clowning

public class JobRemote : PopupPage
    {

        public JobRemote(QRCode qr)
        {

            IsCloseOnBackgroundClick = false;

            var lol = new RelativeLayout();

            var gesture = new TapGestureRecognizer();

            gesture.Command = new Command(() =>
            {
                // Executed when background clicked
            });

            var clickableView = new BoxView();

            clickableView.GestureRecognizers.Add(gesture);

            lol.Children.Add(clickableView, Constraint.RelativeToParent((parent) =>
            {
                return parent.X;
            }), Constraint.RelativeToParent((parent) =>
            {
                return parent.Y;
            }), Constraint.RelativeToParent((parent) =>
            {
                return parent.Width;
            }), Constraint.RelativeToParent((parent) =>
            {
                return parent.Height;
            }));

            lol.Children.Add(new BoxView
            {
                BackgroundColor = Color.White
            }, Constraint.RelativeToParent((parent) =>
            {
                return parent.X;
            }), Constraint.RelativeToParent((parent) =>
            {
                return parent.Y * .15;
            }), Constraint.RelativeToParent((parent) =>
            {
                return parent.Width;
            }), Constraint.RelativeToParent((parent) =>
            {
                return parent.Height * .8;
            }));

            Content = lol;
        }


        protected override void OnAppearing()
        {
            base.OnAppearing();
        }

        protected override void OnDisappearing()
        {
            base.OnDisappearing();
        }

        protected override bool OnBackButtonPressed()
        {
            return true;
        }
    }

from rg.plugins.popup.

jonathanroze avatar jonathanroze commented on September 15, 2024

Perfect ! Thank you :-) ! 👍

from rg.plugins.popup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.