Merge pull request #362

fix(profile): display username icons after server
This commit is contained in:
LucasGGamerM 2024-03-20 15:46:11 -03:00 committed by GitHub
commit b018b817e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 15 deletions

View File

@ -193,6 +193,20 @@
android:textColor="?colorM3OnSurfaceVariant" android:textColor="?colorM3OnSurfaceVariant"
tools:text="\@Gargron" /> 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 <ImageView
android:id="@+id/lock_icon" android:id="@+id/lock_icon"
android:layout_width="18sp" android:layout_width="18sp"
@ -214,21 +228,6 @@
android:importantForAccessibility="no" android:importantForAccessibility="no"
android:contentDescription="@string/sk_icon_bot" android:contentDescription="@string/sk_icon_bot"
android:src="@drawable/ic_fluent_bot_20_filled" /> 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> </LinearLayout>
<org.joinmastodon.android.ui.views.FloatingHintEditTextLayout <org.joinmastodon.android.ui.views.FloatingHintEditTextLayout