|
|
|
@ -29,27 +29,37 @@
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
|
android:visibility="visible">
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/nameTextView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:textSize="@dimen/massive_font_size"
|
|
|
|
|
android:layout_marginStart="@dimen/small_spacing"
|
|
|
|
|
android:layout_marginEnd="@dimen/small_spacing"
|
|
|
|
|
android:textSize="@dimen/large_font_size"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textColor="@color/text"
|
|
|
|
|
android:textAlignment="center"
|
|
|
|
|
android:text="Spiderman"
|
|
|
|
|
android:paddingStart="24dp"
|
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
|
android:drawableEnd="@drawable/ic_baseline_edit_24"
|
|
|
|
|
android:drawablePadding="@dimen/small_spacing" />
|
|
|
|
|
android:text="Spiderman" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="20dp"
|
|
|
|
|
android:layout_height="22dp"
|
|
|
|
|
android:paddingTop="2dp"
|
|
|
|
|
android:src="@drawable/ic_baseline_edit_24" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/nameEditContainer"
|
|
|
|
|
android:id="@+id/nameEditTextContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
@ -57,34 +67,32 @@
|
|
|
|
|
android:visibility="invisible">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/btnCancelNickNameEdit"
|
|
|
|
|
android:id="@+id/cancelNicknameEditingButton"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:src="@drawable/ic_baseline_clear_24"/>
|
|
|
|
|
android:src="@drawable/ic_baseline_clear_24" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/nameEditText"
|
|
|
|
|
style="@style/SessionEditText"
|
|
|
|
|
android:id="@+id/nicknameEditText"
|
|
|
|
|
style="@style/SmallSessionEditText"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginStart="@dimen/small_spacing"
|
|
|
|
|
android:layout_marginEnd="@dimen/small_spacing"
|
|
|
|
|
android:textAlignment="center"
|
|
|
|
|
android:textSize="@dimen/very_large_font_size"
|
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingBottom="12dp"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:imeOptions="actionDone"
|
|
|
|
|
android:hint="Enter a name"/>
|
|
|
|
|
android:hint="@string/fragment_user_details_bottom_sheet_edit_text_hint" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/btnSaveNickNameEdit"
|
|
|
|
|
android:id="@+id/saveNicknameButton"
|
|
|
|
|
android:layout_width="24dp"
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:src="@drawable/ic_baseline_done_24"/>
|
|
|
|
|
android:src="@drawable/ic_baseline_done_24" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
@ -95,8 +103,8 @@
|
|
|
|
|
android:id="@+id/publicKeyTextView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textSize="@dimen/large_font_size"
|
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
|
android:text="05987d601943c267879be41830888066c6a024cbdc9a548d06813924bf3372ea78" />
|
|
|
|
|
|
|
|
|
|