Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b393697 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Update visuals of force resizable

Bug: 27327287
Change-Id: I32d30a8044f683e2f6287035250126999f623e15
parent d06e606b
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -18,10 +18,9 @@
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <TextView
    <include
        layout="@*android:layout/transient_notification"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:text="@string/dock_forced_resizable"
        android:textColor="#ffffff"/>
        android:layout_gravity="center"/>
</FrameLayout>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@

    <color name="docked_divider_background">#ff000000</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="remote_input_hint">#99ffffff</color>
+3 −0
Original line number Diff line number Diff line
@@ -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);
    }