Don't set freezeText for the unread count for the email widget.

fixes b/5608267 Widget count flickers in email widget

Change-Id: I76fb8fc04bc016770757ac0c7d7c3e2e66e6c3ad
This commit is contained in:
Mindy Pereira 2011-11-14 13:47:39 -08:00
parent e103e90fa1
commit 572491c36c

View File

@ -59,6 +59,8 @@
android:textColor="@color/widget_title_color" android:textColor="@color/widget_title_color"
/> />
</LinearLayout> </LinearLayout>
<!-- Note: We can't set "freezesText" on the widget_unread_count view, as the launcher can
restore stale data over updated data. -->
<TextView <TextView
android:id="@+id/widget_count" android:id="@+id/widget_count"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -66,8 +68,7 @@
android:layout_marginRight="12dip" android:layout_marginRight="12dip"
android:textSize="36sp" android:textSize="36sp"
android:textStyle="bold" android:textStyle="bold"
android:textColor="@color/widget_unread_color" android:textColor="@color/widget_unread_color" />
android:freezesText="true" />
<ImageView <ImageView
android:id="@+id/widget_compose" android:id="@+id/widget_compose"
android:layout_width="wrap_content" android:layout_width="wrap_content"