Loading api/current.txt +10 −10 Original line number Diff line number Diff line Loading @@ -57760,16 +57760,16 @@ package android.widget { method @Deprecated public void onZoom(boolean); } public class ZoomControls extends android.widget.LinearLayout { ctor public ZoomControls(android.content.Context); ctor public ZoomControls(android.content.Context, android.util.AttributeSet); method public void hide(); method public void setIsZoomInEnabled(boolean); method public void setIsZoomOutEnabled(boolean); method public void setOnZoomInClickListener(android.view.View.OnClickListener); method public void setOnZoomOutClickListener(android.view.View.OnClickListener); method public void setZoomSpeed(long); method public void show(); @Deprecated public class ZoomControls extends android.widget.LinearLayout { ctor @Deprecated public ZoomControls(android.content.Context); ctor @Deprecated public ZoomControls(android.content.Context, android.util.AttributeSet); method @Deprecated public void hide(); method @Deprecated public void setIsZoomInEnabled(boolean); method @Deprecated public void setIsZoomOutEnabled(boolean); method @Deprecated public void setOnZoomInClickListener(android.view.View.OnClickListener); method @Deprecated public void setOnZoomOutClickListener(android.view.View.OnClickListener); method @Deprecated public void setZoomSpeed(long); method @Deprecated public void show(); } } core/java/android/widget/ZoomControls.java +5 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,11 @@ import com.android.internal.R; /** * The {@code ZoomControls} class displays a simple set of controls used for zooming and * provides callbacks to register for events. */ * provides callbacks to register for events. * @deprecated This functionality and UI is better handled with custom views and layouts * rather than a dedicated zoom-control widget */ @Deprecated @Widget public class ZoomControls extends LinearLayout { Loading Loading
api/current.txt +10 −10 Original line number Diff line number Diff line Loading @@ -57760,16 +57760,16 @@ package android.widget { method @Deprecated public void onZoom(boolean); } public class ZoomControls extends android.widget.LinearLayout { ctor public ZoomControls(android.content.Context); ctor public ZoomControls(android.content.Context, android.util.AttributeSet); method public void hide(); method public void setIsZoomInEnabled(boolean); method public void setIsZoomOutEnabled(boolean); method public void setOnZoomInClickListener(android.view.View.OnClickListener); method public void setOnZoomOutClickListener(android.view.View.OnClickListener); method public void setZoomSpeed(long); method public void show(); @Deprecated public class ZoomControls extends android.widget.LinearLayout { ctor @Deprecated public ZoomControls(android.content.Context); ctor @Deprecated public ZoomControls(android.content.Context, android.util.AttributeSet); method @Deprecated public void hide(); method @Deprecated public void setIsZoomInEnabled(boolean); method @Deprecated public void setIsZoomOutEnabled(boolean); method @Deprecated public void setOnZoomInClickListener(android.view.View.OnClickListener); method @Deprecated public void setOnZoomOutClickListener(android.view.View.OnClickListener); method @Deprecated public void setZoomSpeed(long); method @Deprecated public void show(); } }
core/java/android/widget/ZoomControls.java +5 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,11 @@ import com.android.internal.R; /** * The {@code ZoomControls} class displays a simple set of controls used for zooming and * provides callbacks to register for events. */ * provides callbacks to register for events. * @deprecated This functionality and UI is better handled with custom views and layouts * rather than a dedicated zoom-control widget */ @Deprecated @Widget public class ZoomControls extends LinearLayout { Loading