apkfuckery/com.discord/res/layout/widget_friends_add_by_id.xml

15 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView android:scrollbars="none" style="@style/UiKit.ViewGroup.NestedScrollView"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center" android:id="@id/friends_add_container" android:background="?colorBackgroundPrimary" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/img_save_your_group" android:contentDescription="@string/sample_empty_string" />
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_xxlarge" android:textColor="?colorHeaderPrimary" android:gravity="center" android:layout_gravity="center" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/add_by_id_title" style="@style/UiKit.TextView" />
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorHeaderSecondary" android:gravity="center" android:layout_gravity="center" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/add_by_id_body" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<LinearLayout android:layout_marginTop="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.ViewGroup.LinearLayout">
<com.google.android.material.textfield.TextInputLayout android:id="@id/friends_add_text_edit_wrap" android:layout_marginBottom="@dimen/uikit_spacing_small" android:hint="@string/username" style="@style/UiKit.Material.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:id="@id/friends_add_text_edit" android:singleLine="true" android:imeOptions="actionDone" style="@style/UiKit.Material.TextInputLayout.EditText" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<com.google.android.material.button.MaterialButton android:enabled="false" android:textSize="@dimen/uikit_textsize_medium" android:ellipsize="end" android:id="@id/friends_add_send" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/add_friend_add_manually" android:maxLines="1" style="@style/UiKit.Material.Button.Fit" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>