Guest User

Untitled

a guest
Dec 14th, 2018
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 21.71 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     android:background="@color/white"
  8.     android:orientation="vertical"
  9.     tools:context="app.com.smarttest.Activity.Analytics">
  10.  
  11.     <include layout="@layout/topbar_layout" />
  12.  
  13.  
  14.     <LinearLayout
  15.         android:layout_width="match_parent"
  16.         android:layout_height="match_parent"
  17.         android:background="@color/white"
  18.         android:orientation="vertical">
  19.  
  20.         <LinearLayout
  21.             android:id="@+id/rl_desc"
  22.             android:layout_width="match_parent"
  23.             android:layout_height="wrap_content"
  24.             android:layout_margin="@dimen/activity_horizontal_margin"
  25.             android:orientation="vertical">
  26.  
  27.             <LinearLayout
  28.                 android:layout_width="match_parent"
  29.                 android:layout_height="wrap_content"
  30.                 android:orientation="horizontal">
  31.  
  32.                 <View
  33.                     android:layout_width="20dp"
  34.                     android:layout_height="20dp"
  35.                     android:background="@color/topper_color" />
  36.  
  37.                 <TextView
  38.                     android:id="@+id/tv_top"
  39.                     android:layout_width="wrap_content"
  40.                     android:layout_height="wrap_content"
  41.                     android:layout_marginLeft="@dimen/padding_10dp"
  42.                     android:layout_marginStart="@dimen/padding_10dp"
  43.                     android:layout_weight="1"
  44.                     android:text="Top"
  45.                     android:textAppearance="@style/TextAppearance.AppCompat.Medium"
  46.                     android:textColor="@color/black" />
  47.  
  48.                 <TextView
  49.                     android:id="@+id/tv_top_total_attempt"
  50.                     android:layout_width="wrap_content"
  51.                     android:layout_height="wrap_content"
  52.                     android:layout_marginLeft="@dimen/padding_10dp"
  53.                     android:layout_marginStart="@dimen/padding_10dp"
  54.                     android:text="8.0/10"
  55.                     android:textAppearance="@style/TextAppearance.AppCompat.Medium"
  56.                     android:textColor="@color/topper_color" />
  57.             </LinearLayout>
  58.  
  59.             <LinearLayout
  60.                 android:layout_width="match_parent"
  61.                 android:layout_height="wrap_content"
  62.                 android:layout_marginTop="@dimen/activity_horizontal_margin"
  63.                 android:orientation="horizontal">
  64.  
  65.                 <View
  66.                     android:layout_width="20dp"
  67.                     android:layout_height="20dp"
  68.                     android:background="@color/light_green" />
  69.  
  70.                 <TextView
  71.                     android:layout_width="wrap_content"
  72.                     android:layout_height="wrap_content"
  73.                     android:layout_marginLeft="@dimen/padding_10dp"
  74.                     android:layout_weight="1"
  75.                     android:text="Average"
  76.                     android:textAppearance="@style/TextAppearance.AppCompat.Medium"
  77.                     android:textColor="@color/black" />
  78.  
  79.                 <TextView
  80.                     android:id="@+id/tv_average_total_attempt"
  81.                     android:layout_width="wrap_content"
  82.                     android:layout_height="wrap_content"
  83.                     android:layout_marginLeft="@dimen/padding_10dp"
  84.                     android:layout_marginStart="@dimen/padding_10dp"
  85.                     android:text="8.0/10"
  86.                     android:textAppearance="@style/TextAppearance.AppCompat.Medium"
  87.                     android:textColor="@color/light_green" />
  88.             </LinearLayout>
  89.  
  90.             <LinearLayout
  91.                 android:layout_width="match_parent"
  92.                 android:layout_height="wrap_content"
  93.                 android:layout_marginTop="@dimen/activity_horizontal_margin"
  94.                 android:orientation="horizontal">
  95.  
  96.                 <View
  97.                     android:layout_width="20dp"
  98.                     android:layout_height="20dp"
  99.                     android:layout_marginRight="@dimen/padding_15dp"
  100.                     android:background="@color/colorAccent" />
  101.  
  102.                 <TextView
  103.                     android:id="@+id/tv_section"
  104.                     android:layout_width="wrap_content"
  105.                     android:layout_height="wrap_content"
  106.                     android:layout_marginEnd="74dp"
  107.                     android:layout_marginRight="74dp"
  108.                     android:layout_weight="1"
  109.                     android:text="You"
  110.                     android:textAppearance="@style/TextAppearance.AppCompat.Medium"
  111.                     android:textColor="@color/light_green" />
  112.  
  113.                 <TextView
  114.                     android:id="@+id/tv_you_total_attempt"
  115.                     android:layout_width="wrap_content"
  116.                     android:layout_height="wrap_content"
  117.                     android:layout_marginLeft="@dimen/padding_10dp"
  118.                     android:layout_marginStart="@dimen/padding_10dp"
  119.                     android:text="8.0/10"
  120.                     android:textAppearance="@style/TextAppearance.AppCompat.Medium"
  121.                     android:textColor="@color/colorAccent" />
  122.             </LinearLayout>
  123.         </LinearLayout>
  124.  
  125.         <View
  126.             android:layout_width="match_parent"
  127.             android:layout_height="1dp"
  128.             android:background="@color/black" />
  129.  
  130.  
  131.         <RelativeLayout
  132.             android:layout_width="wrap_content"
  133.             android:layout_height="250dp"
  134.             android:layout_gravity="center"
  135.             android:visibility="gone">
  136.  
  137.             <hiennguyen.me.circleseekbar.CircleSeekBar
  138.                 android:id="@+id/overall_score_1"
  139.                 android:layout_width="200dp"
  140.                 android:layout_height="200dp"
  141.                 android:layout_centerInParent="true"
  142.                 android:clickable="false"
  143.                 android:focusable="false"
  144.                 android:focusableInTouchMode="false"
  145.                 android:padding="20dp"
  146.                 app:csb_arcColor="@color/darker_gray"
  147.                 app:csb_arcWidth="6dp"
  148.                 app:csb_max="10"
  149.                 app:csb_min="1"
  150.                 app:csb_progressColor="@color/black"
  151.                 app:csb_progressWidth="12dp"
  152.                 app:csb_step="5"
  153.                 app:csb_textColor="@color/color_text"
  154.                 app:csb_textSize="36sp"
  155.                 app:csb_thumbDrawable="@drawable/treansparent_bg"
  156.                 app:csb_thumbSize="36dp"
  157.                 app:layout_constraintBottom_toBottomOf="parent"
  158.                 app:layout_constraintLeft_toLeftOf="parent"
  159.                 app:layout_constraintRight_toRightOf="parent" />
  160.  
  161.             <hiennguyen.me.circleseekbar.CircleSeekBar
  162.                 android:id="@+id/overall_score_2"
  163.                 android:layout_width="180dp"
  164.                 android:layout_height="180dp"
  165.                 android:layout_centerInParent="true"
  166.                 android:clickable="false"
  167.                 android:focusable="false"
  168.                 android:focusableInTouchMode="false"
  169.                 android:padding="40dp"
  170.                 app:csb_arcColor="@color/darker_gray"
  171.                 app:csb_arcWidth="6dp"
  172.                 app:csb_max="10"
  173.                 app:csb_min="1"
  174.                 app:csb_progressColor="@color/colorAccent"
  175.                 app:csb_progressWidth="12dp"
  176.                 app:csb_step="5"
  177.                 app:csb_textColor="@color/color_text"
  178.                 app:csb_textSize="36sp"
  179.                 app:csb_thumbDrawable="@drawable/treansparent_bg"
  180.                 app:csb_thumbSize="36dp"
  181.                 app:layout_constraintBottom_toBottomOf="parent"
  182.                 app:layout_constraintLeft_toLeftOf="parent"
  183.                 app:layout_constraintRight_toRightOf="parent" />
  184.  
  185.             <hiennguyen.me.circleseekbar.CircleSeekBar
  186.                 android:id="@+id/overall_score_3"
  187.                 android:layout_width="150dp"
  188.                 android:layout_height="150dp"
  189.                 android:layout_centerInParent="true"
  190.                 android:clickable="false"
  191.                 android:focusable="false"
  192.                 android:focusableInTouchMode="false"
  193.                 android:padding="50dp"
  194.                 app:csb_arcColor="@color/darker_gray"
  195.                 app:csb_arcWidth="6dp"
  196.                 app:csb_max="10"
  197.                 app:csb_min="1"
  198.  
  199.                 app:csb_progressColor="@color/light_green"
  200.                 app:csb_progressWidth="12dp"
  201.                 app:csb_step="5"
  202.                 app:csb_textColor="@color/color_text"
  203.                 app:csb_textSize="36sp"
  204.                 app:csb_thumbDrawable="@drawable/treansparent_bg"
  205.                 app:csb_thumbSize="36dp"
  206.                 app:layout_constraintBottom_toBottomOf="parent"
  207.                 app:layout_constraintLeft_toLeftOf="parent"
  208.                 app:layout_constraintRight_toRightOf="parent" />
  209.  
  210.             <LinearLayout
  211.                 android:layout_width="wrap_content"
  212.                 android:layout_height="wrap_content"
  213.                 android:layout_centerInParent="true"
  214.                 android:orientation="vertical"
  215.                 android:visibility="gone">
  216.  
  217.                 <TextView
  218.                     android:id="@+id/tv_overall_score_0"
  219.                     android:layout_width="wrap_content"
  220.                     android:layout_height="wrap_content"
  221.                     android:gravity="center"
  222.                     android:text="8.0/10"
  223.                     android:textAppearance="@style/TextAppearance.AppCompat.Caption"
  224.                     android:textColor="@color/light_green" />
  225.  
  226.                 <TextView
  227.                     android:id="@+id/tv_overall_score_1"
  228.                     android:layout_width="wrap_content"
  229.                     android:layout_height="wrap_content"
  230.                     android:gravity="center"
  231.                     android:text="7.5/10"
  232.                     android:textAppearance="@style/TextAppearance.AppCompat.Caption"
  233.                     android:textColor="@color/colorAccent" />
  234.  
  235.                 <TextView
  236.                     android:id="@+id/tv_overall_score_2"
  237.                     android:layout_width="wrap_content"
  238.                     android:layout_height="wrap_content"
  239.                     android:gravity="center"
  240.                     android:text="7.5/10"
  241.                     android:textAppearance="@style/TextAppearance.AppCompat.Caption"
  242.                     android:textColor="@color/black" />
  243.  
  244.             </LinearLayout>
  245.  
  246.             <RelativeLayout
  247.                 android:layout_width="match_parent"
  248.                 android:layout_height="250dp"
  249.                 android:clickable="true"
  250.                 android:focusable="true"
  251.                 android:focusableInTouchMode="true" />
  252.  
  253.  
  254.         </RelativeLayout>
  255.  
  256.         <RelativeLayout
  257.             android:layout_width="match_parent"
  258.             android:background="@color/graph_background"
  259.             android:layout_height="match_parent">
  260.  
  261.  
  262.             <com.github.mikephil.charting.charts.LineChart
  263.                 android:id="@+id/chart"
  264.                 android:layout_width="match_parent"
  265.                 android:layout_height="250dp" />
  266.  
  267.         </RelativeLayout>
  268.         <!--  <View
  269.               android:layout_width="wrap_content"
  270.               android:layout_height="0.8dp"
  271.               android:background="@color/darker_gray" />
  272.  
  273.           <LinearLayout
  274.               android:layout_width="match_parent"
  275.               android:layout_height="wrap_content"
  276.               android:layout_margin="25dp"
  277.               android:orientation="horizontal">
  278.  
  279.               <LinearLayout
  280.                   android:layout_width="0dp"
  281.                   android:layout_height="wrap_content"
  282.                   android:layout_gravity="center"
  283.                   android:layout_weight="1"
  284.                   android:orientation="vertical">
  285.  
  286.                   <TextView
  287.                       android:id="@+id/tv_produce_knowledge"
  288.                       android:layout_width="wrap_content"
  289.                       android:layout_height="wrap_content"
  290.                       android:padding="2dp"
  291.                       android:text="Procedure/Knowledge"
  292.                       android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
  293.                       android:textColor="@color/black" />
  294.  
  295.               </LinearLayout>
  296.  
  297.               <RelativeLayout
  298.                   android:layout_width="0dp"
  299.                   android:layout_height="wrap_content"
  300.                   android:layout_weight="1">
  301.  
  302.                   <hiennguyen.me.circleseekbar.CircleSeekBar
  303.                       android:id="@+id/produce_knowledge_1"
  304.                       android:layout_width="150dp"
  305.                       android:layout_height="150dp"
  306.                       android:layout_alignParentEnd="true"
  307.                       android:layout_alignParentRight="true"
  308.                       android:layout_alignParentTop="true"
  309.                       android:layout_centerInParent="true"
  310.                       android:clickable="false"
  311.                       android:padding="20dp"
  312.                       app:csb_arcColor="@color/darker_gray"
  313.                       app:csb_arcWidth="6dp"
  314.                       app:csb_max="10"
  315.                       app:csb_min="1"
  316.                       app:csb_progressColor="@color/colorAccent"
  317.                       app:csb_progressWidth="12dp"
  318.                       app:csb_step="5"
  319.                       app:csb_textColor="@color/color_text"
  320.                       app:csb_textSize="36sp"
  321.                       app:csb_thumbDrawable="@drawable/treansparent_bg"
  322.                       app:csb_thumbSize="36dp"
  323.                       app:layout_constraintBottom_toBottomOf="parent"
  324.                       app:layout_constraintLeft_toLeftOf="parent"
  325.                       app:layout_constraintRight_toRightOf="parent" />
  326.  
  327.                   <hiennguyen.me.circleseekbar.CircleSeekBar
  328.                       android:id="@+id/produce_knowledge_2"
  329.                       android:layout_width="150dp"
  330.                       android:layout_height="150dp"
  331.                       android:layout_alignParentEnd="true"
  332.                       android:layout_alignParentRight="true"
  333.                       android:layout_alignParentTop="true"
  334.                       android:layout_centerInParent="true"
  335.                       android:clickable="false"
  336.                       android:padding="50dp"
  337.                       app:csb_arcColor="@color/darker_gray"
  338.                       app:csb_arcWidth="6dp"
  339.                       app:csb_max="10"
  340.                       app:csb_min="1"
  341.                       app:csb_progressColor="@color/light_green"
  342.                       app:csb_progressWidth="12dp"
  343.                       app:csb_step="5"
  344.                       app:csb_textColor="@color/color_text"
  345.                       app:csb_textSize="36sp"
  346.                       app:csb_thumbDrawable="@drawable/treansparent_bg"
  347.                       app:csb_thumbSize="36dp"
  348.                       app:layout_constraintBottom_toBottomOf="parent"
  349.                       app:layout_constraintLeft_toLeftOf="parent"
  350.                       app:layout_constraintRight_toRightOf="parent" />
  351.  
  352.                   <LinearLayout
  353.                       android:layout_width="wrap_content"
  354.                       android:layout_height="wrap_content"
  355.                       android:layout_centerInParent="true"
  356.                       android:orientation="vertical">
  357.  
  358.                       <TextView
  359.                           android:id="@+id/tv_produce_knowledge_1"
  360.                           android:layout_width="wrap_content"
  361.                           android:layout_height="wrap_content"
  362.                           android:gravity="center"
  363.                           android:text="8.0/10"
  364.                           android:textColor="@color/colorAccent" />
  365.  
  366.                       <TextView
  367.                           android:id="@+id/tv_produce_knowledge_2"
  368.                           android:layout_width="wrap_content"
  369.                           android:layout_height="wrap_content"
  370.                           android:gravity="center"
  371.                           android:text="7.5/10"
  372.                           android:textColor="@color/light_green" />
  373.  
  374.                   </LinearLayout>
  375.  
  376.               </RelativeLayout>
  377.           </LinearLayout>
  378.  
  379.           <View
  380.               android:layout_width="wrap_content"
  381.               android:layout_height="0.8dp"
  382.               android:background="@color/darker_gray" />
  383.  
  384.           <LinearLayout
  385.               android:layout_width="match_parent"
  386.               android:layout_height="wrap_content"
  387.               android:layout_margin="25dp"
  388.               android:orientation="horizontal">
  389.  
  390.               <LinearLayout
  391.                   android:layout_width="0dp"
  392.                   android:layout_height="wrap_content"
  393.                   android:layout_gravity="center"
  394.                   android:layout_weight="1"
  395.                   android:orientation="vertical">
  396.  
  397.                   <TextView
  398.                       android:id="@+id/tv_understanding_application"
  399.                       android:layout_width="wrap_content"
  400.                       android:layout_height="wrap_content"
  401.                       android:padding="2dp"
  402.                       android:text="Understanding/Application"
  403.                       android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
  404.                       android:textColor="@color/black" />
  405.  
  406.               </LinearLayout>
  407.  
  408.               <RelativeLayout
  409.                   android:layout_width="0dp"
  410.                   android:layout_height="wrap_content"
  411.                   android:layout_weight="1">
  412.  
  413.                   <hiennguyen.me.circleseekbar.CircleSeekBar
  414.                       android:id="@+id/understanding_application_1"
  415.                       android:layout_width="150dp"
  416.                       android:layout_height="150dp"
  417.                       android:layout_alignParentEnd="true"
  418.                       android:layout_alignParentRight="true"
  419.                       android:layout_alignParentTop="true"
  420.                       android:layout_centerInParent="true"
  421.                       android:clickable="false"
  422.                       android:padding="20dp"
  423.                       app:csb_arcColor="@color/darker_gray"
  424.                       app:csb_arcWidth="6dp"
  425.                       app:csb_max="10"
  426.                       app:csb_min="1"
  427.                       app:csb_progressColor="@color/colorAccent"
  428.                       app:csb_progressWidth="12dp"
  429.                       app:csb_step="5"
  430.                       app:csb_textColor="@color/color_text"
  431.                       app:csb_textSize="36sp"
  432.                       app:csb_thumbDrawable="@drawable/treansparent_bg"
  433.                       app:csb_thumbSize="36dp"
  434.                       app:layout_constraintBottom_toBottomOf="parent"
  435.                       app:layout_constraintLeft_toLeftOf="parent"
  436.                       app:layout_constraintRight_toRightOf="parent" />
  437.  
  438.  
  439.                   <hiennguyen.me.circleseekbar.CircleSeekBar
  440.                       android:id="@+id/understanding_application_2"
  441.                       android:layout_width="150dp"
  442.                       android:layout_height="150dp"
  443.                       android:layout_alignParentEnd="true"
  444.                       android:layout_alignParentRight="true"
  445.                       android:layout_alignParentTop="true"
  446.                       android:layout_centerInParent="true"
  447.                       android:clickable="false"
  448.                       android:padding="50dp"
  449.                       app:csb_arcColor="@color/darker_gray"
  450.                       app:csb_arcWidth="6dp"
  451.                       app:csb_max="10"
  452.                       app:csb_min="1"
  453.                       app:csb_progressColor="@color/light_green"
  454.                       app:csb_progressWidth="12dp"
  455.                       app:csb_step="5"
  456.                       app:csb_textColor="@color/color_text"
  457.                       app:csb_textSize="36sp"
  458.                       app:csb_thumbDrawable="@drawable/treansparent_bg"
  459.                       app:csb_thumbSize="36dp"
  460.                       app:layout_constraintBottom_toBottomOf="parent"
  461.                       app:layout_constraintLeft_toLeftOf="parent"
  462.                       app:layout_constraintRight_toRightOf="parent" />
  463.  
  464.                   <LinearLayout
  465.                       android:layout_width="wrap_content"
  466.                       android:layout_height="wrap_content"
  467.                       android:layout_centerInParent="true"
  468.                       android:orientation="vertical">
  469.  
  470.                       <TextView
  471.                           android:id="@+id/tv_understanding_application_1"
  472.                           android:layout_width="wrap_content"
  473.                           android:layout_height="wrap_content"
  474.                           android:gravity="center"
  475.                           android:text="8.0/10"
  476.                           android:textColor="@color/colorAccent" />
  477.  
  478.                       <TextView
  479.                           android:id="@+id/tv_tv_understanding_application_2"
  480.                           android:layout_width="wrap_content"
  481.                           android:layout_height="wrap_content"
  482.                           android:gravity="center"
  483.                           android:text="7.5/10"
  484.                           android:textColor="@color/light_green" />
  485.  
  486.                   </LinearLayout>
  487.  
  488.               </RelativeLayout>
  489.           </LinearLayout>-->
  490.  
  491.     </LinearLayout>
  492.  
  493. </LinearLayout>
Add Comment
Please, Sign In to add comment