Loading packages/SystemUI/res/layout/forced_resizable_activity.xml +3 −4 Original line number Original line Diff line number Diff line Loading @@ -18,10 +18,9 @@ android:layout_width="match_parent" android:layout_width="match_parent" android:layout_height="match_parent"> android:layout_height="match_parent"> <TextView <include layout="@*android:layout/transient_notification" android:layout_width="wrap_content" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_gravity="center"/> android:text="@string/dock_forced_resizable" android:textColor="#ffffff"/> </FrameLayout> </FrameLayout> No newline at end of file packages/SystemUI/res/values/colors.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -151,7 +151,7 @@ <color name="docked_divider_background">#ff000000</color> <color name="docked_divider_background">#ff000000</color> <color name="docked_divider_handle">#ffffff</color> <color name="docked_divider_handle">#ffffff</color> <drawable name="forced_resizable_background">#80000000</drawable> <drawable name="forced_resizable_background">#40000000</drawable> <color name="default_remote_input_background">@*android:color/notification_default_color</color> <color name="default_remote_input_background">@*android:color/notification_default_color</color> <color name="remote_input_hint">#99ffffff</color> <color name="remote_input_hint">#99ffffff</color> Loading packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -23,6 +23,7 @@ import android.view.KeyEvent; import android.view.MotionEvent; import android.view.MotionEvent; import android.view.View; import android.view.View; import android.view.View.OnTouchListener; import android.view.View.OnTouchListener; import android.widget.TextView; import com.android.systemui.R; import com.android.systemui.R; Loading @@ -45,6 +46,8 @@ public class ForcedResizableInfoActivity extends Activity implements OnTouchList protected void onCreate(@Nullable Bundle savedInstanceState) { protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.onCreate(savedInstanceState); setContentView(R.layout.forced_resizable_activity); 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); getWindow().getDecorView().setOnTouchListener(this); } } Loading Loading
packages/SystemUI/res/layout/forced_resizable_activity.xml +3 −4 Original line number Original line Diff line number Diff line Loading @@ -18,10 +18,9 @@ android:layout_width="match_parent" android:layout_width="match_parent" android:layout_height="match_parent"> android:layout_height="match_parent"> <TextView <include layout="@*android:layout/transient_notification" android:layout_width="wrap_content" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_gravity="center"/> android:text="@string/dock_forced_resizable" android:textColor="#ffffff"/> </FrameLayout> </FrameLayout> No newline at end of file
packages/SystemUI/res/values/colors.xml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -151,7 +151,7 @@ <color name="docked_divider_background">#ff000000</color> <color name="docked_divider_background">#ff000000</color> <color name="docked_divider_handle">#ffffff</color> <color name="docked_divider_handle">#ffffff</color> <drawable name="forced_resizable_background">#80000000</drawable> <drawable name="forced_resizable_background">#40000000</drawable> <color name="default_remote_input_background">@*android:color/notification_default_color</color> <color name="default_remote_input_background">@*android:color/notification_default_color</color> <color name="remote_input_hint">#99ffffff</color> <color name="remote_input_hint">#99ffffff</color> Loading
packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -23,6 +23,7 @@ import android.view.KeyEvent; import android.view.MotionEvent; import android.view.MotionEvent; import android.view.View; import android.view.View; import android.view.View.OnTouchListener; import android.view.View.OnTouchListener; import android.widget.TextView; import com.android.systemui.R; import com.android.systemui.R; Loading @@ -45,6 +46,8 @@ public class ForcedResizableInfoActivity extends Activity implements OnTouchList protected void onCreate(@Nullable Bundle savedInstanceState) { protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.onCreate(savedInstanceState); setContentView(R.layout.forced_resizable_activity); 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); getWindow().getDecorView().setOnTouchListener(this); } } Loading