2018-05-10 11:31:38 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2019-11-20 09:26:34 -04:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-05-10 11:31:38 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-07-15 13:18:38 -03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-05-10 11:31:38 -07:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-06-05 15:47:14 -04:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
2018-05-10 11:31:38 -07:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
2022-07-15 13:18:38 -03:00
|
|
|
android:layout_height="@dimen/signal_m3_toolbar_height"
|
|
|
|
android:minHeight="@dimen/signal_m3_toolbar_height"
|
|
|
|
app:navigationIcon="@drawable/ic_x"
|
|
|
|
app:title="@string/ContactShareEditActivity__edit_name"
|
|
|
|
app:titleTextAppearance="@style/Signal.Text.TitleLarge" />
|
2018-05-10 11:31:38 -07:00
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-15 13:18:38 -03:00
|
|
|
android:orientation="vertical">
|
2018-05-10 11:31:38 -07:00
|
|
|
|
2022-07-15 13:18:38 -03:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
style="@style/Widget.Signal.TextInputLayout.FilledBox.ContactNameEditor"
|
2018-05-10 11:31:38 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-15 13:18:38 -03:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:minHeight="56dp">
|
2018-05-10 11:31:38 -07:00
|
|
|
|
2022-07-15 13:18:38 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiEditText
|
|
|
|
android:id="@+id/name_edit_prefix"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/ContactNameEditActivity_prefix"
|
|
|
|
android:textAppearance="@style/Signal.Text.BodyLarge" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-05-10 11:31:38 -07:00
|
|
|
|
2022-07-15 13:18:38 -03:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
style="@style/Widget.Signal.TextInputLayout.FilledBox.ContactNameEditor"
|
2018-05-10 11:31:38 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-15 13:18:38 -03:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:minHeight="56dp">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiEditText
|
|
|
|
android:id="@+id/name_edit_given_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/ContactNameEditActivity_given_name"
|
|
|
|
tools:text="@tools:sample/first_names"
|
|
|
|
android:textAppearance="@style/Signal.Text.BodyLarge" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-05-10 11:31:38 -07:00
|
|
|
|
2022-07-15 13:18:38 -03:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
style="@style/Widget.Signal.TextInputLayout.FilledBox.ContactNameEditor"
|
2018-05-10 11:31:38 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-15 13:18:38 -03:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:minHeight="56dp">
|
2018-05-10 11:31:38 -07:00
|
|
|
|
2022-07-15 13:18:38 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiEditText
|
|
|
|
android:id="@+id/name_edit_middle_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/ContactNameEditActivity_middle_name"
|
|
|
|
android:textAppearance="@style/Signal.Text.BodyLarge" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
style="@style/Widget.Signal.TextInputLayout.FilledBox.ContactNameEditor"
|
2018-05-10 11:31:38 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-15 13:18:38 -03:00
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:minHeight="56dp">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiEditText
|
|
|
|
android:id="@+id/name_edit_family_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/ContactNameEditActivity_family_name"
|
|
|
|
android:textAppearance="@style/Signal.Text.BodyLarge" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-05-10 11:31:38 -07:00
|
|
|
|
2022-07-15 13:18:38 -03:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
style="@style/Widget.Signal.TextInputLayout.FilledBox.ContactNameEditor"
|
2018-05-10 11:31:38 -07:00
|
|
|
android:layout_width="match_parent"
|
2022-07-15 13:18:38 -03:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiEditText
|
|
|
|
android:id="@+id/name_edit_suffix"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/ContactNameEditActivity_suffix"
|
|
|
|
android:textAppearance="@style/Signal.Text.BodyLarge" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
2018-05-10 11:31:38 -07:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|