diff --git a/packages/SystemUI/res/layout/forced_resizable_activity.xml b/packages/SystemUI/res/layout/forced_resizable_activity.xml index 9cf9f6edb2485..3c778c431a2e4 100644 --- a/packages/SystemUI/res/layout/forced_resizable_activity.xml +++ b/packages/SystemUI/res/layout/forced_resizable_activity.xml @@ -18,10 +18,9 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - + android:layout_gravity="center"/> \ No newline at end of file diff --git a/packages/SystemUI/res/values/colors.xml b/packages/SystemUI/res/values/colors.xml index b874e7c051dbc..d9fcf425a287a 100644 --- a/packages/SystemUI/res/values/colors.xml +++ b/packages/SystemUI/res/values/colors.xml @@ -151,7 +151,7 @@ #ff000000 #ffffff - #80000000 + #40000000 @*android:color/notification_default_color #99ffffff diff --git a/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java b/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java index f728dab3f4113..d4922c35dcef7 100644 --- a/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java +++ b/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java @@ -23,6 +23,7 @@ import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; +import android.widget.TextView; import com.android.systemui.R; @@ -45,6 +46,8 @@ public class ForcedResizableInfoActivity extends Activity implements OnTouchList protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.forced_resizable_activity); + TextView tv = (TextView) findViewById(com.android.internal.R.id.message); + tv.setText(R.string.dock_forced_resizable); getWindow().getDecorView().setOnTouchListener(this); }