• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

Revision9ef185fe1b1bfd2eeb92c86589ca192751f8be2e (tree)
Time2011-01-29 11:09:20
AuthorChristopher Tate <ctate@goog...>
CommiterAndroid (Google) Code Review

Log Message

Merge "The drag/drop ApiDemo now uses a global drag, not local-only"

Change Summary

Incremental Difference

--- a/samples/ApiDemos/src/com/example/android/apis/view/DraggableDot.java
+++ b/samples/ApiDemos/src/com/example/android/apis/view/DraggableDot.java
@@ -132,7 +132,7 @@ public class DraggableDot extends View {
132132 public boolean onLongClick(View v) {
133133 ClipData data = ClipData.newPlainText("dot", "Dot : " + v.toString());
134134 v.startDrag(data, new ANRShadowBuilder(v, mAnrType == ANR_SHADOW),
135- (Object)v, 0);
135+ (Object)v, View.DRAG_FLAG_GLOBAL);
136136 return true;
137137 }
138138 });