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

41 lines
7.1 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" style="@style/res_2131952597_uikit_viewgroup_nestedscrollview">
<LinearLayout android:layout_height="wrap_content" style="@style/res_2131952601_uikit_viewgroup_page_linearlayout">
<FrameLayout android:background="?attr/bg_announcements_follow_sheet" android:layout_width="match_parent" android:layout_height="96dp">
<LinearLayout android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="32dp" style="@style/res_2131952594_uikit_viewgroup_linearlayout_horizontal">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/channel_follow_guild_icon" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:roundedCornerRadius="4dp"/>
<androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" android:layout_marginEnd="8dp" app:cardBackgroundColor="?attr/colorBackgroundPrimary" app:cardCornerRadius="4dp">
<TextView android:gravity="center_vertical" android:id="@+id/channel_follow_channel_name" android:layout_height="match_parent" android:drawablePadding="8dp" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:drawableStartCompat="@drawable/ic_channel_text" app:drawableTint="?attr/colorTextMuted" style="@style/res_2131952569_uikit_textview_large_singleline"/>
</androidx.cardview.widget.CardView>
</LinearLayout>
</FrameLayout>
<com.discord.app.AppViewFlipper android:id="@+id/follow_sheet_view_flipper" android:layout_width="wrap_content" android:layout_height="wrap_content" android:measureAllChildren="false">
<LinearLayout android:padding="16dp" android:layout_height="wrap_content" style="@style/res_2131952601_uikit_viewgroup_page_linearlayout">
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:layout_gravity="center" android:layout_marginTop="16dp" android:text="@string/follow_modal_title" android:textAlignment="center" style="@style/res_2131952564_uikit_textview_h1_bold"/>
<TextView android:textSize="@dimen/uikit_textsize_medium" android:layout_gravity="center" android:layout_marginTop="8dp" android:layout_marginBottom="16dp" android:text="@string/follow_modal_body" android:textAlignment="center" style="@style/res_2131952579_uikit_textview_subtext"/>
<TextView android:text="@string/form_label_send_to" style="@style/res_2131952567_uikit_textview_h6"/>
<com.google.android.material.card.MaterialCardView android:id="@+id/channel_follow_select_guild" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="16dp" app:cardBackgroundColor="?attr/colorBackgroundTertiary" app:cardCornerRadius="4dp" app:contentPadding="8dp">
<RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/res_2131952606_uikit_viewgroup_relativelayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorInteractiveNormal" android:id="@+id/channel_follow_selected_guild_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/select" android:layout_centerVertical="true" android:layout_toStartOf="@+id/channel_follow_guild_dropdown_icon" android:layout_alignParentStart="true" style="@style/res_2131952580_uikit_textview_subtext_singleline"/>
<ImageView android:id="@+id/channel_follow_guild_dropdown_icon" android:layout_width="24dp" android:layout_height="24dp" android:src="@drawable/ic_arrow_drop_down_white_18dp" android:importantForAccessibility="no" android:layout_alignParentEnd="true"/>
</RelativeLayout>
</com.google.android.material.card.MaterialCardView>
<TextView android:text="@string/form_label_select_channel" style="@style/res_2131952567_uikit_textview_h6"/>
<com.google.android.material.card.MaterialCardView android:id="@+id/channel_follow_select_channel" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:layout_marginBottom="16dp" app:cardBackgroundColor="?attr/colorBackgroundTertiary" app:cardCornerRadius="4dp" app:contentPadding="8dp">
<RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/res_2131952606_uikit_viewgroup_relativelayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorInteractiveNormal" android:id="@+id/channel_follow_selected_channel_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/select" android:layout_centerVertical="true" android:layout_toStartOf="@+id/channel_follow_channel_dropdown_icon" android:layout_alignParentStart="true" style="@style/res_2131952580_uikit_textview_subtext_singleline"/>
<ImageView android:id="@+id/channel_follow_channel_dropdown_icon" android:layout_width="24dp" android:layout_height="24dp" android:src="@drawable/ic_arrow_drop_down_white_18dp" android:importantForAccessibility="no" android:layout_alignParentEnd="true"/>
</RelativeLayout>
</com.google.android.material.card.MaterialCardView>
<TextView android:textSize="12sp" android:id="@+id/channel_follow_error_text" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="8dp" android:textAlignment="viewStart" style="@style/res_2131952229_textappearance_error"/>
<TextView android:textSize="@dimen/uikit_textsize_medium" android:layout_marginBottom="16dp" android:text="@string/follow_modal_hint" style="@style/res_2131952579_uikit_textview_subtext"/>
<com.google.android.material.button.MaterialButton android:id="@+id/create_channel_follower_button" android:text="@string/follow" style="@style/res_2131952456_uikit_material_button"/>
</LinearLayout>
<LinearLayout android:padding="16dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:layout_gravity="center" android:layout_marginTop="16dp" android:layout_marginBottom="16dp" android:text="@string/follow_modal_title" android:textAlignment="center" style="@style/res_2131952564_uikit_textview_h1_bold"/>
<TextView android:textSize="12sp" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="8dp" android:text="@string/follow_modal_hint_no_perms" android:textAlignment="center" style="@style/res_2131952229_textappearance_error"/>
</LinearLayout>
</com.discord.app.AppViewFlipper>
</LinearLayout>
</androidx.core.widget.NestedScrollView>