# coding:utf-8
'''错题解析&全部解析&答题卡&题目纠错'''


class PositionAnalysis:
    # 错题解析按钮
    all_parsing = "com.ruicheng.teacher:id/tv_erro"
    # 全部解析按钮
    wrong_questions = "com.ruicheng.teacher:id/tv_allerro"
    # 引导点击
    guide_wrong_problem = "com.ruicheng.teacher:id/ll_anilysi"
    # 题目纠错
    problem_correction = "com.ruicheng.teacher:id/tv_problems_error"
    # 题目纠错输入框
    error_correction_input = "com.ruicheng.teacher:id/et_content"
    # 纠错提交
    correction_submission = "com.ruicheng.teacher:id/tv_submit"
    # 返回按钮
    wrong_question_return = "com.ruicheng.teacher:id/iv_back"
    # 闯关结算文字
    statement_settlement = "com.ruicheng.teacher:id/tv_result"
    # 闯关练习按钮
    tv_practice_button = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/" \
                         "android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/" \
                         "android.widget.RelativeLayout/android.widget.FrameLayout/android.widget.RelativeLayout/" \
                         "android.view.View/android.support.v7.widget.RecyclerView/android.widget.RelativeLayout[1]/" \
                         "android.widget.RelativeLayout/android.widget.RelativeLayout[2]/" \
                         "android.widget.LinearLayout[2]/android.widget.TextView"
    # 关卡标识
    checkmark1 = "	/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/" \
                 "android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/" \
                 "android.view.View/android.support.v7.widget.RecyclerView/" \
                 "android.widget.RelativeLayout[1]/android.widget.LinearLayout[1]"
    # 多选下一题按键
    next_questions ="/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/" \
                    "android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/" \
                    "android.support.v4.view.ViewPager/android.widget.RelativeLayout/android.widget.RelativeLayout/" \
                    "android.widget.TextView"
    # 答题卡
    answer_card = "com.ruicheng.teacher:id/ll_answercard"
    # 答题卡第3题
    third_questions = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/" \
                      "android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/" \
                      "android.widget.RelativeLayout/android.widget.RelativeLayout/android.widget.GridView/" \
                      "android.widget.LinearLayout[3]/android.widget.Button"