aboutsummaryrefslogtreecommitdiff
path: root/parts/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'parts/res/layout')
-rw-r--r--parts/res/layout/thermal_list_item.xml16
1 files changed, 7 insertions, 9 deletions
diff --git a/parts/res/layout/thermal_list_item.xml b/parts/res/layout/thermal_list_item.xml
index aa8c622..4147607 100644
--- a/parts/res/layout/thermal_list_item.xml
+++ b/parts/res/layout/thermal_list_item.xml
@@ -29,8 +29,8 @@
android:scaleType="centerInside" />
<LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
@@ -38,8 +38,8 @@
android:id="@+id/app_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginTop="4dp"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="2dp"
android:ellipsize="marquee"
android:singleLine="true"
android:textAlignment="viewStart"
@@ -48,18 +48,16 @@
<Spinner
android:id="@+id/app_mode"
- android:layout_marginTop="4dp"
- android:layout_width="228dp"
- android:layout_height="32dp" />
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
</LinearLayout>
<ImageView
android:id="@+id/state"
- android:layout_marginTop="30dp"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:padding="6dp"
+ android:padding="8dp"
android:scaleType="centerInside"
android:src="@drawable/ic_thermal_default" />
</LinearLayout> \ No newline at end of file