mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-14 11:01:06 +01:00
4aea2e626c
Tinted the ic_delete_forever.xml correctly Updated the default icon to look consistent with the rest Due to being used in FABs, made ic_add white by-default and tinted ic_block properly Adjusted Amazfit Bip and the ic_no_watch drawables to look more uniform with the rest Re-imported the Amazfit Bip icon to fit the rest Re-imported all material.io icons with the same DPI, renamed to original names, optimized and tinted every icon the same way Updated the ic_switch_left icon to look better on smaller screens scale refresh in control center to match the rest Improved the icon size consistency in ControlCenter Co-authored-by: TaaviE <taavi.eomae@gmail.com> Co-authored-by: vanous <petr@linuks.cz> Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2000
63 lines
2.3 KiB
XML
63 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/activatedBackgroundIndicator"
|
|
android:minHeight="60dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/item_image"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_centerVertical="true"
|
|
android:contentDescription="@string/candidate_item_device_image" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignWithParentIfMissing="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_toEndOf="@+id/item_image"
|
|
android:layout_toStartOf="@+id/drag_handle"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/item_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="1"
|
|
android:scrollHorizontally="false"
|
|
android:text="Item Name"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
<TextView
|
|
android:id="@+id/item_details"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Item Description"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
</LinearLayout>
|
|
|
|
|
|
<ImageView
|
|
android:id="@+id/drag_handle"
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_centerVertical="true"
|
|
android:contentDescription="drag handle"
|
|
android:tint="@color/secondarytext"
|
|
app:srcCompat="@drawable/ic_drag_handle" />
|
|
|
|
</RelativeLayout> |