// Path: app/src/main/java/org/theotech/ceaselessandroid/util/Constants.java
// public class Constants {
//     public static final int NUM_AUXILIARY_CARDS = 2;
//     public static final int SCHEMA_VERSION = 0;
//     public static final String REALM_FILE_NAME = "org.theotech.ceaselessandroid";
// 
//     public static final String HOME_SECTION_NUMBER_BUNDLE_ARG = "homeSectionNumber";
//     public static final String USE_CACHE_BUNDLE_ARG = "useCache";
//     public static final String PERSON_ID_BUNDLE_ARG = "personId";
//     public static final String NOTE_ID_BUNDLE_ARG = "noteId";
//     public static final String NEXT_BACKGROUND_IMAGE = "nextBackgroundImage";
//     public static final String CURRENT_BACKGROUND_IMAGE = "currentBackgroundImage";
//     public static final String PRESELECTED_PERSON_NAME = "preselectedPersonName";
//     public static final String PRESELECTED_PERSON_ID = "preselectedPersonId";
// 
//     public static final String SHOW_PERSON_INTENT = "org.theotech.ceaselessandroid.SHOW_PERSON";
//     public static final String SHOW_NOTE_INTENT = "org.theotech.ceaselessandroid.SHOW_NOTE";
//     public static final String DEFAULT_PREFERENCES_FILE = "org.theotech.ceaselessandroid_preferences";
// 
//     public static final String NUMBER_OF_PEOPLE_TO_PRAY_FOR = "numberOfPeopleToPrayForDaily";
// 
//     public static final String DEMO_NAME_BUNDLE_ARG = "demoName";
//     public static final String DEMO_TOOLTIP_BUNDLE_ARG = "demoShowToolTip";
// 
//     public static final String DEFAULT_CEASELESS_CHANNEL_ID = "ceaselessPrayerReminders";
// }


import android.app.Activity;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.LinearInterpolator;
import android.view.animation.TranslateAnimation;
import android.widget.ArrayAdapter;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.PopupMenu;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.joanzapata.iconify.widget.IconTextView;
import com.makeramen.roundedimageview.RoundedImageView;
import com.squareup.picasso.Picasso;
import org.theotech.ceaselessandroid.R;
import org.theotech.ceaselessandroid.util.Constants;
import butterknife.BindView;
import butterknife.ButterKnife;
    @BindView(R.id.tool_tip_two)
    TextView toolTipTwo;
    @BindView(R.id.tool_tip_four)
    LinearLayout toolTipFour;

    @BindView(R.id.up_arrow)
    IconTextView upArrow;
    @BindView(R.id.right_arrow)
    IconTextView rightArrow;

    private boolean showToolTip;
    private int sceneNum = 0;
    private PopupMenu popup;
    private View view;
    private boolean menuItemClicked = false;

    public HTFDemoPersonFragment() {
        // Required empty public constructor
    }

    public static HTFDemoPersonFragment newInstance(String personName, boolean showToolTip) {
        HTFDemoPersonFragment fragment = new HTFDemoPersonFragment();
        Bundle args = new Bundle();
        args.putString(Constants.DEMO_NAME_BUNDLE_ARG, personName);
        args.putBoolean(Constants.DEMO_TOOLTIP_BUNDLE_ARG, showToolTip);
        fragment.setArguments(args);

        return fragment;
    }

// Path: app/src/main/java/org/theotech/ceaselessandroid/util/Constants.java
// public class Constants {
//     public static final int NUM_AUXILIARY_CARDS = 2;
//     public static final int SCHEMA_VERSION = 0;
//     public static final String REALM_FILE_NAME = "org.theotech.ceaselessandroid";
// 
//     public static final String HOME_SECTION_NUMBER_BUNDLE_ARG = "homeSectionNumber";
//     public static final String USE_CACHE_BUNDLE_ARG = "useCache";
//     public static final String PERSON_ID_BUNDLE_ARG = "personId";
//     public static final String NOTE_ID_BUNDLE_ARG = "noteId";
//     public static final String NEXT_BACKGROUND_IMAGE = "nextBackgroundImage";
//     public static final String CURRENT_BACKGROUND_IMAGE = "currentBackgroundImage";
//     public static final String PRESELECTED_PERSON_NAME = "preselectedPersonName";
//     public static final String PRESELECTED_PERSON_ID = "preselectedPersonId";
// 
//     public static final String SHOW_PERSON_INTENT = "org.theotech.ceaselessandroid.SHOW_PERSON";
//     public static final String SHOW_NOTE_INTENT = "org.theotech.ceaselessandroid.SHOW_NOTE";
//     public static final String DEFAULT_PREFERENCES_FILE = "org.theotech.ceaselessandroid_preferences";
// 
//     public static final String NUMBER_OF_PEOPLE_TO_PRAY_FOR = "numberOfPeopleToPrayForDaily";
// 
//     public static final String DEMO_NAME_BUNDLE_ARG = "demoName";
//     public static final String DEMO_TOOLTIP_BUNDLE_ARG = "demoShowToolTip";
// 
//     public static final String DEFAULT_CEASELESS_CHANNEL_ID = "ceaselessPrayerReminders";
// }


// Path: app/src/main/java/org/theotech/ceaselessandroid/tutorial/HTFDemoPersonFragment.java
import android.app.Activity;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.LinearInterpolator;
import android.view.animation.TranslateAnimation;
import android.widget.ArrayAdapter;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.PopupMenu;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.joanzapata.iconify.widget.IconTextView;
import com.makeramen.roundedimageview.RoundedImageView;
import com.squareup.picasso.Picasso;
import org.theotech.ceaselessandroid.R;
import org.theotech.ceaselessandroid.util.Constants;
import butterknife.BindView;
import butterknife.ButterKnife;

    @BindView(R.id.tool_tip_two)
    TextView toolTipTwo;
    @BindView(R.id.tool_tip_four)
    LinearLayout toolTipFour;

    @BindView(R.id.up_arrow)
    IconTextView upArrow;
    @BindView(R.id.right_arrow)
    IconTextView rightArrow;

    private boolean showToolTip;
    private int sceneNum = 0;
    private PopupMenu popup;
    private View view;
    private boolean menuItemClicked = false;

    public HTFDemoPersonFragment() {
        // Required empty public constructor
    }

    public static HTFDemoPersonFragment newInstance(String personName, boolean showToolTip) {
        HTFDemoPersonFragment fragment = new HTFDemoPersonFragment();
        Bundle args = new Bundle();
        args.putString(Constants.DEMO_NAME_BUNDLE_ARG, personName);
        args.putBoolean(Constants.DEMO_TOOLTIP_BUNDLE_ARG, showToolTip);
        fragment.setArguments(args);

        return fragment;
    }

    @Override