diff --git a/core/src/main/res/layout/dialog_fragment_user.xml b/core/src/main/res/layout/dialog_fragment_user.xml index 4de5e4250447602beb1c9090832d4ef128ee4f0f..14d4dc1a1f8ac40eb138a19e88ecf8e055e16ec5 100644 --- a/core/src/main/res/layout/dialog_fragment_user.xml +++ b/core/src/main/res/layout/dialog_fragment_user.xml @@ -70,6 +70,19 @@ app:layout_constraintTop_toBottomOf="@id/tvUserName" tools:text="texsdt" /> + <com.google.android.material.button.MaterialButton + android:id="@+id/btnInviteToFollowMe" + style="@style/AccentButtonStyle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="@string/invite_to_follow_me" + android:textSize="12sp" + app:icon="@drawable/ic_link" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/tvUserId" /> + <View android:id="@+id/divider" @@ -79,7 +92,7 @@ android:background="@color/divider_color" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/tvUserId" /> + app:layout_constraintTop_toBottomOf="@id/btnInviteToFollowMe" /> <org.futo.circles.core.view.LoadingRecyclerView diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index 1f314a129b11ce8507506a4ade84fd4862f40d44..13a2f4d1f744318f8728ba42cf080863c79bebda 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -252,6 +252,7 @@ <string name="shared_galleries">Shared Galleries</string> <string name="remove_image">Remove image</string> <string name="remove_image_message">Are you sure you want to remove this image?</string> + <string name="invite_to_follow_me">Invite to follow me</string> <plurals name="notification_compat_summary_line_for_room"> <item quantity="one">%1$s: %2$d message</item>