summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/chart_tooltip.xml
blob: a88bc6fe2e92e32e23682ea20c38cf96e71dd871 (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
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright (C) 2022 E FOUNDATION
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  -->

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="44dp"
    >
    <View
        android:id="@+id/arrow_top_left"
        android:layout_width="12dp"
        android:layout_height="12dp"
        android:layout_gravity="top|left"
        android:layout_marginLeft="4dp"
        android:background="@drawable/part_square"
        android:visibility="gone"
        />
    <View
        android:id="@+id/arrow_top_center"
        android:layout_width="12dp"
        android:layout_height="12dp"
        android:layout_gravity="top|center_horizontal"
        android:background="@drawable/part_square"
        android:visibility="gone"
        />
    <View
        android:id="@+id/arrow_top_right"
        android:layout_width="12dp"
        android:layout_height="12dp"
        android:layout_gravity="top|right"
        android:layout_marginRight="4dp"
        android:background="@drawable/part_square"
        android:visibility="gone"
        />
    <TextView
        android:id="@+id/label"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:gravity="center"
        android:text="01/00 - 01:59"
        android:textColor="@color/white"
        android:paddingHorizontal="8dp"
        android:background="@drawable/bg_rounded"
        android:layout_marginTop="6dp"
        android:layout_marginBottom="6dp"
        />
    <View
        android:id="@+id/arrow_bottom_left"
        android:layout_width="12dp"
        android:layout_height="12dp"
        android:layout_gravity="bottom|left"
        android:layout_marginLeft="4dp"
        android:background="@drawable/part_square"
        android:visibility="gone"
        />
    <View
        android:id="@+id/arrow_bottom_center"
        android:layout_width="12dp"
        android:layout_height="12dp"
        android:layout_gravity="bottom|center_horizontal"
        android:background="@drawable/part_square"
        android:visibility="gone"
        />
    <View
        android:id="@+id/arrow_bottom_right"
        android:layout_width="12dp"
        android:layout_height="12dp"
        android:layout_gravity="bottom|right"
        android:layout_marginRight="4dp"
        android:background="@drawable/part_square"
        android:visibility="gone"
        />
</FrameLayout>