use single-line linear layout
This commit is contained in:
@@ -167,19 +167,21 @@
|
|||||||
|
|
||||||
</org.joinmastodon.android.ui.views.AutoOrientationLinearLayout>
|
</org.joinmastodon.android.ui.views.AutoOrientationLinearLayout>
|
||||||
|
|
||||||
<org.joinmastodon.android.ui.views.AutoOrientationLinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/username_wrap"
|
android:id="@+id/username_wrap"
|
||||||
|
android:orientation="horizontal"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginEnd="12dp"
|
android:layout_marginEnd="12dp"
|
||||||
|
android:layout_marginTop="2dp"
|
||||||
android:layout_marginBottom="8dp">
|
android:layout_marginBottom="8dp">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/username"
|
android:id="@+id/username"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="2dp"
|
android:layout_weight="1"
|
||||||
android:layout_marginEnd="4dp"
|
android:layout_marginEnd="4dp"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
@@ -187,36 +189,29 @@
|
|||||||
android:textColor="?colorM3OnSurfaceVariant"
|
android:textColor="?colorM3OnSurfaceVariant"
|
||||||
tools:text="\@Gargron" />
|
tools:text="\@Gargron" />
|
||||||
|
|
||||||
<LinearLayout
|
<ImageView
|
||||||
android:layout_width="wrap_content"
|
android:id="@+id/lock_icon"
|
||||||
android:layout_height="match_parent"
|
android:layout_width="18sp"
|
||||||
android:layout_marginTop="2dp">
|
android:layout_height="18sp"
|
||||||
|
android:layout_marginEnd="4dp"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:visibility="gone"
|
||||||
|
android:importantForAccessibility="no"
|
||||||
|
android:contentDescription="@string/manually_approves_followers"
|
||||||
|
android:src="@drawable/ic_fluent_lock_closed_20_filled" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/lock_icon"
|
android:id="@+id/bot_icon"
|
||||||
android:layout_width="18sp"
|
android:layout_width="18sp"
|
||||||
android:layout_height="18sp"
|
android:layout_height="18sp"
|
||||||
android:layout_marginEnd="4dp"
|
android:layout_marginEnd="4dp"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:contentDescription="@string/manually_approves_followers"
|
android:contentDescription="@string/sk_icon_bot"
|
||||||
android:src="@drawable/ic_fluent_lock_closed_20_filled" />
|
android:src="@drawable/ic_fluent_bot_20_filled" />
|
||||||
|
|
||||||
<ImageView
|
</LinearLayout>
|
||||||
android:id="@+id/bot_icon"
|
|
||||||
android:layout_width="18sp"
|
|
||||||
android:layout_height="18sp"
|
|
||||||
android:layout_marginEnd="4dp"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:importantForAccessibility="no"
|
|
||||||
android:contentDescription="@string/sk_icon_bot"
|
|
||||||
android:src="@drawable/ic_fluent_bot_20_filled" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</org.joinmastodon.android.ui.views.AutoOrientationLinearLayout>
|
|
||||||
|
|
||||||
<org.joinmastodon.android.ui.views.LinkedTextView
|
<org.joinmastodon.android.ui.views.LinkedTextView
|
||||||
android:id="@+id/bio"
|
android:id="@+id/bio"
|
||||||
|
|||||||
Reference in New Issue
Block a user