discord-jadx/app/src/main/res/layout/widget_nux_channel_prompt.xml
Juby210 02b39b5eaf
Enable replacing const values in jadx
Tracking changes should be much easier now.
2021-08-10 00:50:52 +02:00

20 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?attr/primary_600" android:layout_height="match_parent" style="@style/UiKit_ViewGroup_RelativeLayout">
<androidx.appcompat.widget.Toolbar android:id="@+id/toolbar" android:background="@color/transparent" android:layout_alignParentTop="true" style="@style/AppTheme_Toolbar">
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?attr/colorHeaderPrimary" android:layout_gravity="end" android:id="@+id/nuf_channel_prompt_skip_button" android:background="?attr/selectableItemBackground" android:focusable="true" android:clickable="true" android:text="@string/skip" android:textAllCaps="true" android:layout_marginEnd="16dp" style="@style/UiKit_TextView_Semibold"/>
</androidx.appcompat.widget.Toolbar>
<androidx.core.widget.NestedScrollView android:paddingBottom="8dp" android:layout_below="@+id/toolbar" android:paddingStart="16dp" android:paddingEnd="16dp" style="@style/UiKit_ViewGroup_NestedScrollView_AppBarScrollingViewBehavior">
<LinearLayout android:layout_height="match_parent" style="@style/UiKit_ViewGroup_LinearLayout">
<FrameLayout android:layout_gravity="center" android:layout_width="@dimen/avatar_size_large" android:layout_height="@dimen/avatar_size_large" android:layout_marginBottom="8dp">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/nuf_channel_prompt_guild_icon" app:placeholderImage="?attr/asset_default_avatar_32dp" style="@style/Avatar_Large"/>
<TextView android:textColor="@color/primary_100" android:ellipsize="none" android:layout_gravity="center" android:id="@+id/nuf_channel_prompt_guild_icon_name" android:padding="4dp" style="@style/UiKit_TextView_Large_SingleLine"/>
</FrameLayout>
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?attr/colorHeaderPrimary" android:ellipsize="end" android:layout_gravity="center" android:id="@+id/nuf_channel_prompt_guild_name" android:layout_marginBottom="16dp" android:maxLines="1" style="@style/UiKit_TextView_Semibold"/>
<com.discord.views.ScreenTitleView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="16dp" app:stv_subtitle="@string/nuf_channel_prompt_subtitle" app:stv_title="@string/nuf_channel_prompt_title"/>
<com.google.android.material.textfield.TextInputLayout android:id="@+id/nuf_channel_prompt_topic_wrap" android:layout_marginBottom="16dp" android:hint="@string/nuf_channel_prompt_topic" app:endIconMode="2" style="@style/UiKit_TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:imeOptions="actionDone" style="@style/UiKit_TextInputLayout_EditText_SingleLine"/>
</com.google.android.material.textfield.TextInputLayout>
<com.discord.views.LoadingButton android:id="@+id/nuf_channel_prompt_cta_button" android:layout_width="match_parent" android:layout_height="wrap_content" app:lb_padding_bottom="16dp" app:lb_padding_top="16dp" app:lb_progress_color="@color/white" app:lb_text="@string/nuf_channel_prompt_cta" app:lb_text_color="@drawable/button_text_color_primary_100" app:lb_text_size="@dimen/uikit_textsize_large"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</RelativeLayout>