summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/layout/view_fishing_overlay.xml
blob: 1084d6a75d1917180322ed3358463828d40b4d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="16dp"
    app:cardCornerRadius="12dp"
    app:cardElevation="4dp"
    app:cardBackgroundColor="#CC004D40">

    <LinearLayout
        android:layout_width="220dp"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="12dp">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:gravity="center_vertical"
            android:layout_marginBottom="6dp">

            <TextView
                android:id="@+id/tv_fish_species"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="Ono &amp; Mahi"
                android:textSize="14sp"
                android:textStyle="bold"
                android:textColor="#FFFFFFFF" />

            <TextView
                android:id="@+id/tv_fish_bearing"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="270°"
                android:textSize="20sp"
                android:textStyle="bold"
                android:textColor="#FF80CBC4" />

        </LinearLayout>

        <TextView
            android:id="@+id/tv_fish_zone"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="76°F water, 1.2 kt current"
            android:textSize="11sp"
            android:textColor="#99FFFFFF"
            android:layout_marginBottom="8dp" />

        <TextView
            android:id="@+id/tv_fish_rig"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Blue/white 9&#34; jet head, 80# mono"
            android:textSize="11sp"
            android:textColor="#CCFFFFFF"
            android:layout_marginBottom="4dp" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:gravity="center_vertical">

            <TextView
                android:id="@+id/tv_fish_speed"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="Troll 8 kt"
                android:textSize="11sp"
                android:textColor="#CCFFFFFF" />

            <TextView
                android:id="@+id/tv_fish_distance"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="~5 nm"
                android:textSize="11sp"
                android:textColor="#99FFFFFF" />

        </LinearLayout>

        <TextView
            android:id="@+id/tv_fish_approach"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Troll along current edge; watch for color change"
            android:textSize="10sp"
            android:textColor="#88FFFFFF"
            android:layout_marginTop="6dp" />

    </LinearLayout>

</com.google.android.material.card.MaterialCardView>