mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 12:39:58 +01:00
Hide other options in conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
857aa24e08
commit
252a37e0e8
@ -99,7 +99,7 @@ public class ConversationInfoController extends BaseController {
|
||||
MaterialStandardPreference deleteConversationAction;
|
||||
@BindView(R.id.leaveConversationAction)
|
||||
MaterialStandardPreference leaveConversationAction;
|
||||
@BindView(R.id.otherRoomOptions)
|
||||
@BindView(R.id.ownOptions)
|
||||
MaterialPreferenceCategory ownOptionsCategory;
|
||||
|
||||
@Inject
|
||||
|
@ -62,8 +62,8 @@
|
||||
android:id="@+id/avatar_image"
|
||||
android:layout_width="@dimen/avatar_size_big"
|
||||
android:layout_height="@dimen/avatar_size_big"
|
||||
apc:roundAsCircle="true"
|
||||
android:layout_centerHorizontal="true" />
|
||||
android:layout_centerHorizontal="true"
|
||||
apc:roundAsCircle="true" />
|
||||
|
||||
<com.vanniktech.emoji.EmojiTextView
|
||||
android:id="@+id/display_name_text"
|
||||
@ -77,19 +77,19 @@
|
||||
</com.yarolegovich.mp.MaterialPreferenceCategory>
|
||||
|
||||
<com.yarolegovich.mp.MaterialPreferenceCategory
|
||||
android:id="@+id/otherRoomOptions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/conversation_info_name"
|
||||
android:id="@+id/otherRoomOptions"
|
||||
android:visibility="gone">
|
||||
|
||||
<com.yarolegovich.mp.MaterialStandardPreference
|
||||
android:id="@+id/favoiteConversationAction"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
apc:mp_icon="@drawable/ic_star_black_24dp"
|
||||
apc:mp_icon_tint="@color/grey_600"
|
||||
apc:mp_title="@string/nc_add_to_favorites"
|
||||
android:id="@+id/favoriteConversationAction">
|
||||
apc:mp_title="@string/nc_add_to_favorites">
|
||||
|
||||
</com.yarolegovich.mp.MaterialStandardPreference>
|
||||
|
||||
@ -121,27 +121,27 @@
|
||||
</com.yarolegovich.mp.MaterialPreferenceCategory>
|
||||
|
||||
<com.yarolegovich.mp.MaterialPreferenceCategory
|
||||
android:id="@+id/ownOptions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/participants_list_category"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/ownOptions">
|
||||
android:visibility="gone">
|
||||
|
||||
<com.yarolegovich.mp.MaterialStandardPreference
|
||||
android:id="@+id/leaveConversationAction"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
apc:mp_title="@string/nc_leave"
|
||||
apc:mp_icon="@drawable/ic_exit_to_app_black_24dp"
|
||||
apc:mp_icon_tint="@color/grey_600"
|
||||
android:id="@+id/leaveConversationAction" />
|
||||
apc:mp_title="@string/nc_leave" />
|
||||
|
||||
<com.yarolegovich.mp.MaterialStandardPreference
|
||||
android:id="@+id/deleteConversationAction"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
apc:mp_title="@string/nc_delete_call"
|
||||
apc:mp_icon_tint="@color/grey_600"
|
||||
apc:mp_icon="@drawable/ic_delete_black_24dp"
|
||||
android:id="@+id/deleteConversationAction" />
|
||||
apc:mp_icon_tint="@color/grey_600"
|
||||
apc:mp_title="@string/nc_delete_call" />
|
||||
|
||||
</com.yarolegovich.mp.MaterialPreferenceCategory>
|
||||
</RelativeLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user