|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | + android:layout_width="match_parent" |
| 5 | + android:layout_height="match_parent" |
| 6 | + android:background="@color/bg_main"> |
| 7 | + |
| 8 | + <LinearLayout |
| 9 | + android:layout_width="match_parent" |
| 10 | + android:layout_height="wrap_content" |
| 11 | + android:orientation="vertical" |
| 12 | + android:padding="20dp"> |
| 13 | + |
| 14 | + <TextView |
| 15 | + android:layout_width="match_parent" |
| 16 | + android:layout_height="wrap_content" |
| 17 | + android:text="@string/title_home" |
| 18 | + android:textColor="@color/white" |
| 19 | + android:textSize="22sp" |
| 20 | + android:textStyle="bold" |
| 21 | + android:letterSpacing="0.1" |
| 22 | + android:layout_marginBottom="24dp" /> |
| 23 | + |
| 24 | + <!-- Contrôle Manuel --> |
| 25 | + <com.google.android.material.card.MaterialCardView |
| 26 | + android:id="@+id/cardManual" |
| 27 | + android:layout_width="match_parent" |
| 28 | + android:layout_height="wrap_content" |
| 29 | + android:layout_marginBottom="16dp" |
| 30 | + android:clickable="true" |
| 31 | + android:focusable="true" |
| 32 | + app:cardCornerRadius="16dp" |
| 33 | + app:cardBackgroundColor="@color/bg_card" |
| 34 | + app:strokeWidth="1dp" |
| 35 | + app:strokeColor="@color/grid_blue"> |
| 36 | + |
| 37 | + <LinearLayout |
| 38 | + android:layout_width="match_parent" |
| 39 | + android:layout_height="wrap_content" |
| 40 | + android:orientation="horizontal" |
| 41 | + android:padding="20dp" |
| 42 | + android:gravity="center_vertical"> |
| 43 | + |
| 44 | + <ImageView |
| 45 | + android:layout_width="40dp" |
| 46 | + android:layout_height="40dp" |
| 47 | + android:src="@android:drawable/ic_menu_compass" |
| 48 | + app:tint="@color/white" /> |
| 49 | + |
| 50 | + <LinearLayout |
| 51 | + android:layout_width="0dp" |
| 52 | + android:layout_height="wrap_content" |
| 53 | + android:layout_weight="1" |
| 54 | + android:orientation="vertical" |
| 55 | + android:layout_marginStart="20dp"> |
| 56 | + |
| 57 | + <TextView |
| 58 | + android:layout_width="wrap_content" |
| 59 | + android:layout_height="wrap_content" |
| 60 | + android:text="@string/activity_manual" |
| 61 | + android:textColor="@color/white" |
| 62 | + android:textSize="18sp" |
| 63 | + android:textStyle="bold" /> |
| 64 | + |
| 65 | + <TextView |
| 66 | + android:layout_width="wrap_content" |
| 67 | + android:layout_height="wrap_content" |
| 68 | + android:text="@string/activity_manual_sub" |
| 69 | + android:textColor="@color/text_secondary" |
| 70 | + android:textSize="13sp" /> |
| 71 | + </LinearLayout> |
| 72 | + </LinearLayout> |
| 73 | + </com.google.android.material.card.MaterialCardView> |
| 74 | + |
| 75 | + <!-- Tracking Planétaire --> |
| 76 | + <com.google.android.material.card.MaterialCardView |
| 77 | + android:id="@+id/cardPlanets" |
| 78 | + android:layout_width="match_parent" |
| 79 | + android:layout_height="wrap_content" |
| 80 | + android:layout_marginBottom="16dp" |
| 81 | + android:clickable="true" |
| 82 | + android:focusable="true" |
| 83 | + app:cardCornerRadius="16dp" |
| 84 | + app:cardBackgroundColor="@color/bg_card" |
| 85 | + app:strokeWidth="0dp" |
| 86 | + android:alpha="0.6"> |
| 87 | + |
| 88 | + <LinearLayout |
| 89 | + android:layout_width="match_parent" |
| 90 | + android:layout_height="wrap_content" |
| 91 | + android:orientation="horizontal" |
| 92 | + android:padding="20dp" |
| 93 | + android:gravity="center_vertical"> |
| 94 | + |
| 95 | + <ImageView |
| 96 | + android:layout_width="40dp" |
| 97 | + android:layout_height="40dp" |
| 98 | + android:src="@android:drawable/btn_star_big_on" |
| 99 | + app:tint="@color/white" /> |
| 100 | + |
| 101 | + <LinearLayout |
| 102 | + android:layout_width="0dp" |
| 103 | + android:layout_height="wrap_content" |
| 104 | + android:layout_weight="1" |
| 105 | + android:orientation="vertical" |
| 106 | + android:layout_marginStart="20dp"> |
| 107 | + |
| 108 | + <TextView |
| 109 | + android:layout_width="wrap_content" |
| 110 | + android:layout_height="wrap_content" |
| 111 | + android:text="@string/activity_planets" |
| 112 | + android:textColor="@color/white" |
| 113 | + android:textSize="18sp" |
| 114 | + android:textStyle="bold" /> |
| 115 | + |
| 116 | + <TextView |
| 117 | + android:layout_width="wrap_content" |
| 118 | + android:layout_height="wrap_content" |
| 119 | + android:text="@string/activity_planets_sub" |
| 120 | + android:textColor="@color/text_secondary" |
| 121 | + android:textSize="13sp" /> |
| 122 | + </LinearLayout> |
| 123 | + </LinearLayout> |
| 124 | + </com.google.android.material.card.MaterialCardView> |
| 125 | + |
| 126 | + <!-- Tracking ADS-B --> |
| 127 | + <com.google.android.material.card.MaterialCardView |
| 128 | + android:id="@+id/cardAdsb" |
| 129 | + android:layout_width="match_parent" |
| 130 | + android:layout_height="wrap_content" |
| 131 | + android:layout_marginBottom="16dp" |
| 132 | + android:clickable="true" |
| 133 | + android:focusable="true" |
| 134 | + app:cardCornerRadius="16dp" |
| 135 | + app:cardBackgroundColor="@color/bg_card" |
| 136 | + app:strokeWidth="0dp" |
| 137 | + android:alpha="0.6"> |
| 138 | + |
| 139 | + <LinearLayout |
| 140 | + android:layout_width="match_parent" |
| 141 | + android:layout_height="wrap_content" |
| 142 | + android:orientation="horizontal" |
| 143 | + android:padding="20dp" |
| 144 | + android:gravity="center_vertical"> |
| 145 | + |
| 146 | + <ImageView |
| 147 | + android:layout_width="40dp" |
| 148 | + android:layout_height="40dp" |
| 149 | + android:src="@android:drawable/ic_menu_send" |
| 150 | + app:tint="@color/white" /> |
| 151 | + |
| 152 | + <LinearLayout |
| 153 | + android:layout_width="0dp" |
| 154 | + android:layout_height="wrap_content" |
| 155 | + android:layout_weight="1" |
| 156 | + android:orientation="vertical" |
| 157 | + android:layout_marginStart="20dp"> |
| 158 | + |
| 159 | + <TextView |
| 160 | + android:layout_width="wrap_content" |
| 161 | + android:layout_height="wrap_content" |
| 162 | + android:text="@string/activity_adsb" |
| 163 | + android:textColor="@color/white" |
| 164 | + android:textSize="18sp" |
| 165 | + android:textStyle="bold" /> |
| 166 | + |
| 167 | + <TextView |
| 168 | + android:layout_width="wrap_content" |
| 169 | + android:layout_height="wrap_content" |
| 170 | + android:text="@string/activity_adsb_sub" |
| 171 | + android:textColor="@color/text_secondary" |
| 172 | + android:textSize="13sp" /> |
| 173 | + </LinearLayout> |
| 174 | + </LinearLayout> |
| 175 | + </com.google.android.material.card.MaterialCardView> |
| 176 | + |
| 177 | + <!-- Tracking Radiosondes --> |
| 178 | + <com.google.android.material.card.MaterialCardView |
| 179 | + android:id="@+id/cardRadiosonde" |
| 180 | + android:layout_width="match_parent" |
| 181 | + android:layout_height="wrap_content" |
| 182 | + android:clickable="true" |
| 183 | + android:focusable="true" |
| 184 | + app:cardCornerRadius="16dp" |
| 185 | + app:cardBackgroundColor="@color/bg_card" |
| 186 | + app:strokeWidth="0dp" |
| 187 | + android:alpha="0.6"> |
| 188 | + |
| 189 | + <LinearLayout |
| 190 | + android:layout_width="match_parent" |
| 191 | + android:layout_height="wrap_content" |
| 192 | + android:orientation="horizontal" |
| 193 | + android:padding="20dp" |
| 194 | + android:gravity="center_vertical"> |
| 195 | + |
| 196 | + <ImageView |
| 197 | + android:layout_width="40dp" |
| 198 | + android:layout_height="40dp" |
| 199 | + android:src="@android:drawable/ic_menu_mylocation" |
| 200 | + app:tint="@color/white" /> |
| 201 | + |
| 202 | + <LinearLayout |
| 203 | + android:layout_width="0dp" |
| 204 | + android:layout_height="wrap_content" |
| 205 | + android:layout_weight="1" |
| 206 | + android:orientation="vertical" |
| 207 | + android:layout_marginStart="20dp"> |
| 208 | + |
| 209 | + <TextView |
| 210 | + android:layout_width="wrap_content" |
| 211 | + android:layout_height="wrap_content" |
| 212 | + android:text="@string/activity_radiosonde" |
| 213 | + android:textColor="@color/white" |
| 214 | + android:textSize="18sp" |
| 215 | + android:textStyle="bold" /> |
| 216 | + |
| 217 | + <TextView |
| 218 | + android:layout_width="wrap_content" |
| 219 | + android:layout_height="wrap_content" |
| 220 | + android:text="@string/activity_radiosonde_sub" |
| 221 | + android:textColor="@color/text_secondary" |
| 222 | + android:textSize="13sp" /> |
| 223 | + </LinearLayout> |
| 224 | + </LinearLayout> |
| 225 | + </com.google.android.material.card.MaterialCardView> |
| 226 | + |
| 227 | + </LinearLayout> |
| 228 | +</ScrollView> |
0 commit comments