feat(glass): add weather icon to live card

This commit is contained in:
2026-01-08 22:36:48 +00:00
parent 214af08625
commit 1e65a3f57d
28 changed files with 16 additions and 6 deletions

View File

@@ -194,9 +194,11 @@ public final class HudService extends Service {
if (!hasFeed) {
rv.setViewVisibility(R.id.hud_right_col, View.GONE);
rv.setViewVisibility(R.id.hud_divider, View.GONE);
rv.setViewVisibility(R.id.hud_more_badge, View.GONE);
} else {
rv.setViewVisibility(R.id.hud_right_col, View.VISIBLE);
rv.setViewVisibility(R.id.hud_divider, View.VISIBLE);
if (more > 0) {
rv.setViewVisibility(R.id.hud_more_badge, View.VISIBLE);
rv.setTextViewText(R.id.hud_more_badge, "+" + more);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -61,9 +61,9 @@
<ImageView
android:id="@+id/hud_weather_icon"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginRight="8dp"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginRight="6dp"
android:scaleType="centerInside"
android:contentDescription="@string/app_name" />
@@ -80,12 +80,20 @@
</LinearLayout>
</LinearLayout>
<ImageView
android:id="@+id/hud_divider"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:background="#404040" />
<RelativeLayout
android:id="@+id/hud_right_col"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_marginLeft="16dp">
android:layout_marginLeft="0dp">
<TextView
android:id="@+id/hud_more_badge"
@@ -108,7 +116,7 @@
android:ellipsize="end"
android:fontFamily="sans-serif-light"
android:includeFontPadding="false"
android:singleLine="true"
android:maxLines="100"
android:textColor="#FFFFFF"
android:textSize="32sp" />
@@ -120,7 +128,7 @@
android:ellipsize="end"
android:fontFamily="sans-serif-light"
android:includeFontPadding="false"
android:singleLine="true"
android:maxLines="100"
android:textColor="#808080"
android:textSize="24sp" />
</RelativeLayout>