diff options
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/activity_set_presence.xml | 82 | ||||
-rw-r--r-- | src/main/res/layout/presence_template.xml | 50 |
2 files changed, 0 insertions, 132 deletions
diff --git a/src/main/res/layout/activity_set_presence.xml b/src/main/res/layout/activity_set_presence.xml deleted file mode 100644 index b129e9eb8..000000000 --- a/src/main/res/layout/activity_set_presence.xml +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<layout xmlns:android="http://schemas.android.com/apk/res/android"> - - <ScrollView - android:id="@+id/scroll_view" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:background="?attr/color_background_secondary"> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <android.support.v7.widget.CardView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/activity_vertical_margin" - android:layout_marginLeft="@dimen/activity_horizontal_margin" - android:layout_marginRight="@dimen/activity_horizontal_margin" - android:layout_marginTop="@dimen/activity_vertical_margin"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:padding="@dimen/card_padding_regular"> - - <android.support.text.emoji.widget.EmojiAppCompatEditText - android:id="@+id/presence_status_message" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginBottom="8dp" - android:hint="@string/status_message" - android:inputType="textMultiLine" /> - - <Spinner - android:id="@+id/presence_show" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" /> - - <CheckBox - android:id="@+id/all_accounts" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginBottom="16dp" - android:layout_marginTop="16dp" - android:text="@string/all_accounts_on_this_device" /> - - <Button - android:id="@+id/change_presence" - style="?android:attr/borderlessButtonStyle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="right" - android:layout_marginBottom="-8dp" - android:layout_marginRight="-8dp" - android:text="@string/change_presence" - android:textColor="?attr/colorAccent" /> - </LinearLayout> - </android.support.v7.widget.CardView> - - <android.support.v7.widget.CardView - android:id="@+id/templates_card" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/activity_vertical_margin" - android:layout_marginLeft="@dimen/activity_horizontal_margin" - android:layout_marginRight="@dimen/activity_horizontal_margin" - android:layout_marginTop="@dimen/activity_vertical_margin"> - - <LinearLayout - android:id="@+id/templates" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:padding="@dimen/card_padding_list" /> - </android.support.v7.widget.CardView> - </LinearLayout> - </ScrollView> -</layout>
\ No newline at end of file diff --git a/src/main/res/layout/presence_template.xml b/src/main/res/layout/presence_template.xml deleted file mode 100644 index 61780a55c..000000000 --- a/src/main/res/layout/presence_template.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/presence_template" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="?android:attr/activatedBackgroundIndicator" - android:padding="12dp"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_alignParentLeft="true" - android:layout_alignParentStart="true" - android:layout_centerVertical="true" - android:layout_marginRight="8dp" - android:layout_toLeftOf="@+id/delete_button" - android:layout_toStartOf="@+id/delete_button" - android:minHeight="48dp" - android:orientation="vertical"> - - <android.support.text.emoji.widget.EmojiTextView - android:id="@+id/presence_status_message" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textAppearance="@style/TextAppearance.Conversations.Body1" /> - - <android.support.text.emoji.widget.EmojiTextView - android:id="@+id/status" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="4dp" - android:paddingBottom="1dp" - android:paddingLeft="4dp" - android:paddingRight="4dp" - android:paddingTop="1dp" - android:textAllCaps="true" - android:textAppearance="@style/TextAppearance.Conversations.Tag" /> - </LinearLayout> - - <ImageButton - android:id="@+id/delete_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" - android:layout_centerVertical="true" - android:background="?attr/color_background_secondary" - android:padding="@dimen/image_button_padding" - android:src="?attr/icon_remove" /> -</RelativeLayout>
\ No newline at end of file |