summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/apptrackers_item_tracker_toggle.xml
blob: 753e734003ecdc25d4a1492907c1a179bc4f7fea (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
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2023 MURENA SAS
  ~
  ~ 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/>.
  -->
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/container"
    android:layout_height="62dp"
    android:layout_width="match_parent"
    android:gravity="center_vertical"
    >
    <TextView
        android:id="@+id/title"
        android:layout_centerVertical="true"
        android:layout_height="wrap_content"
        android:layout_width="0dp"
        android:layout_weight="1"
        android:maxLines="1"
        android:ellipsize="end"
        android:textSize="14sp"
        android:lineHeight="20sp"
        android:textFontWeight="400"
        tools:text="Body sensor"
        />
    <Switch
        android:id="@+id/toggle"
        android:layout_width="wrap_content"
        android:layout_height="24dp"
        android:checked="true"
        />
</androidx.appcompat.widget.LinearLayoutCompat>