diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-04-22 21:25:06 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-04-22 21:25:06 +0200 |
commit | 1901abd05fc051b776e2bbb10295f936408a0843 (patch) | |
tree | e010518afdcd1723a292df8b65981154284ddf77 /src/main/res/layout/presence_template.xml | |
parent | 195b745efc0747e930a639d2c89d4c3a79e0a3c2 (diff) |
expert setting to manually change presence
Diffstat (limited to 'src/main/res/layout/presence_template.xml')
-rw-r--r-- | src/main/res/layout/presence_template.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/main/res/layout/presence_template.xml b/src/main/res/layout/presence_template.xml new file mode 100644 index 00000000..aa4ded5a --- /dev/null +++ b/src/main/res/layout/presence_template.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="?android:attr/activatedBackgroundIndicator" + android:paddingTop="8dp" + android:paddingLeft="8dp" + android:paddingBottom="8dp" + android:id="@+id/presence_template"> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_centerVertical="true" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:layout_toLeftOf="@+id/delete_button" + android:layout_toStartOf="@+id/delete_button" + android:layout_marginRight="8dp"> + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/presence_status_message" + android:textColor="@color/black87" + android:textSize="?attr/TextSizeBody"/> + <TextView + android:id="@+id/status" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingBottom="1dp" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:paddingTop="1dp" + android:textAllCaps="true" + android:textColor="@color/white" + android:textSize="?attr/TextSizeInfo" + android:layout_marginTop="4dp"/> + </LinearLayout> + <ImageButton + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/delete_button" + android:layout_centerVertical="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" + android:background="?android:selectableItemBackground" + android:padding="@dimen/image_button_padding" + android:src="?attr/icon_remove"/> +</RelativeLayout>
\ No newline at end of file |