discord-jadx/app/src/main/res/layout/widget_guild_profile_action...

42 lines
7.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/guild_profile_sheet_bottom_container" android:paddingBottom="16dp" android:layout_width="0dp" android:paddingStart="16dp" android:paddingEnd="16dp" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/guild_profile_sheet_actions_top_barrier" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<LinearLayout android:id="@+id/guild_profile_sheet_actions" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<androidx.cardview.widget.CardView android:id="@+id/guild_profile_sheet_mark_as_read_action" android:layout_marginTop="16dp" style="@style/res_2131952016_guildprofilesheet_actions_card">
<TextView android:id="@+id/guild_profile_sheet_mark_as_read" android:padding="16dp" android:text="@string/mark_as_read" style="@style/res_2131952018_guildprofilesheet_actions_title"/>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView android:id="@+id/guild_profile_sheet_primary_actions" android:layout_marginTop="16dp" style="@style/res_2131952016_guildprofilesheet_actions_card">
<LinearLayout style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:id="@+id/guild_profile_sheet_create_channel" android:padding="16dp" android:text="@string/create_channel" style="@style/res_2131952018_guildprofilesheet_actions_title"/>
<TextView android:id="@+id/guild_profile_sheet_create_category" android:padding="16dp" android:text="@string/create_category" style="@style/res_2131952018_guildprofilesheet_actions_title"/>
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView android:id="@+id/guild_profile_sheet_secondary_actions" android:layout_marginTop="16dp" style="@style/res_2131952016_guildprofilesheet_actions_card">
<LinearLayout style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<LinearLayout android:id="@+id/guild_profile_sheet_change_nickname" android:background="?attr/bg_pressed_highlight" android:padding="16dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:textAppearance="@style/res_2131952539_uikit_textappearance_semibold" android:textSize="@dimen/uikit_textsize_large" android:layout_gravity="center" android:layout_width="match_parent" android:text="@string/change_nickname" style="@style/res_2131952561_uikit_textview"/>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorTextMuted" android:layout_gravity="center" android:id="@+id/guild_profile_sheet_nickname" android:layout_width="match_parent" style="@style/res_2131952561_uikit_textview"/>
</LinearLayout>
<com.discord.views.CheckedSetting android:id="@+id/guild_profile_sheet_allow_dm" app:cs_subtext="@string/allow_server_dms" app:cs_text="@string/direct_messages" style="@style/res_2131952017_guildprofilesheet_actions_checkedsetting"/>
<com.discord.views.CheckedSetting android:id="@+id/guild_profile_sheet_hide_muted_channels" app:cs_text="@string/hide_muted_channels" style="@style/res_2131952017_guildprofilesheet_actions_checkedsetting"/>
<TextView android:textColor="@color/status_red_500" android:id="@+id/guild_profile_sheet_leave_server" android:padding="16dp" android:text="@string/leave_server" style="@style/res_2131952018_guildprofilesheet_actions_title"/>
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView android:id="@+id/guild_profile_sheet_developer_actions" android:layout_marginTop="16dp" style="@style/res_2131952016_guildprofilesheet_actions_card">
<TextView android:id="@+id/guild_profile_sheet_copy_id" android:padding="16dp" android:text="@string/copy_id" style="@style/res_2131952018_guildprofilesheet_actions_title"/>
</androidx.cardview.widget.CardView>
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="16dp" style="@style/res_2131952594_uikit_viewgroup_linearlayout_horizontal">
<TextView android:textAppearance="@style/res_2131952532_uikit_textappearance_bold" android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:id="@+id/guild_profile_sheet_emojis_count" android:textAllCaps="true" style="@style/res_2131952561_uikit_textview"/>
<ImageView android:id="@+id/guild_profile_sheet_premium_upsell_dot_separator" android:layout_width="4dp" android:layout_height="4dp" android:src="@drawable/drawable_circle_white" android:importantForAccessibility="no" android:layout_marginStart="8dp" app:tint="?attr/colorTextMuted"/>
<TextView android:textAppearance="@style/res_2131952539_uikit_textappearance_semibold" android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/premium_tier_2_purple" android:layout_gravity="center" android:id="@+id/guild_profile_sheet_premium_upsell_text" android:text="@string/game_popout_nitro_upsell" android:drawablePadding="4dp" android:layout_marginStart="8dp" app:drawableStartCompat="@drawable/ic_nitro_badge_nitro_gradient_16dp" style="@style/res_2131952578_uikit_textview_singleline"/>
</LinearLayout>
<androidx.cardview.widget.CardView android:id="@+id/guild_profile_sheet_emojis_card" android:layout_marginTop="8dp" app:contentPadding="8dp" style="@style/res_2131952016_guildprofilesheet_actions_card">
<androidx.recyclerview.widget.RecyclerView android:id="@+id/guild_profile_sheet_emojis" android:layout_width="match_parent" android:layout_height="wrap_content" app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"/>
</androidx.cardview.widget.CardView>
<LinearLayout android:id="@+id/guild_profile_sheet_bottom_actions" android:layout_marginTop="16dp" style="@style/res_2131952594_uikit_viewgroup_linearlayout_horizontal">
<com.google.android.material.button.MaterialButton android:id="@+id/guild_profile_sheet_upload_emoji" android:layout_width="0dp" android:text="@string/upload_emoji" android:layout_weight="1" style="@style/res_2131952456_uikit_material_button"/>
<com.google.android.material.button.MaterialButton android:id="@+id/guild_profile_sheet_join_server" android:layout_width="0dp" android:text="@string/guild_profile_join_server_button" android:layout_weight="1" android:layout_marginStart="8dp" style="@style/res_2131952456_uikit_material_button"/>
<com.google.android.material.button.MaterialButton android:id="@+id/guild_profile_sheet_view_server" android:layout_width="0dp" android:text="@string/guild_popout_view_server_button" android:layout_weight="1" android:layout_marginStart="8dp" android:backgroundTint="?attr/colorBackgroundAccent" style="@style/res_2131952456_uikit_material_button"/>
</LinearLayout>
</LinearLayout>