discord-jadx/app/src/main/res/layout/widget_user_sheet.xml

59 lines
9.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?attr/colorBackgroundSecondary" android:focusable="true" android:focusableInTouchMode="true" android:contentDescription="@string/profile" style="@style/res_2131952597_uikit_viewgroup_nestedscrollview">
<FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content">
<LinearLayout android:id="@+id/user_sheet_content" android:layout_marginBottom="16dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<FrameLayout android:background="?attr/colorBackgroundTertiary" android:layout_width="match_parent" android:layout_height="wrap_content" android:elevation="@dimen/uikit_elevation_low">
<com.discord.widgets.user.profile.UserProfileHeaderView android:id="@+id/user_sheet_profile_header_view" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintTop_toTopOf="0" app:user_profile_header_background_color="?attr/colorBackgroundTertiary"/>
<ImageView android:layout_gravity="top|right|center_vertical|center_horizontal|center|end" android:id="@+id/user_sheet_more_button" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginTop="16dp" android:src="@drawable/ic_more_options_with_circular_background" android:contentDescription="@string/more" android:layout_marginEnd="16dp" style="@style/res_2131952449_uikit_imageview_clickable"/>
</FrameLayout>
<View android:id="@+id/user_sheet_profile_actions_divider" android:visibility="gone" style="@style/res_2131952422_uikit_divider"/>
<LinearLayout android:id="@+id/user_sheet_profile_actions_container" android:background="?attr/colorBackgroundTertiary" android:elevation="@dimen/uikit_elevation_low" style="@style/res_2131952594_uikit_viewgroup_linearlayout_horizontal">
<Button android:id="@+id/user_sheet_message_action_button" android:layout_width="0dp" android:text="@string/user_profile_message" android:drawableTop="?attr/ic_user_profile_action_message" android:layout_weight="1" style="@style/res_2131952447_uikit_imagebutton"/>
<Button android:id="@+id/user_sheet_call_action_button" android:layout_width="0dp" android:text="@string/user_profile_audio" android:drawableTop="?attr/ic_user_profile_action_call" android:layout_weight="1" style="@style/res_2131952447_uikit_imagebutton"/>
<Button android:id="@+id/user_sheet_video_action_button" android:layout_width="0dp" android:text="@string/user_profile_video" android:drawableTop="?attr/ic_user_profile_action_video" android:layout_weight="1" style="@style/res_2131952447_uikit_imagebutton"/>
<Button android:textColor="@color/status_green_600" android:id="@+id/user_sheet_add_friend_action_button" android:visibility="gone" android:layout_width="0dp" android:text="@string/user_profile_add_friend" android:drawableTop="@drawable/ic_add_friend_plus" android:layout_weight="1" style="@style/res_2131952447_uikit_imagebutton"/>
<Button android:textColor="@color/status_yellow_500" android:id="@+id/user_sheet_pending_friend_request_action_button" android:visibility="gone" android:layout_width="0dp" android:text="@string/user_profile_pending" android:drawableTop="@drawable/ic_user_profile_action_pending" android:layout_weight="1" style="@style/res_2131952447_uikit_imagebutton"/>
</LinearLayout>
<androidx.cardview.widget.CardView android:id="@+id/user_sheet_profile_stage_actions_card" android:visibility="gone" android:layout_marginTop="16dp" style="@style/res_2131952617_userprofile_section_card">
<com.discord.widgets.stage.usersheet.UserProfileStageActionsView android:id="@+id/user_sheet_profile_stage_actions_view" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content"/>
</androidx.cardview.widget.CardView>
<TextView android:id="@+id/user_sheet_incoming_friend_request_header" android:visibility="gone" android:text="@string/incoming_friend_request" style="@style/res_2131952618_userprofile_section_header"/>
<LinearLayout android:id="@+id/user_sheet_friend_request_incoming_container" android:visibility="gone" android:layout_width="match_parent" android:paddingStart="16dp" android:paddingEnd="16dp" style="@style/res_2131952594_uikit_viewgroup_linearlayout_horizontal">
<com.google.android.material.button.MaterialButton android:id="@+id/user_sheet_friend_request_ignore_button" android:text="@string/friend_request_ignore" android:layout_weight="1" android:layout_marginEnd="8dp" style="@style/res_2131952466_uikit_material_button_secondary_fit"/>
<com.google.android.material.button.MaterialButton android:id="@+id/user_sheet_friend_request_accept_button" android:text="@string/friend_request_accept" android:layout_weight="1" style="@style/res_2131952459_uikit_material_button_green_fit"/>
</LinearLayout>
<TextView android:id="@+id/about_me_header" android:visibility="gone" android:text="@string/user_popout_about_me" style="@style/res_2131952618_userprofile_section_header"/>
<androidx.cardview.widget.CardView android:id="@+id/about_me_card" android:visibility="gone" style="@style/res_2131952617_userprofile_section_card">
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/about_me_text" android:padding="16dp" android:maxLines="6" android:lineSpacingMultiplier="1.25" style="@style/res_2131952561_uikit_textview"/>
</androidx.cardview.widget.CardView>
<TextView android:id="@+id/user_sheet_profile_voice_settings_header" android:text="@string/voice_settings" style="@style/res_2131952618_userprofile_section_header"/>
<androidx.cardview.widget.CardView android:id="@+id/voice_settings_view_card" android:visibility="gone" style="@style/res_2131952617_userprofile_section_card">
<com.discord.widgets.user.usersheet.UserProfileVoiceSettingsView android:id="@+id/user_sheet_profile_voice_settings_view" android:layout_width="match_parent" android:layout_height="wrap_content"/>
</androidx.cardview.widget.CardView>
<FrameLayout android:id="@+id/rich_presence_container" android:visibility="gone" style="@style/res_2131952587_uikit_viewgroup"/>
<LinearLayout android:id="@+id/user_sheet_guild_container" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:id="@+id/user_sheet_guild_header" style="@style/res_2131952618_userprofile_section_header"/>
<com.discord.widgets.roles.RolesListView android:id="@+id/user_sheet_roles_list" android:contentDescription="@string/roles" style="@style/res_2131952616_userprofile_section"/>
<androidx.cardview.widget.CardView android:id="@+id/user_sheet_admin_card" android:layout_marginTop="16dp" style="@style/res_2131952617_userprofile_section_card">
<com.discord.widgets.user.profile.UserProfileAdminView android:id="@+id/user_sheet_admin_view" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content"/>
</androidx.cardview.widget.CardView>
</LinearLayout>
<TextView android:id="@+id/user_sheet_connections_header" android:visibility="gone" android:text="@string/connections" style="@style/res_2131952618_userprofile_section_header"/>
<androidx.cardview.widget.CardView style="@style/res_2131952617_userprofile_section_card">
<com.discord.widgets.user.profile.UserProfileConnectionsView android:id="@+id/user_sheet_connections_view" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content"/>
</androidx.cardview.widget.CardView>
<TextView android:id="@+id/user_sheet_note_header" android:text="@string/note" style="@style/res_2131952618_userprofile_section_header"/>
<androidx.cardview.widget.CardView style="@style/res_2131952617_userprofile_section_card">
<com.google.android.material.textfield.TextInputLayout android:id="@+id/user_sheet_note_text_field_wrap" android:layout_marginBottom="16dp" android:hint="@string/note_placeholder_mobile" app:boxStrokeWidth="0dp" app:counterEnabled="true" app:counterMaxLength="256" style="@style/res_2131952556_uikit_textinputlayout_primary">
<com.google.android.material.textfield.TextInputEditText android:id="@+id/user_sheet_note_text_field" android:maxLength="256" android:inputType="textMultiLine" android:imeOptions="actionDone" style="@style/res_2131952544_uikit_textinputlayout_edittext"/>
</com.google.android.material.textfield.TextInputLayout>
</androidx.cardview.widget.CardView>
<TextView android:id="@+id/user_sheet_developer_header" android:text="@string/developer_mode" style="@style/res_2131952618_userprofile_section_header"/>
<TextView android:id="@+id/user_sheet_copy_id" android:visibility="gone" android:text="@string/copy_id" app:drawableStartCompat="?attr/ic_copy" style="@style/res_2131952452_uikit_listitem_icon"/>
</LinearLayout>
<FrameLayout android:id="@+id/user_sheet_loading_container" android:background="?attr/colorBackgroundSecondary" android:layout_width="match_parent" android:layout_height="match_parent">
<androidx.core.widget.ContentLoadingProgressBar android:layout_gravity="top|center_vertical|center_horizontal|center" android:id="@+id/loading_progress_bar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="32dp" android:contentDescription="@string/loading" style="?android:attr/progressBarStyleLarge"/>
</FrameLayout>
</FrameLayout>
</androidx.core.widget.NestedScrollView>