Skip to content

Wrong position of gestures #1

@beprogressive

Description

@beprogressive

xml:

 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent">

 <android.support.v4.widget.SwipeRefreshLayout
    android:id="@+id/refresh_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <WebView
        android:id="@+id/web_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

 </android.support.v4.widget.SwipeRefreshLayout>

 <Button
    android:id="@+id/goLogin"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/log_in"
    android:visibility="gone" />
 </RelativeLayout>

code:

 tv = TutorialView.create(getActivity(), TutorialView.RightToLeft, TutorialView.CenterRight,
                    Rl.findViewById(R.id.web_view));
 tv.show();

gesture always places in top left corner of the view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions