More minor fixes

This commit is contained in:
Grishka 2023-06-25 14:24:13 +03:00
parent 4b74da5d38
commit 81ac8a3bc9
2 changed files with 4 additions and 2 deletions

View File

@ -64,7 +64,7 @@ public class AccountViewHolder extends BindableViewHolder<AccountViewModel> impl
private final HashMap<String, Relationship> relationships; private final HashMap<String, Relationship> relationships;
private Consumer<AccountViewHolder> onClick; private Consumer<AccountViewHolder> onClick;
private AccessoryType accessoryType=AccessoryType.BUTTON; private AccessoryType accessoryType;
private boolean showBio; private boolean showBio;
private boolean checked; private boolean checked;

View File

@ -32,6 +32,7 @@
android:textAppearance="@style/m3_body_large" android:textAppearance="@style/m3_body_large"
android:singleLine="true" android:singleLine="true"
android:ellipsize="end" android:ellipsize="end"
android:textColor="?colorM3OnSurface"
tools:text="Link title"/> tools:text="Link title"/>
<TextView <TextView
android:id="@+id/description" android:id="@+id/description"
@ -40,13 +41,14 @@
android:maxLines="2" android:maxLines="2"
android:ellipsize="end" android:ellipsize="end"
android:textAppearance="@style/m3_body_medium" android:textAppearance="@style/m3_body_medium"
android:textColor="?colorM3OnSurface"
tools:text="Link description"/> tools:text="Link description"/>
<TextView <TextView
android:id="@+id/domain" android:id="@+id/domain"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textAppearance="@style/m3_body_medium" android:textAppearance="@style/m3_body_medium"
android:textColor="?android:textColorSecondary" android:textColor="?colorM3OnSurfaceVariant"
tools:text="example.com"/> tools:text="example.com"/>
</LinearLayout> </LinearLayout>
</org.joinmastodon.android.ui.views.MaxWidthFrameLayout> </org.joinmastodon.android.ui.views.MaxWidthFrameLayout>