123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:baselineAligned="false"
- android:orientation="horizontal"
- android:weightSum="1">
- <View android:id="@+id/services_circle"
- android:layout_width="25dp" android:layout_height="25dp"
- android:layout_marginLeft="12dp"
- android:layout_marginTop="10dp"
- android:background="@drawable/services_circle" />
- <TextView
- android:id="@+id/services_item_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="false"
- android:layout_marginLeft="50dp"
- android:layout_marginTop="5dp"
- android:layout_weight="1"
- android:textStyle="bold"
- android:textSize="16dp"/>
- <TextView
- android:id="@+id/services_item_rec_attacks"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_marginLeft="50dp"
- android:layout_marginTop="25dp"
- android:layout_weight="1"
- android:text="@string/recorded_attacks"
- android:textStyle="bold"
- android:textSize="12dp"/>
- <Switch
- android:id="@+id/services_item_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="false"
- android:layout_alignParentEnd="false"
- android:layout_alignParentLeft="false"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="false"
- android:layout_gravity="right"
- android:layout_marginLeft="0dp"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="0dp"
- android:layout_weight="1"
- android:checked="false"
- android:textSize="10dp" />
- </RelativeLayout>
- </LinearLayout>
|