diff options
author | Paul Sliwowski <psliwowski@google.com> | 2013-06-06 14:12:28 -0700 |
---|---|---|
committer | Paul Sliwowski <psliwowski@google.com> | 2013-06-06 14:12:34 -0700 |
commit | f44780b63ec165b2c6f3e16082d52a3f59c97a0c (patch) | |
tree | 3522c9e5530f2738ec44b3b91b0e8f738125e9f5 /res/layout/event_info_dialog.xml | |
parent | e276cb379580f9db4582f2afd1c065c9f50a3ded (diff) | |
download | android_packages_apps_Calendar-f44780b63ec165b2c6f3e16082d52a3f59c97a0c.tar.gz android_packages_apps_Calendar-f44780b63ec165b2c6f3e16082d52a3f59c97a0c.tar.bz2 android_packages_apps_Calendar-f44780b63ec165b2c6f3e16082d52a3f59c97a0c.zip |
Fix issue with error message being displayed on tablets.
Change-Id: If1c6e01ad260c0e1268cd7c4bafd05c5dda3b373
Diffstat (limited to 'res/layout/event_info_dialog.xml')
-rw-r--r-- | res/layout/event_info_dialog.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/res/layout/event_info_dialog.xml b/res/layout/event_info_dialog.xml index 0845b3d0..2c51c77d 100644 --- a/res/layout/event_info_dialog.xml +++ b/res/layout/event_info_dialog.xml @@ -37,12 +37,11 @@ android:layout_height="wrap_content" /> </RelativeLayout> <TextView - android:layout_below="@+id/event_info_error_msg" - android:layout_centerHorizontal="true" + android:id="@+id/event_info_error_msg" android:text="@string/event_not_found" - android:layout_centerInParent="true" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:gravity="center" + android:layout_width="match_parent" + android:layout_height="match_parent" /> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/event_info_scroll_view" |