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