mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-07 15:05:25 +02:00
77 lines
2.7 KiB
XML
77 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?selectableItemBackground"
|
|
android:baselineAligned="false"
|
|
android:clipToPadding="false"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
android:paddingLeft="?listPreferredItemPaddingLeft"
|
|
android:paddingRight="?listPreferredItemPaddingRight"
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/icon_frame"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_marginLeft="-4dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginStart="-4dp"
|
|
android:minWidth="48dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<ImageView
|
|
android:id="@android:id/icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxHeight="48dp"
|
|
android:maxWidth="48dp"
|
|
android:scaleType="fitStart"
|
|
android:visibility="gone"
|
|
tools:ignore="ContentDescription"
|
|
tools:visibility="visible" />
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="16dp"
|
|
android:paddingTop="16dp">
|
|
|
|
<TextView
|
|
android:id="@android:id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="marquee"
|
|
android:maxLines="10"
|
|
android:singleLine="false"
|
|
android:textAppearance="?textAppearanceListItem" />
|
|
|
|
<TextView
|
|
android:id="@android:id/summary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="10"
|
|
android:textColor="?android:textColorSecondary" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@android:id/widget_frame"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="-16dp"
|
|
android:layout_marginRight="-16dp"
|
|
android:clipToPadding="false"
|
|
android:gravity="end|center_vertical"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp" />
|
|
|
|
</LinearLayout> |