diff options
author | sinanmohd <pcmsinan@gmail.com> | 2023-01-08 05:59:28 +0530 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-08 17:55:33 +0530 |
commit | e97ff9f900bed657e24085daf93d465240f923bf (patch) | |
tree | 278c2296e2ccd5f316db02d1b6bceb802f55cd08 /parts | |
parent | 49c7a4d7d3732da469598b2100018b5e690c3fe8 (diff) |
Revert "veux: parts: Improvements thermal profile list layout"
This reverts commit b3766ca20d41e2990c1b4a6d09d9d59008831c45.
Diffstat (limited to 'parts')
-rw-r--r-- | parts/res/drawable/ic_thermal_default.xml | 8 | ||||
-rw-r--r-- | parts/res/layout/thermal_list_item.xml | 16 |
2 files changed, 8 insertions, 16 deletions
diff --git a/parts/res/drawable/ic_thermal_default.xml b/parts/res/drawable/ic_thermal_default.xml index 5ce6468..1b2257f 100644 --- a/parts/res/drawable/ic_thermal_default.xml +++ b/parts/res/drawable/ic_thermal_default.xml @@ -12,14 +12,8 @@ <path android:fillColor="?android:attr/colorAccent" android:fillType="evenOdd" - android:pathData="M18,8c-1.06,0 -1.64,0.29 -3.91,1.19c-0.19,-0.14 -0.4,-0.27 -0.62,-0.37c0.25,-1.03 0.61,-1.53 1.33,-2.04C15.61,6.21 16,5.44 16,4.5C16,3.28 15.05,2 13.4,2c-3.08,0 -4.92,1.47 -5.32,3.26l2.33,2.33C10.07,6.69 10,6.38 10,6c0,-1.18 1.4,-2 3.4,-2C13.97,4 14,4.42 14,4.5c0,0.27 -0.05,0.43 -0.35,0.65c-1.27,0.9 -1.83,1.91 -2.16,3.39l-0.02,0.1l7.25,7.25C18.96,15.95 19.22,16 19.5,16c1.22,0 2.5,-0.95 2.5,-2.6C22,9.91 20.11,8 18,8zM19.5,14c-0.27,0 -0.43,-0.05 -0.65,-0.35c-0.9,-1.27 -1.91,-1.83 -3.39,-2.16c-0.03,-0.22 -0.08,-0.42 -0.15,-0.62C17.11,10.12 17.49,10 18,10c1.18,0 2,1.4 2,3.4C20,13.97 19.58,14 19.5,14z" + android:pathData="M11.066 10.383l0 -2.773 -2.033 -2.033c-0.364 -0.365 -0.364 -0.956 0 -1.321 0.365 -0.364 0.956 -0.364 1.321 0l0.712 0.713 0 -1.111c0 -0.515 0.419 -0.934 0.934 -0.934 0.515 0 0.934 0.419 0.934 0.934l0 1.111 0.712 -0.713c0.365 -0.364 0.956 -0.364 1.321 0 0.364 0.365 0.364 0.956 0 1.321l-2.033 2.033 0 2.773 2.401 -1.387 0.744 -2.777c0.134 -0.498 0.646 -0.794 1.144 -0.66 0.498 0.133 0.794 0.646 0.66 1.143L17.622 7.676 18.584 7.12c0.447 -0.257 1.018 -0.104 1.276 0.342 0.258 0.446 0.104 1.018 -0.342 1.276l-0.962 0.555 0.973 0.261c0.498 0.133 0.794 0.646 0.661 1.144 -0.134 0.497 -0.646 0.793 -1.144 0.66L16.269 10.614 13.868 12l2.401 1.386 2.777 -0.744c0.498 -0.133 1.01 0.163 1.144 0.66 0.133 0.498 -0.163 1.011 -0.661 1.144l-0.973 0.261 0.962 0.555c0.446 0.258 0.6 0.83 0.342 1.276 -0.258 0.446 -0.829 0.599 -1.276 0.342l-0.962 -0.556 0.261 0.974c0.134 0.497 -0.162 1.01 -0.66 1.143 -0.498 0.134 -1.01 -0.162 -1.144 -0.66l-0.744 -2.777 -2.401 -1.387 0 2.886 2.033 2.034c0.364 0.364 0.364 0.956 0 1.32 -0.365 0.365 -0.956 0.365 -1.321 0l-0.712 -0.712 0 0.997c0 0.515 -0.419 0.934 -0.934 0.934 -0.515 0 -0.934 -0.419 -0.934 -0.934l0 -0.997 -0.712 0.712c-0.365 0.365 -0.956 0.365 -1.321 0 -0.364 -0.364 -0.364 -0.956 0 -1.32l2.033 -2.034 0 -2.886 -2.499 1.443 -0.744 2.778C7.689 18.335 7.177 18.631 6.679 18.498 6.181 18.365 5.885 17.852 6.019 17.354L6.28 16.381 5.416 16.88C4.969 17.137 4.398 16.984 4.14 16.538 3.882 16.092 4.036 15.52 4.482 15.262L5.346 14.764 4.372 14.503C3.875 14.369 3.579 13.857 3.712 13.359 3.846 12.861 4.358 12.565 4.856 12.699L7.633 13.443 10.132 12 7.633 10.557 4.856 11.301C4.358 11.435 3.846 11.139 3.712 10.641 3.579 10.143 3.875 9.631 4.372 9.497L5.346 9.236 4.482 8.738C4.036 8.48 3.882 7.908 4.14 7.462 4.398 7.016 4.969 6.863 5.416 7.12L6.28 7.619 6.019 6.646C5.885 6.148 6.181 5.635 6.679 5.502 7.177 5.369 7.689 5.665 7.823 6.162l0.744 2.778 2.499 1.443z" android:strokeLineJoin="round" android:strokeMiterLimit="1.41421" /> - <path - android:fillColor="?android:attr/colorAccent" - android:fillType="evenOdd" - android:pathData="M1.39,4.22l3.89,3.89C5.04,8.05 4.78,8 4.5,8C3.28,8 2,8.95 2,10.6C2,14.09 3.89,16 6,16c1.06,0 1.64,-0.29 3.91,-1.19c0.19,0.14 0.4,0.27 0.62,0.37c-0.25,1.03 -0.61,1.53 -1.33,2.04C8.39,17.79 8,18.56 8,19.5c0,1.22 0.95,2.5 2.6,2.5c3.08,0 4.92,-1.47 5.32,-3.26l3.86,3.86l1.41,-1.41L2.81,2.81L1.39,4.22zM12.52,15.46c0.03,0 0.06,-0.02 0.09,-0.02l0.97,0.97C13.93,17.31 14,17.62 14,18c0,1.18 -1.4,2 -3.4,2c-0.57,0 -0.6,-0.42 -0.6,-0.5c0,-0.27 0.05,-0.43 0.35,-0.65C11.63,17.96 12.18,16.94 12.52,15.46zM8.54,12.52c0.03,0.22 0.08,0.42 0.15,0.62C6.89,13.88 6.51,14 6,14c-1.18,0 -2,-1.4 -2,-3.4C4,10.03 4.42,10 4.5,10c0.27,0 0.43,0.05 0.65,0.35C6.04,11.63 7.06,12.18 8.54,12.52z" - android:strokeLineJoin="round" - android:strokeMiterLimit="1.41421" /> </group> </vector>
\ No newline at end of file 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 |