2020-01-17 01:53:32 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@drawable/default_dialog_background_inset"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="32dp"
|
|
|
|
android:paddingTop="@dimen/medium_spacing"
|
|
|
|
android:paddingRight="32dp"
|
|
|
|
android:paddingBottom="@dimen/medium_spacing">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Change Device Name"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textSize="@dimen/medium_font_size" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
style="@style/SessionEditText"
|
|
|
|
android:id="@+id/deviceNameEditText"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/medium_spacing"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
|
|
android:layout_marginRight="@dimen/medium_spacing"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
android:paddingBottom="12dp"
|
2020-05-25 07:11:15 +00:00
|
|
|
android:hint="@string/dialog_edit_device_name_edit_text_hint" />
|
2020-01-17 01:53:32 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
2020-08-24 06:46:12 +00:00
|
|
|
style="@style/Widget.Session.Button.Dialog.Unimportant"
|
2020-01-17 01:53:32 +00:00
|
|
|
android:id="@+id/cancelButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_weight="1"
|
2020-05-25 07:11:15 +00:00
|
|
|
android:text="@string/cancel" />
|
2020-01-17 01:53:32 +00:00
|
|
|
|
|
|
|
<Button
|
2020-08-24 06:46:12 +00:00
|
|
|
style="@style/Widget.Session.Button.Dialog.Unimportant"
|
2020-01-17 01:53:32 +00:00
|
|
|
android:id="@+id/okButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_marginLeft="@dimen/medium_spacing"
|
2020-05-25 07:11:15 +00:00
|
|
|
android:text="@string/ok" />
|
2020-01-17 01:53:32 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|