mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-09 03:37:03 +01:00
Prevent overlap of connection status for big font sizes
This commit is contained in:
parent
90e36e0065
commit
efc6144a28
@ -44,11 +44,16 @@
|
||||
</ListView>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/device_name_layout"
|
||||
android:layout_below="@id/device_item_infos_box"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/device_image"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_below="@id/device_item_infos_box"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginTop="2dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
@ -66,7 +71,6 @@
|
||||
android:layout_toEndOf="@id/device_image"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginEnd="48dp"
|
||||
android:layout_below="@id/device_item_infos_box"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||
@ -89,7 +93,6 @@
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_below="@id/device_item_infos_box"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="0dp"
|
||||
@ -101,12 +104,13 @@
|
||||
card_view:srcCompat="@drawable/ic_more_vert"
|
||||
android:focusable="true"
|
||||
card_view:tint="@color/secondarytext" />
|
||||
</RelativeLayout>
|
||||
|
||||
<com.google.android.flexbox.FlexboxLayout
|
||||
android:id="@+id/device_info_icons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/device_image"
|
||||
android:layout_below="@id/device_name_layout"
|
||||
card_view:flexWrap="wrap">
|
||||
|
||||
<LinearLayout
|
||||
|
Loading…
Reference in New Issue
Block a user