mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-17 21:21:46 +00:00
fix group member edit icons, improve design
This commit is contained in:
@@ -18,6 +18,15 @@
|
||||
android:layout_marginTop="@dimen/small_spacing"
|
||||
android:layout_marginRight="@dimen/large_spacing">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancelEditButton"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_toLeftOf="@+id/groupNameEditText"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@drawable/ic_close_white_24dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<EditText
|
||||
style="@style/SessionEditText"
|
||||
android:id="@+id/groupNameEditText"
|
||||
@@ -27,10 +36,10 @@
|
||||
android:textAlignment="center"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="@dimen/large_spacing"
|
||||
android:paddingHorizontal="@dimen/large_spacing"
|
||||
android:visibility="invisible"
|
||||
android:hint="@string/activity_edit_closed_group_edit_text_hint" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/displayNameTextView"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -42,6 +51,15 @@
|
||||
android:drawableRight="@drawable/ic_edit_white_24dp"
|
||||
android:drawablePadding="@dimen/small_spacing"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/saveEditButton"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:src="@drawable/ic_check_white_24dp"
|
||||
android:layout_toRightOf="@+id/groupNameEditText"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -52,22 +70,6 @@
|
||||
android:layout_height="0px"
|
||||
android:layout_width="@dimen/large_spacing"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cancelEditButton"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_weight="1"
|
||||
android:src="@drawable/ic_close_white_24dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/saveEditButton"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_check_white_24dp"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:layout_weight="2"
|
||||
android:layout_height="0px"
|
||||
|
Reference in New Issue
Block a user