Skip to content

Commit

Permalink
fix(profile): display username icons after server
Browse files Browse the repository at this point in the history
  • Loading branch information
FineFindus committed Mar 20, 2024
1 parent 2497ece commit 1fedfce
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions mastodon/src/main/res/layout/fragment_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,20 @@
android:textColor="?colorM3OnSurfaceVariant"
tools:text="\@Gargron" />

<TextView
android:id="@+id/username_domain"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:textAppearance="@style/m3_label_small"
android:gravity="center_vertical"
android:paddingHorizontal="4dp"
android:textColor="?colorM3OnSurfaceVariant"
android:singleLine="true"
android:ellipsize="end"
android:background="@drawable/rect_4dp"
android:backgroundTint="?colorM3SurfaceVariant"
tools:text="mastodon.social"/>

<ImageView
android:id="@+id/lock_icon"
android:layout_width="18sp"
Expand All @@ -214,21 +228,6 @@
android:importantForAccessibility="no"
android:contentDescription="@string/sk_icon_bot"
android:src="@drawable/ic_fluent_bot_20_filled" />

<TextView
android:id="@+id/username_domain"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:textAppearance="@style/m3_label_small"
android:gravity="center_vertical"
android:paddingHorizontal="4dp"
android:textColor="?colorM3OnSurfaceVariant"
android:singleLine="true"
android:ellipsize="end"
android:background="@drawable/rect_4dp"
android:backgroundTint="?colorM3SurfaceVariant"
tools:text="mastodon.social"/>

</LinearLayout>

<org.joinmastodon.android.ui.views.FloatingHintEditTextLayout
Expand Down

0 comments on commit 1fedfce

Please sign in to comment.