Blame view

Risiko/app/src/main/res/layout/activity_evaluations.xml 3.11 KB
4bc80457   kristinlaahneolsen   Laget adapter til...
1
2
3
4
  <?xml version="1.0" encoding="utf-8"?>
  <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
175009f7   kristinlaahneolsen   Laget popupdialog...
5
      android:id="@+id/root"
4bc80457   kristinlaahneolsen   Laget adapter til...
6
7
8
      android:layout_width="match_parent"
      android:layout_height="match_parent">
  
bae19628   kristinlaahneolsen   Har laget en egen...
9
10
      <include layout="@layout/toolbar"/>
  
4bc80457   kristinlaahneolsen   Laget adapter til...
11
12
13
14
      <TextView
          android:id="@+id/tv_nameOfActivity"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
9e4deaff   kristinlaahneolsen   Jobbet mer med te...
15
16
          android:text="@string/activity_headline"
          android:textColor="@color/colorPrimaryDark"
4bc80457   kristinlaahneolsen   Laget adapter til...
17
18
19
20
21
          android:textStyle="bold"
          android:textSize="25dp"
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toTopOf="parent"
9e4deaff   kristinlaahneolsen   Jobbet mer med te...
22
23
          app:layout_constraintBottom_toTopOf="@+id/btn_add_new_evaluation"
          android:layout_margin="25dp"/>
4bc80457   kristinlaahneolsen   Laget adapter til...
24
25
  
      <Button
9e4deaff   kristinlaahneolsen   Jobbet mer med te...
26
27
          android:layout_marginTop="10dp"
          android:background="@color/colorWhite"
4bc80457   kristinlaahneolsen   Laget adapter til...
28
29
30
31
32
          android:id="@+id/btn_add_new_evaluation"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginHorizontal="25dp"
          android:text="@string/add_evaluation"
9e4deaff   kristinlaahneolsen   Jobbet mer med te...
33
34
          android:drawableRight="@drawable/ic_add"
          android:paddingHorizontal="40dp"
4bc80457   kristinlaahneolsen   Laget adapter til...
35
36
37
38
39
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toBottomOf="@id/tv_nameOfActivity"/>
  
      <TextView
9e4deaff   kristinlaahneolsen   Jobbet mer med te...
40
          android:layout_marginTop="10dp"
4bc80457   kristinlaahneolsen   Laget adapter til...
41
42
43
44
45
46
47
48
49
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/all_evaluations"
          android:textStyle="bold"
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toBottomOf="@id/btn_add_new_evaluation"/>
  
      <android.support.constraint.ConstraintLayout
9e4deaff   kristinlaahneolsen   Jobbet mer med te...
50
51
52
          android:layout_marginHorizontal="20dp"
          android:layout_marginBottom="70dp"
          android:background="@color/colorWhite"
4bc80457   kristinlaahneolsen   Laget adapter til...
53
54
          android:layout_width="match_parent"
          android:layout_height="match_parent"
9e4deaff   kristinlaahneolsen   Jobbet mer med te...
55
          android:layout_marginTop="150dp">
4bc80457   kristinlaahneolsen   Laget adapter til...
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
  
  
          <android.support.v4.widget.SwipeRefreshLayout
              xmlns:android="http://schemas.android.com/apk/res/android"
              android:id="@+id/swiperefresh"
              android:layout_width="match_parent"
              android:layout_height="match_parent">
  
  
              <LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:orientation="vertical">
  
                  <ListView
                      android:id="@+id/lv_evaluations"
4bc80457   kristinlaahneolsen   Laget adapter til...
72
                      android:layout_width="match_parent"
7e4b1ed5   Ali B   Finished Incident...
73
74
                      android:layout_height="369dp"
                      android:layout_margin="10dp"></ListView>
4bc80457   kristinlaahneolsen   Laget adapter til...
75
76
77
78
79
80
81
  
              </LinearLayout>
          </android.support.v4.widget.SwipeRefreshLayout>
  
      </android.support.constraint.ConstraintLayout>
  
  </android.support.constraint.ConstraintLayout>