2019-07-24 11:27:29 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" style="@style/AppTheme.AppBarLayout.Flat">
|
2019-10-23 04:50:18 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
2019-07-24 11:27:29 +00:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<LinearLayout android:id="@id/friends_add_container" android:layout_below="@id/action_bar_toolbar_layout" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
|
|
<TextView android:paddingBottom="@dimen/uikit_spacing_medium" android:text="@string/add_friend_add_manually" style="@style/UiKit.Settings.Item.Header" />
|
2019-11-20 22:09:14 +00:00
|
|
|
<TextView android:textColor="?primary_400" android:text="@string/add_friend_no_capitalization" android:layout_marginStart="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
2019-07-24 11:27:29 +00:00
|
|
|
<LinearLayout android:id="@id/friends_add_header" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@id/friends_add_text_edit_wrap" android:layout_width="fill_parent" android:hint=" " android:layout_weight="6.0" style="@style/UiKit.Form.Field.EditText.Wrap">
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText android:id="@id/friends_add_text_edit" android:hint="@string/add_friend_input_hint" android:imeOptions="actionDone" style="@style/UiKit.Form.Field.EditText.SingleLine" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2020-01-07 23:39:47 +00:00
|
|
|
<com.google.android.material.button.MaterialButton android:enabled="false" android:textSize="@dimen/uikit_textsize_medium" android:ellipsize="end" android:layout_gravity="end|center|top" android:id="@id/friends_add_send" android:layout_marginTop="12.0dip" android:text="@string/send" android:maxLines="1" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Fit" />
|
2019-07-24 11:27:29 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<fragment android:id="@id/friends_add_nearby" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/friends_add_container" class="com.discord.widgets.friends.WidgetFriendsFindNearby" />
|
|
|
|
</RelativeLayout>
|