Fix NPE in message view

Message view layout is still unusable with this fix, but it's a start...

Bug 4163869

Change-Id: Ifa88c758b7945b4e58d5ca9f1d618a4402227c7b
This commit is contained in:
Makoto Onuki 2011-03-23 17:21:23 -07:00
parent 9f0283dbd7
commit 511d378777

View File

@ -148,6 +148,21 @@
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:src="@drawable/btn_star_off_normal_email_holo_light" /> android:src="@drawable/btn_star_off_normal_email_holo_light" />
</LinearLayout> </LinearLayout>
<!-- TODO Just to prevent NPE - Phone UI is TBD -->
<Button
android:id="@+id/show_details"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="0dip"
android:gravity="center_vertical"
android:text="@string/message_view_show_details"
android:textSize="14dip"
android:textColor="@color/text_ternary_color"
android:textStyle="bold"
android:singleLine="true"
/>
</LinearLayout> </LinearLayout>
<!-- end of header area --> <!-- end of header area -->
<!-- tab area --> <!-- tab area -->