Update visuals of force resizable

Bug: 27327287
Change-Id: I32d30a8044f683e2f6287035250126999f623e15
This commit is contained in:
Jorim Jaggi
2016-04-07 18:06:47 -07:00
parent d06e606b98
commit 7b3936977f
3 changed files with 7 additions and 5 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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);
}