aboutsummaryrefslogtreecommitdiff
path: root/parts/res/layout/thermal_list_item.xml
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-01-08 05:59:28 +0530
committersinanmohd <pcmsinan@gmail.com>2023-01-08 17:55:33 +0530
commite97ff9f900bed657e24085daf93d465240f923bf (patch)
tree278c2296e2ccd5f316db02d1b6bceb802f55cd08 /parts/res/layout/thermal_list_item.xml
parent49c7a4d7d3732da469598b2100018b5e690c3fe8 (diff)
Revert "veux: parts: Improvements thermal profile list layout"
This reverts commit b3766ca20d41e2990c1b4a6d09d9d59008831c45.
Diffstat (limited to 'parts/res/layout/thermal_list_item.xml')
-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