|
|
|
@ -132,18 +132,48 @@ |
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/accountUsernameTextView" |
|
|
|
|
app:srcCompat="@drawable/reblog_private_light" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/accountAdminTextView" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
android:background="@drawable/profile_badge_background" |
|
|
|
|
android:text="@string/admin" |
|
|
|
|
android:textSize="?attr/status_text_small" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountUsernameTextView" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/accountModeratorTextView" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
android:background="@drawable/profile_badge_background" |
|
|
|
|
android:text="@string/moderator" |
|
|
|
|
android:textSize="?attr/status_text_small" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountAdminTextView" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountUsernameTextView" |
|
|
|
|
app:layout_goneMarginStart="0dp" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/accountFollowsYouTextView" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="8dp" |
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
android:background="@drawable/profile_badge_background" |
|
|
|
|
android:text="@string/follows_you" |
|
|
|
|
android:textSize="?attr/status_text_small" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountModeratorTextView" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountUsernameTextView" |
|
|
|
|
app:layout_goneMarginStart="0dp" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
@ -160,13 +190,13 @@ |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountUsernameTextView" |
|
|
|
|
app:layout_goneMarginStart="0dp" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Barrier |
|
|
|
|
android:id="@+id/labelBarrier" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
app:barrierDirection="bottom" |
|
|
|
|
app:constraint_referenced_ids="accountFollowsYouTextView,accountBadgeTextView" /> |
|
|
|
|
app:constraint_referenced_ids="accountAdminTextView,accountModeratorTextView,accountFollowsYouTextView,accountBadgeTextView" /> |
|
|
|
|
|
|
|
|
|
<androidx.emoji.widget.EmojiTextView |
|
|
|
|
android:id="@+id/accountNoteTextView" |
|
|
|
|