activity_main.xml 1.43 KB
Newer Older
Mattia Ducci's avatar
Mattia Ducci committed
1
<?xml version="1.0" encoding="utf-8"?>
2
<android.widget.LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Mattia Ducci's avatar
Mattia Ducci committed
3 4 5 6
    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"
7
    android:orientation="vertical"
Mattia Ducci's avatar
Mattia Ducci committed
8 9 10
    tools:context=".MainActivity">

    <TextView
11 12
        android:id="@+id/lbl_track_screen"
        android:layout_width="match_parent"
Mattia Ducci's avatar
Mattia Ducci committed
13
        android:layout_height="wrap_content"
14 15
        android:text="Track screen"
        android:textColor="@android:color/holo_red_light"
Mattia Ducci's avatar
Mattia Ducci committed
16 17 18 19 20
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
    <Switch
        android:id="@+id/entered_exited_screen_track_switch"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:showText="true"
        android:splitTrack="false"
        android:text="Tipo di evento"
        android:textOff="EXITED"
        android:textOn="ENTERED" />

    <Button
        android:id="@+id/btn_send_screen_track_event"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:onClick="onBtnScreenEventTrack"
        android:text="Invia screen track event" />

</android.widget.LinearLayout>