|
|
|
|
@ -248,63 +248,71 @@
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountFieldList" |
|
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group |
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
|
android:id="@+id/accountMovedView" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
app:constraint_referenced_ids="accountMovedText,accountMovedAvatar,accountMovedDisplayName,accountMovedUsername" /> |
|
|
|
|
|
|
|
|
|
<androidx.emoji.widget.EmojiTextView |
|
|
|
|
android:id="@+id/accountMovedText" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="12dp" |
|
|
|
|
android:drawablePadding="6dp" |
|
|
|
|
android:textSize="?attr/status_text_medium" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountRemoveView" |
|
|
|
|
tools:text="Account has moved" /> |
|
|
|
|
tools:visibility="visible"> |
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
android:id="@+id/accountMovedAvatar" |
|
|
|
|
android:layout_width="48dp" |
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
android:layout_centerVertical="true" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:layout_marginEnd="24dp" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedText" |
|
|
|
|
tools:src="@drawable/avatar_default" /> |
|
|
|
|
<androidx.emoji.widget.EmojiTextView |
|
|
|
|
android:id="@+id/accountMovedText" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:drawablePadding="6dp" |
|
|
|
|
android:drawableStart="@drawable/ic_briefcase" |
|
|
|
|
android:textSize="?attr/status_text_medium" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
tools:text="Account has moved" /> |
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:id="@+id/accountMovedAvatar" |
|
|
|
|
android:layout_width="48dp" |
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
android:layout_centerVertical="true" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:layout_marginBottom="8dp" |
|
|
|
|
android:layout_marginEnd="24dp" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedText" |
|
|
|
|
tools:src="@drawable/avatar_default" /> |
|
|
|
|
|
|
|
|
|
<androidx.emoji.widget.EmojiTextView |
|
|
|
|
android:id="@+id/accountMovedDisplayName" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
android:ellipsize="end" |
|
|
|
|
android:maxLines="1" |
|
|
|
|
android:textColor="?android:textColorPrimary" |
|
|
|
|
android:textSize="?attr/status_text_large" |
|
|
|
|
android:textStyle="normal|bold" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/accountMovedUsername" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountMovedAvatar" |
|
|
|
|
app:layout_constraintTop_toTopOf="@id/accountMovedAvatar" |
|
|
|
|
tools:text="Display name" /> |
|
|
|
|
|
|
|
|
|
<androidx.emoji.widget.EmojiTextView |
|
|
|
|
android:id="@+id/accountMovedDisplayName" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
android:ellipsize="end" |
|
|
|
|
android:maxLines="1" |
|
|
|
|
android:textColor="?android:textColorPrimary" |
|
|
|
|
android:textSize="?attr/status_text_large" |
|
|
|
|
android:textStyle="normal|bold" |
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/accountMovedUsername" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountMovedAvatar" |
|
|
|
|
app:layout_constraintTop_toTopOf="@id/accountMovedAvatar" |
|
|
|
|
tools:text="Display name" /> |
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/accountMovedUsername" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
android:ellipsize="end" |
|
|
|
|
android:maxLines="1" |
|
|
|
|
android:textColor="?android:textColorSecondary" |
|
|
|
|
android:textSize="?attr/status_text_medium" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/accountMovedAvatar" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountMovedAvatar" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedDisplayName" |
|
|
|
|
tools:text="\@username" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/accountMovedUsername" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="16dp" |
|
|
|
|
android:ellipsize="end" |
|
|
|
|
android:maxLines="1" |
|
|
|
|
android:textColor="?android:textColorSecondary" |
|
|
|
|
android:textSize="?attr/status_text_medium" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/accountMovedAvatar" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountMovedAvatar" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedDisplayName" |
|
|
|
|
tools:text="\@username" /> |
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/accountStatuses" |
|
|
|
|
@ -315,7 +323,7 @@
|
|
|
|
|
android:orientation="vertical" |
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/accountFollowing" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedAvatar"> |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedView"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/accountStatusesTextView" |
|
|
|
|
@ -346,7 +354,7 @@
|
|
|
|
|
android:orientation="vertical" |
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/accountFollowers" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountStatuses" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedAvatar"> |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedView"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/accountFollowingTextView" |
|
|
|
|
@ -376,7 +384,7 @@
|
|
|
|
|
android:orientation="vertical" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountFollowing" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedAvatar"> |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedView"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/accountFollowersTextView" |
|
|
|
|
|