82 lines
3.8 KiB
XML
82 lines
3.8 KiB
XML
<?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">
|
|
|
|
<EditText
|
|
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="@color/accent"/>
|
|
</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> |