diff --git a/packages/SystemUI/res/drawable-hdpi/compat_mode_help_diagram.png b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_diagram.png
new file mode 100644
index 0000000000000..944b1f0bbc25b
Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_diagram.png differ
diff --git a/packages/SystemUI/res/drawable-hdpi/compat_mode_help_divider_bottom.9.png b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_divider_bottom.9.png
new file mode 100644
index 0000000000000..2e11928518f32
Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_divider_bottom.9.png differ
diff --git a/packages/SystemUI/res/drawable-hdpi/compat_mode_help_divider_top.9.png b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_divider_top.9.png
new file mode 100644
index 0000000000000..58a78b791a2e4
Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_divider_top.9.png differ
diff --git a/packages/SystemUI/res/drawable-hdpi/compat_mode_help_icon.png b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_icon.png
new file mode 100644
index 0000000000000..46bb891fb2b89
Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_icon.png differ
diff --git a/packages/SystemUI/res/drawable-hdpi/compat_mode_help_top_divider.9.png b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_top_divider.9.png
new file mode 100644
index 0000000000000..03a5639f876f0
Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/compat_mode_help_top_divider.9.png differ
diff --git a/packages/SystemUI/res/drawable-mdpi/compat_mode_help_diagram.png b/packages/SystemUI/res/drawable-mdpi/compat_mode_help_diagram.png
new file mode 100644
index 0000000000000..518a5c193e59f
Binary files /dev/null and b/packages/SystemUI/res/drawable-mdpi/compat_mode_help_diagram.png differ
diff --git a/packages/SystemUI/res/drawable-mdpi/compat_mode_help_divider_bottom.9.png b/packages/SystemUI/res/drawable-mdpi/compat_mode_help_divider_bottom.9.png
new file mode 100644
index 0000000000000..3712abfbb39d5
Binary files /dev/null and b/packages/SystemUI/res/drawable-mdpi/compat_mode_help_divider_bottom.9.png differ
diff --git a/packages/SystemUI/res/drawable-mdpi/compat_mode_help_divider_top.9.png b/packages/SystemUI/res/drawable-mdpi/compat_mode_help_divider_top.9.png
new file mode 100644
index 0000000000000..a4d08c8bba083
Binary files /dev/null and b/packages/SystemUI/res/drawable-mdpi/compat_mode_help_divider_top.9.png differ
diff --git a/packages/SystemUI/res/drawable-mdpi/compat_mode_help_icon.png b/packages/SystemUI/res/drawable-mdpi/compat_mode_help_icon.png
new file mode 100644
index 0000000000000..233c4dfcc0ccf
Binary files /dev/null and b/packages/SystemUI/res/drawable-mdpi/compat_mode_help_icon.png differ
diff --git a/packages/SystemUI/res/drawable-nodpi/compat_mode_help_bg.png b/packages/SystemUI/res/drawable-nodpi/compat_mode_help_bg.png
index d1d32a470f0b0..59a70ff9765c8 100644
Binary files a/packages/SystemUI/res/drawable-nodpi/compat_mode_help_bg.png and b/packages/SystemUI/res/drawable-nodpi/compat_mode_help_bg.png differ
diff --git a/packages/SystemUI/res/drawable/compat_mode_help_bg.png b/packages/SystemUI/res/drawable/compat_mode_help_bg.png
new file mode 100644
index 0000000000000..87d8c4154ceed
Binary files /dev/null and b/packages/SystemUI/res/drawable/compat_mode_help_bg.png differ
diff --git a/packages/SystemUI/res/drawable/compat_mode_help_diagram.png b/packages/SystemUI/res/drawable/compat_mode_help_diagram.png
deleted file mode 100644
index e2122313bc55e..0000000000000
Binary files a/packages/SystemUI/res/drawable/compat_mode_help_diagram.png and /dev/null differ
diff --git a/packages/SystemUI/res/drawable/compat_mode_help_icon.png b/packages/SystemUI/res/drawable/compat_mode_help_icon.png
deleted file mode 100644
index 03bbef9c06a28..0000000000000
Binary files a/packages/SystemUI/res/drawable/compat_mode_help_icon.png and /dev/null differ
diff --git a/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml b/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml
index df3c5a3a402d6..d29e4959b93d1 100644
--- a/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml
+++ b/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml
@@ -27,51 +27,62 @@
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="160dp"
+ android:layout_marginLeft="80dp"
android:layout_marginTop="80dp"
+ android:layout_marginRight="80dp"
android:textSize="60sp"
android:maxLines="1"
android:shadowRadius="8"
android:shadowColor="#FF000000"
android:text="@string/compat_mode_help_header"
+ android:background="@drawable/compat_mode_help_divider_top"
/>
-
-
+ >
+
+
+
diff --git a/packages/SystemUI/res/layout-sw600dp/status_bar_compat_mode_panel.xml b/packages/SystemUI/res/layout-sw600dp/status_bar_compat_mode_panel.xml
index c151565fe798f..a33741e86477e 100644
--- a/packages/SystemUI/res/layout-sw600dp/status_bar_compat_mode_panel.xml
+++ b/packages/SystemUI/res/layout-sw600dp/status_bar_compat_mode_panel.xml
@@ -31,13 +31,13 @@
android:orientation="vertical"
android:padding="10dp"
>
-
+
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
index e7ad2b2fc4a9f..937ddc1448312 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
@@ -82,6 +82,7 @@ public class TabletStatusBar extends StatusBar implements
HeightReceiver.OnBarHeightChangedListener,
InputMethodsPanel.OnHardKeyboardEnabledChangeListener {
public static final boolean DEBUG = false;
+ public static final boolean DEBUG_COMPAT_HELP = false;
public static final String TAG = "TabletStatusBar";
@@ -1012,7 +1013,8 @@ public class TabletStatusBar extends StatusBar implements
mCompatModeButton.refresh();
if (mCompatModeButton.getVisibility() == View.VISIBLE) {
- if (! Prefs.read(mContext).getBoolean(Prefs.SHOWN_COMPAT_MODE_HELP, false)) {
+ if (DEBUG_COMPAT_HELP
+ || ! Prefs.read(mContext).getBoolean(Prefs.SHOWN_COMPAT_MODE_HELP, false)) {
showCompatibilityHelp();
}
} else {