Blame view

Risiko/app/src/main/res/layout/activity_sequence_of_activities.xml 4.47 KB
bf51a036   kristinlaahneolsen   Begynt på sekvens...
1
2
3
4
5
6
7
8
  <?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"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context="com.risiko.risiko.activity.SequenceOfActivities">
  
bae19628   kristinlaahneolsen   Har laget en egen...
9
10
      <include layout="@layout/toolbar"/>
  
a09824ed   kristinlaahneolsen   Laget klar sekven...
11
12
13
14
      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"
b55c0aae   kristinlaahneolsen   fikset litt på br...
15
16
          android:background="@color/colorWhite"
          android:padding="10dp"
bae19628   kristinlaahneolsen   Har laget en egen...
17
18
19
          android:layout_marginBottom="15dp"
          android:layout_marginHorizontal="15dp"
          android:layout_marginTop="70dp">
a09824ed   kristinlaahneolsen   Laget klar sekven...
20
21
22
23
24
25
26
27
28
29
  
  
      <TextView
          android:layout_gravity="center"
          android:id="@+id/tv_sequence_headline"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/sequence_of_activities"
          android:textStyle="bold"
          android:textSize="25dp"
bae19628   kristinlaahneolsen   Har laget en egen...
30
          android:textColor="@color/colorPrimaryDark"
a09824ed   kristinlaahneolsen   Laget klar sekven...
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toTopOf="parent"
          android:layout_marginTop="25dp"/>
  
      <TextView
          android:layout_marginTop="20dp"
          android:textAlignment="center"
          android:id="@+id/tv_sequence_description"
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toBottomOf="@id/tv_sequence_headline"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/sequence_description"/>
  
      <LinearLayout
          android:layout_margin="10dp"
          android:padding="10dp"
          android:background="@color/colorLightGray"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal">
  
          <TextView
              android:layout_marginEnd="20dp"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textSize="17sp"
              android:textStyle="bold"
              android:text="@string/chose_activity" />
  
          <Spinner
              android:id="@+id/spinner_activity1"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content" />
  
      </LinearLayout>
  
          <LinearLayout
              android:layout_margin="10dp"
              android:padding="10dp"
              android:background="@color/colorLightGray"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="horizontal">
  
              <TextView
                  android:layout_marginEnd="20dp"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:textSize="17sp"
                  android:textStyle="bold"
                  android:text="@string/chose_activity" />
  
              <Spinner
                  android:id="@+id/spinner_activity2"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content" />
  
          </LinearLayout>
  
  
          <LinearLayout
              android:layout_margin="10dp"
              android:padding="10dp"
              android:background="@color/colorLightGray"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="horizontal">
  
              <TextView
                  android:layout_marginEnd="20dp"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:textSize="17sp"
                  android:textStyle="bold"
                  android:text="@string/chose_activity" />
  
              <Spinner
                  android:id="@+id/spinner_activity3"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content" />
  
          </LinearLayout>
  
          <Button
              android:id="@+id/btn_generate_report"
              android:layout_marginVertical="50dp"
              android:layout_gravity="center"
              android:layout_width="200dp"
              android:layout_height="wrap_content"
              android:text="@string/generate_report"/>
  
      </LinearLayout>
  
  
  
  
  
  
bf51a036   kristinlaahneolsen   Begynt på sekvens...
132
  </android.support.constraint.ConstraintLayout>