Update visuals of force resizable

am: 7b39369

* commit '7b3936977fb6db8fcef5605d4ee2df48a4465663':
  Update visuals of force resizable

Change-Id: Ied76deee5e83a0473831240338098a320c67451b
This commit is contained in:
Jorim Jaggi
2016-04-09 01:43:25 +00:00
committed by android-build-merger
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);
}