aboutsummaryrefslogtreecommitdiff
path: root/parts/res/layout
diff options
context:
space:
mode:
authorkleidione Freitas <kleidione@gmail.com>2022-03-31 08:03:11 -0300
committersinanmohd <pcmsinan@gmail.com>2023-01-05 21:30:23 +0530
commitb3766ca20d41e2990c1b4a6d09d9d59008831c45 (patch)
treebe50e0a71f08bda26c44def4371ac6c1dd729ccd /parts/res/layout
parent3607af54ca48c8a145a97bab0cf5012d45ade555 (diff)
veux: parts: Improvements thermal profile list layout
Signed-off-by: kleidione <kleidione@gmail.com>
Diffstat (limited to 'parts/res/layout')
-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