mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
SES-2259 Remove 35 char display name char limit
This commit is contained in:
parent
e3685f65f8
commit
eb63af2f8d
@ -49,7 +49,6 @@
|
||||
android:hint="@string/activity_settings_display_name_edit_text_hint"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="textCapWords"
|
||||
android:maxLength="@integer/max_user_nickname_length_chars"
|
||||
android:maxLines="1" />
|
||||
|
||||
<TextView
|
||||
@ -61,7 +60,6 @@
|
||||
android:gravity="center"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:textSize="@dimen/very_large_font_size"
|
||||
android:maxLength="@integer/max_user_nickname_length_chars"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
@ -91,7 +91,6 @@
|
||||
android:textAlignment="center"
|
||||
android:paddingVertical="12dp"
|
||||
android:inputType="text"
|
||||
android:maxLength="@integer/max_user_nickname_length_chars"
|
||||
android:maxLines="1"
|
||||
android:imeOptions="actionDone"
|
||||
android:textColorHint="?android:textColorSecondary"
|
||||
|
@ -1,39 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?conversation_menu_cell_color"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/contentView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingHorizontal="@dimen/large_spacing"
|
||||
android:paddingVertical="@dimen/small_spacing">
|
||||
|
||||
<org.thoughtcrime.securesms.components.ProfilePictureView
|
||||
android:id="@+id/profilePictureView"
|
||||
android:layout_width="@dimen/small_profile_picture_size"
|
||||
android:layout_height="@dimen/small_profile_picture_size" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/nameTextView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/medium_spacing"
|
||||
android:maxLength="@integer/max_user_nickname_length_chars"
|
||||
android:maxLines="1"
|
||||
android:textAlignment="viewStart"
|
||||
android:ellipsize="end"
|
||||
android:textSize="@dimen/medium_font_size"
|
||||
android:textStyle="bold"
|
||||
android:layout_weight="1"
|
||||
tools:text="Spiderman" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
@ -7,6 +7,5 @@
|
||||
<integer name="reaction_scrubber_hide_duration">150</integer>
|
||||
<integer name="reaction_scrubber_emoji_reveal_duration_start_delay_factor">10</integer>
|
||||
|
||||
<integer name="max_user_nickname_length_chars">35</integer>
|
||||
<integer name="max_group_and_community_name_length_chars">35</integer>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user