Chế độ xem hiển thị bản đồ (với dữ liệu thu được từ dịch vụ Google Maps). Khi lấy tiêu điểm, máy ảnh này sẽ ghi lại các thao tác nhấn phím và cử chỉ chạm để di chuyển bản đồ.
Người dùng lớp này phải chuyển tiếp tất cả phương thức vòng đời từ Activity
hoặc Fragment
chứa chế độ xem này đến các phương thức tương ứng trong lớp này. Cụ thể, bạn phải chuyển tiếp sang các phương thức sau:
onCreate(Bundle)
onStart()
onResume()
onPause()
onStop()
onDestroy()
onSaveInstanceState(Bundle)
onLowMemory()
Bạn phải lấy một GoogleMap
bằng getMapAsync(OnMapReadyCallback)
. MapView
tự động khởi chạy hệ thống bản đồ và thành phần hiển thị.
Để có một phương thức đơn giản hơn để hiển thị Maps, hãy sử dụng MapFragment
(hoặc SupportMapFragment
) nếu bạn muốn nhắm mục tiêu các nền tảng trước đó.
Lưu ý: Bạn không nên thêm trẻ em vào chế độ xem này.
Hướng dẫn cho nhà phát triển
Để biết thêm thông tin, hãy đọc hướng dẫn dành cho nhà phát triển SDK Google Maps dành cho Android.
Tóm tắt hằng số kế thừa
int | FOCUS_after_UPDATEENDANTS | |
int | FOCUS_BEFORE_CODEENDANTS | |
int | Nội dung chính | |
int | ngăn_CHẾ ĐỘ_CLIP_BOUND | |
int | chuột_CHẾ ĐỘ_PHÁT_KHÓNG | |
int | PERSISTENT_ALL_CacheS | |
int | PERSISTENT_ANIMATION_REDIRECT | |
int | PERSISTENT_NO_REDIRECT | |
int | PERSISTENT_SCROLLING_REDIRECT |
int | TIẾP CẬN_TRỰC TIẾP_REGION_ASSERTIVE | |
int | ACCESSIBILITY_LIVE_REGION_NONE | |
int | TIẾP CẬN_LIVE_REGION_POLITE | |
int | AutoFILL_FLAG_INCLUDE_NOT_INFORMATION_VIEWS | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_EXPIRE_DATE | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_EXPIRE_DAY | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_EXPIRE_MONTH | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_EXPIRE_YEAR | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_NUMBER | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_MANAGE_CODE | |
Chuỗi | AutoFILL_HINT_EMAIL_ADDRESS | |
Chuỗi | AutoFILL_HINT_NAME | |
Chuỗi | AutoFILL_HINT_VERIFICATION | |
Chuỗi | AutoFILL_HINT_PHONE | |
Chuỗi | AutoFILL_HINT_POSTAL_ADDRESS | |
Chuỗi | AutoFILL_HINT_POSTAL_CODE | |
Chuỗi | AutoFILL_HINT_TÊN | |
int | AutoFILL_TYPE_DATE | |
int | AutoFILL_TYPE_LIST | |
int | AutoFILL_TYPE_NONE | |
int | AutoFILL_TYPE_TEXT | |
int | AutoFILL_TYPE_TOGGLE | |
int | DRAG_FLAG_GLOBAL | |
int | DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION | |
int | DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION | |
int | DRAG_FLAG_GLOBAL_URI_READ | |
int | DRAG_FLAG_GLOBAL_URI_WRITE | |
int | DRAG_FLAG_OPAQUE | |
int | DRAW__REDIRECT_CHẤT_ĐƯỢC_TÍCH HOẠT | |
int | DRAW__REDIRECT_CHẤT LƯỢNG CAO | |
int | VUI LÒNG_NHẤT_CHẤP_CHẤT_CHẤU_ lựa | |
int | FIND_VIEWS_WITH_CONTENT_DESCRIPTION | |
int | FIND_VIEWS_WITH_TEXT | |
int | CÓ THỂ DÙNG | |
int | FOCUSABLES_ALL | |
int | FOCUSABLES_TOTouch_MODE | |
int | FOCUSABLE_Auto | |
int | FOCUS_BACKWARD | |
int | FOCUS_DOWN | |
int | CHUYỂN ĐỔI | |
int | FOCUS_LEFT | |
int | FOCUS_RIGHT | |
int | FOCUS_UP | |
int | GONE | |
int | PHẢN HỒI HAPTIC_ĐÃ_BẬT | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG_NỘI DUNG | |
int | INVISIBLE | |
int | GIỮ_Màn_Hình_ảnh | |
int | LAYER_TYPE_HARDWARE | |
int | LAYER_TYPE_KHÔNG | |
int | LAYER_TYPE_software | |
int | ngăn_PHÁ_GIÁ_HƯỚNG | |
int | Nguyên_BẢNG_PH_GIÁ_DẤT | |
int | Video_DIRECTION_LTR | |
int | khỏi_BẢNG_ hướng_RTL | |
int | MEASURED_HEIGHT_State_SHIFT | |
int | MEASURED_SIZE_Mask | |
int | MEASURED_State_Mask | |
int | MEASURED_State_TOO_SMALL | |
int | KHÔNG_HOẠT ĐỘNG | |
int | NO_ID | |
int | GHI ĐÈ | |
int | GHI ĐÈ | |
int | GHI ĐÈ_NỀN TẢNG | |
int | màn hình_ĐÃ_TẮT | |
int | TRẠNG_THÁI_HIỂN THỊ | |
int | SCROLLBARS_INEXTERNAL_INSET | |
int | SCROLLBOOKS_INEXTERNAL_OVERLAY | |
int | SCROLLBARS_OUTEXTERNAL_INSET | |
int | SCROLLBARS_OUTEXTERNAL_OVERLAY | |
int | SCROLLBOOK_Position_DEFAULT | |
int | SCROLLBAR_ VỊ TRÍ_LEFT | |
int | ĐĂNG KÝ | |
int | SCROLL_AXIS_HORIZONTAL | |
int | SCROLL_AXIS_NONE | |
int | SCROLL_AXIS_COLUMNS | |
int | SCROLL_INDICATOR_LEFT | |
int | SCROLL_INDICATOR_END | |
int | SCROLL_INDICATOR_LEFT | |
int | SCROLL_INDICATOR_RIGHT | |
int | SCROLL_INDICATOR_START | |
int | SCROLL_INDICATOR_TOP | |
int | ÂM THANH_ĐÃ_BẬT | |
int | TRẠNG THÁI_BẢNG_DỮ LIỆU | |
int | TRẠNG_THÁI_BẢNG_DỄ DÀNG | |
int | HIỂN THỊ_HỘP_CÁT_HỘP_CÁT | |
int | System_UI_FLAG_HIDDEN_NAVIGATION | |
int | System_UI_FLAG_IMMORSIVE | |
int | System_UI_FLAG_IMMORSIVE_STICAZ | |
int | system_UI_FLAG_ROOM_FULLSỐ MÀN HÌNH | |
int | System_UI_FLAG_ROOM_VISIT_NAVIGATION | |
int | TABLE_UI_FLAG_ROOM_STABLE | |
int | System_UI_FLAG_LIGHT_NAVIGATION_BAR | |
int | System_UI_FLAG_LIGHT_STATUS_BAR | |
int | System_UI_FLAG_FLAG_PROFILE | |
int | System_UI_FLAG_VISIBLE | |
int | System_UI_ROOM_FLAGS | |
int | VĂN BẢN_TRUNG BÌNH | |
int | TEXT_ALIGNMENT_GRAVITY | |
int | VĂN BẢN_VĂN BẢN_VĂN BẢN | |
int | TEXT_ALIGNMENT_TEXT_END | |
int | TEXT_ALIGNMENT_TEXT_START | |
int | TEXT_ALIGNMENT_VIEW_END | |
int | TEXT_ALIGNMENT_VIEW_START | |
int | TEXT_DIRECTION_ANY_RTL | |
int | TEXT_DIRECTION_FIRST_STRONG | |
int | TEXT_DIRECTION_FIRST_STRONG_LTR | |
int | TEXT_DIRECTION_FIRST_STRONG_RTL | |
int | TEXT_DIRECTION_INHERIT | |
int | TEXT_DIRECTION_ANGLE | |
int | TEXT_DIRECTION_LTR | |
int | TEXT_DIRECTION_RTL | |
int | VISIBLE |
Tóm tắt trường kế thừa
public static final Thuộc tính<View, Float> | ALPHA | |
public static final Thuộc tính<View, Float> | XOÁ | |
public static final Thuộc tính<View, Float> | ROTATION_X (ROTATION_X) | |
public static final Thuộc tính<View, Float> | ROTATION_Y | |
public static final Thuộc tính<View, Float> | ĐIỀU CHỈNH_SX | |
public static final Thuộc tính<View, Float> | ĐIỀU CHỈNH THEO SỐ LIỆU | |
public static final Thuộc tính<View, Float> | TRANSLATION_X | |
public static final Thuộc tính<View, Float> | BẢN DỊCH_PHIÊN | |
public static final Thuộc tính<View, Float> | TRANSLATION_Z | |
public static final Thuộc tính<View, Float> | X | |
public static final Thuộc tính<View, Float> | Có | |
public static final Thuộc tính<View, Float> | Z |
Bản tóm tắt về hàm dựng công khai
MapView(Ngữ cảnh theo ngữ cảnh)
|
|
MapView(Ngữ cảnh theo bối cảnh, thuộc tính Thuộc tính đặt thuộc tính)
|
|
MapView(Ngữ cảnh theo bối cảnh, thuộc tính Thuộc tính (SetSet, giá trị thuộc tính), int defStyle)
|
|
MapView(Ngữ cảnh theo bối cảnh, tùy chọn GoogleMapOptions)
|
Tóm tắt phương pháp công khai
void |
getMapAsync(lệnh gọi lại OnMapReadyCallback)
Trả về một thực thể không rỗng của
GoogleMap , sẵn sàng để sử dụng. |
khoảng trống cuối cùng |
onCreate(Gói savedInstanceState)
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
|
khoảng trống cuối cùng |
onDestroy()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
|
khoảng trống cuối cùng |
onEnterAmbient(Gói môi trường xung quanh)
Bạn phải gọi phương thức này từ phương thức tương ứng của WearableActivity.
|
khoảng trống cuối cùng |
onExitAmbient()
Bạn phải gọi phương thức này từ phương thức tương ứng của WearableActivity.
|
khoảng trống cuối cùng |
onLowMemory()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
|
khoảng trống cuối cùng |
onPause()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
|
khoảng trống cuối cùng |
onResume()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
|
khoảng trống cuối cùng |
onSaveInstanceState(Gói đầu ra)
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
|
khoảng trống cuối cùng |
onStart()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
|
khoảng trống cuối cùng |
onStop()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
|
Tóm tắt phương pháp kế thừa
ViewGroup.LayoutParams |
generateLayoutParams(AttributeSet arg0)
|
Chuỗi trình tự |
getAccessibilityClassName()
|
boolean |
getThinkGoneChildrenKhi Đo lường()
|
boolean |
getMeasureAllChildren()
|
void |
setForegroundGravity(int arg0)
|
void |
setMeasureAllChild(boolean arg0)
|
boolean |
shouldDelayChildpressededState()
|
void |
addChildrenForAccessibility(ArrayList<View> arg0)
|
void |
addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo arg0, String arg1, Gói arg2)
|
void |
addFocusables(ArrayList<View> arg0, int arg1, int arg2)
|
void |
addKeyboardNavigationClusters(Bộ sưu tập<View> arg0, int arg1)
|
boolean |
addStatesFromChildren()
|
void |
addTouchables(ArrayList<View> arg0)
|
void |
addView(Xem arg0, ViewGroup.LayoutParams arg1)
|
void |
addView(Xem arg0, in arg1)
|
void |
addView(Xem arg0, int arg1, ViewGroup.LayoutParams arg2)
|
void |
addView(Xem arg0)
|
void |
addView(Xem arg0, int arg1, int arg2)
|
void |
bringChildToFront(Xem arg0)
|
void |
childDrawableStateChanged(Xem arg0)
|
void |
childhasTransientStateChanged(Xem arg0, boolean arg1)
|
void |
clearChildFocus(Xem arg0)
|
void |
clearDisXuất hiệnChild()
|
void |
clearFocus()
|
Lồng ghép cửa sổ |
dispatchApplyWindowInsets (WindowInsets arg0)
|
boolean |
dispatchCapturedPointerEvent(Đối số MotionEvent)
|
void |
dispatchConfigurationChanged(Cấu hình arg0)
|
void |
dispatchDisplayHint(int arg0)
|
boolean |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDrawableHotspotChanged(float arg0, float arg1)
|
void |
dispatchFinishPauseDetach ()
|
boolean |
dispatchKeyEvent(KeyEvent arg0)
|
boolean |
dispatchKeyEventPreIme(KeyEvent arg0)
|
boolean |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
void |
dispatchPointerCaptureChanged(boolean arg0)
|
void |
dispatchProvideAutofillAutofill(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure (ViewStructure đối số)
|
void |
dispatchSetActivated (boolean arg0)
|
void |
dispatchSetSelected(boolean arg0)
|
void |
dispatchStartPauseDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
boolean |
dispatchTouchEvent(Đối số MotionEvent)
|
boolean |
dispatchTrackballEvent(Đối số MotionEvent)
|
boolean |
dispatchUnhandledMove(Xem tệp arg0, int arg1)
|
void |
dispatchWindowFocusChanged(boolean arg0)
|
void |
dispatchWindowInsetsAnimationEnd(WindowInsetsAnimation arg0)
|
void |
dispatchWindowInsetsAnimationAnimation(WindowInsetsAnimation arg0)
|
Lồng ghép cửa sổ |
dispatchWindowInsetsAnimationProgress(WindowInsets arg0, List<WindowInsetsAnimation> arg1)
|
WindowInsetsAnimation.Bounds |
dispatchWindowInsetsAnimationStart (WindowInsetsAnimation arg0, WindowInsetsAnimation.Bounds arg1)
|
void |
dispatchWindowSystemUiVisiblityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
endViewTransition(Xem arg0)
|
Xem |
findFocus()
|
void |
findViewsWithText(ArrayList<View> arg0, CharSequence arg1, int arg2)
|
Xem |
focusSearch(Xem arg0, int arg1)
|
void |
focusableViewAvailable(Xem arg0)
|
boolean |
gatherTransparentRegion(Khu vực arg0)
|
ViewGroup.LayoutParams |
generateLayoutParams(AttributeSet arg0)
|
Chuỗi trình tự |
getAccessibilityClassName()
|
Xem |
getChildAt(int arg0)
|
int |
getChildCount()
|
số nguyên cuối cùng |
getChildDrawingorder(int arg0)
|
static int |
getChildMeasureSpec(int arg0, int arg1, int arg2)
|
boolean |
getChildVisibleRect(Xem arg0, Rect arg1, Point arg2)
|
boolean |
getClipChildren()
|
boolean |
getClipToPadding()
|
int |
getDescendantFocusability()
|
Xem |
getFocusedChild()
|
Bố cục điều khiển ảnh động |
getLayoutAnimation()
|
Animation.AnimationListener |
getLayoutAnimationListener()
|
int |
getLayoutMode()
|
Chuyển đổi bố cục |
getLayoutTransition()
|
int |
getNestedscrollAxes()
|
ViewOverlay |
getOverlay()
|
int |
getConstantDrawingCache()
|
boolean |
getTouchscreenBlocksFocus()
|
boolean |
hasFocus()
|
boolean |
hasTransientState()
|
int |
indexOfChild(Xem đối số)
|
khoảng trống cuối cùng |
invalidateChild(Xem arg0, Rect arg1)
|
ViewParent |
invalidateChildInParent(int[] arg0, Rect arg1)
|
boolean |
isalwaysDrawnWithCacheEnabled()
|
boolean |
isAnimationCacheEnabled()
|
boolean |
isLayoutSuppressed()
|
boolean |
isMotionEventSplittingEnabled ()
|
boolean |
isTransitionGroup()
|
void |
jumpDrawablesToCurrentState()
|
khoảng trống cuối cùng |
layout(int arg0, int arg1, int arg2, int arg3)
|
void |
notifySubtreeAccessibilityStateChanged(Xem arg0, Xem arg1, int arg2)
|
khoảng trống cuối cùng |
offsetDescendantRectToMyCoords(Xem arg0, Rect arg1)
|
khoảng trống cuối cùng |
offsetRectIntoDescendantCoords(Xem arg0, Rect arg1)
|
void |
onDescendantInvalidated(Xem arg0, Xem arg1)
|
boolean |
onInterceptHoverEvent(Đối số MotionEvent)
|
boolean |
onInterceptTouchEvent(Đối số chuyển động)
|
boolean |
onNestedFling(Xem arg0, float arg1, args float2, boolean arg3)
|
boolean |
onNestedPreFling(Xem đối số, float arg1, arg2 float2)
|
boolean |
onNestedPrePerformAccessibilityAction(Xem arg0, int arg1, Gói arg2)
|
void |
onNestedPreScroll(Xem arg0, int arg1, int arg2, int [] arg3)
|
void |
onNestedscroll(Xem arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
onNestedscrollAccept(Xem arg0, Xem arg1, int arg2)
|
boolean |
onRequestSendAccessibilityEvent(Xem đối số arg0, đối số hỗ trợ tiếp cận)
|
Biểu tượng con trỏ |
on resolvePointerIcon(MotionEvent arg0, int arg1)
|
boolean |
onStartNestedscroll(Xem arg0, Xem arg1, int arg2)
|
void |
onStopNestedscroll(Xem arg0)
|
void |
onViewAdded(Xem đối số)
|
void |
onViewRemoved(Xem arg0)
|
void |
recomputeViewAttributes(Xem đối số 0)
|
void |
removeAllViews()
|
void |
removeAllViewsInLayout()
|
void |
removeView(Xem đối số 0)
|
void |
removeViewAt(int arg0)
|
void |
removeViewInLayout(Xem đối số)
|
void |
removeView(int arg0, int arg1)
|
void |
removeViewInLayout(int arg0, int arg1)
|
void |
requestChildFocus(Xem arg0, Xem arg1)
|
boolean |
requestChildRectangleOnScreen(Xem arg0, Rect arg1, boolean arg2)
|
void |
request nayInterceptTouchEvent(boolean arg0)
|
boolean |
requestFocus(int arg0, Rect arg1)
|
boolean |
requestSendAccessibilityEvent(Xem đối số arg0, đối số Hỗ trợ tiếp cận sự kiện1)
|
void |
request minhRegion(Xem arg0)
|
boolean |
restoreDefaultFocus()
|
void |
scheduleLayoutAnimation()
|
void |
setAddStatesFromChild(boolean arg0)
|
void |
setAlwaysDrawnWithCacheEnabled(boolean arg0)
|
void |
setAnimationCacheEnabled(boolean arg0)
|
void |
setClipChild(boolean arg0)
|
void |
setClipToPadding(boolean arg0)
|
void |
setDescendantFocusability(int arg0)
|
void |
setLayoutAnimation(LayoutAnimationController arg0)
|
void |
setLayoutAnimationListener(Animation.AnimationListener arg0)
|
void |
setLayoutMode(int arg0)
|
void |
setLayoutTransition(Đối số LayoutTransition arg0)
|
void |
setMotionEventSplittingEnabled (boolean arg0)
|
void |
setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener arg0)
|
void |
setConstantDrawingCache(int arg0)
|
void |
setTouchscreenBlocksFocus(boolean arg0)
|
void |
setTransitionGroup(boolean arg0)
|
void |
setWindowInsetsAnimationCallback (WindowInsetsAnimation.Callback arg0)
|
boolean |
shouldDelayChildpressededState()
|
boolean |
showContextMenuForChild(Xem đối số float, đối số nổi arg1, đối số nổi arg2)
|
boolean |
showContextMenuForChild(Xem đối số)
|
Chế độ hành động |
startActionModeForChild(Xem đối số Action0, ActionMode.Callback arg1, int arg2)
|
Chế độ hành động |
startActionModeForChild(Xem đối số Action0, ActionMode.Callback arg1)
|
void |
startLayoutAnimation()
|
void |
startViewTransition(Xem arg0)
|
void |
suppressLayout(boolean arg0)
|
void |
updateViewLayout(Xem arg0, ViewGroup.LayoutParams arg1)
|
void |
addChildrenForAccessibility(ArrayList<View> arg0)
|
void |
addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo arg0, String arg1, Gói arg2)
|
void |
addFocusables(ArrayList<View> arg0, int arg1)
|
void |
addFocusables(ArrayList<View> arg0, int arg1, int arg2)
|
void |
addKeyboardNavigationClusters(Bộ sưu tập<View> arg0, int arg1)
|
void |
addOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
addOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
addOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
addTouchables(ArrayList<View> arg0)
|
ViewPropertyAnimator |
animate()
|
void |
announceForAccessibility(CharSequence arg0)
|
void |
autofill (AutofillValue arg0)
|
void |
autofill(SparseArray<AutofillValue> arg0)
|
void |
bringToFront()
|
void |
buildDrawingCache(boolean arg0)
|
void |
buildDrawingCache()
|
void |
buildLayer()
|
boolean |
callOnClick()
|
boolean |
can resolveLayoutDirection()
|
boolean |
can resolveTextAlignment()
|
boolean |
can rồiTextDirection()
|
boolean |
canScrollHorizontally(int arg0)
|
boolean |
canScrollVertically(int arg0)
|
khoảng trống cuối cùng |
cancelDragAndDrop()
|
void |
cancelLongPress()
|
khoảng trống cuối cùng |
cancel đangInputEvents()
|
boolean |
checkInputConnectionProxy(Xem arg0)
|
void |
clearAnimation()
|
void |
clearFocus()
|
static int |
combineMeasuredStates(int arg0, int arg1)
|
void |
computeScroll()
|
Lồng ghép cửa sổ |
computeSystemWindowInsets(WindowInsets arg0, Rect arg1)
|
Thông tin hỗ trợ tiếp cận |
createAccessibilityNodeInfo()
|
void |
createContextMenu(ContextMenu arg0)
|
void |
destroyDrawingCache()
|
Lồng ghép cửa sổ |
dispatchApplyWindowInsets (WindowInsets arg0)
|
boolean |
dispatchCapturedPointerEvent(Đối số MotionEvent)
|
void |
dispatchConfigurationChanged(Cấu hình arg0)
|
void |
dispatchDisplayHint(int arg0)
|
boolean |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDrawableHotspotChanged(float arg0, float arg1)
|
void |
dispatchFinishPauseDetach()
|
boolean |
dispatchGenericMotionEvent(Đối số chuyển động)
|
boolean |
dispatchKeyEvent(KeyEvent arg0)
|
boolean |
dispatchKeyEventPreIme(KeyEvent arg0)
|
boolean |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
boolean |
dispatchNestedFling(float arg0, arg1, boolean arg2)
|
boolean |
dispatchNestedPreFling(float arg0, arg1 (nổi) arg1)
|
boolean |
dispatchNestedPrePerformAccessibilityAction(int arg0, Gói arg1)
|
boolean |
dispatchNestedPreScroll(int arg0, int arg1, int[] arg2, int[] arg3)
|
boolean |
dispatchNestedscroll(int arg0, int arg1, int arg2, int arg3, int [] arg4)
|
void |
dispatchPointerCaptureChanged(boolean arg0)
|
boolean |
dispatchAutofillAccessibilityEvent(AccessibilityEvent arg0)
|
void |
dispatchProvideAutofillAutofill(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure đối số)
|
void |
dispatchStartPauseDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
boolean |
dispatchTouchEvent(Đối số MotionEvent)
|
boolean |
dispatchTrackballEvent(Đối số MotionEvent)
|
boolean |
dispatchUnhandledMove(Xem tệp arg0, int arg1)
|
void |
dispatchWindowFocusChanged(boolean arg0)
|
void |
dispatchWindowInsetsAnimationEnd(WindowInsetsAnimation arg0)
|
void |
dispatchWindowInsetsAnimationAnimation(WindowInsetsAnimation arg0)
|
Lồng ghép cửa sổ |
dispatchWindowInsetsAnimationProgress(WindowInsets arg0, List<WindowInsetsAnimation> arg1)
|
WindowInsetsAnimation.Bounds |
dispatchWindowInsetsAnimationStart(WindowInsetsAnimation arg0, WindowInsetsAnimation.Bounds arg1)
|
void |
dispatchWindowSystemUiVisiblityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
draw(Canvas đối số)
|
void |
drawableHotspotChanged(float arg0, float arg1)
|
Xem |
findFocus()
|
Final <T mở rộng Xem> T |
findViewById(int arg0)
|
Final <T mở rộng Xem> T |
findViewWithTag(Đối số arg0)
|
void |
findViewsWithText(ArrayList<View> arg0, CharSequence arg1, int arg2)
|
Xem |
focusSearch(int arg0)
|
void |
force Hasđang kết xuất (boolean arg0)
|
void |
forceLayout()
|
static int |
generateViewId()
|
Chuỗi trình tự |
getAccessibilityClassName()
|
View.AccessibilityDelegate |
getAccessibilityDelegate()
|
int |
getAccessibilityLiveRegion()
|
AccessibilityNodeProvider |
getAccessibilityNodeProvider()
|
Chuỗi trình tự |
getAccessibilityPaneTitle()
|
int |
getAccessibilityTraversalAfter()
|
int |
getAccessibilityTraversalBefore()
|
số thực dấu phẩy động |
getAlpha()
|
Ảnh động |
getAnimation()
|
Ma trận |
getAnimationMatrix()
|
Nghe nhìn |
getApplicationWindowToken()
|
int[] |
getAttributeResolutionStack(int arg0)
|
Map<Number, Số nguyên> |
getAttributeSourceResourceMap()
|
Chuỗi[] |
getAutofillHints()
|
Mã tự động điền cuối cùng |
getAutofillId()
|
int |
getAutofillType()
|
Giá trị tự động điền |
getAutofillValue()
|
Tài nguyên có thể kéo |
getBackground()
|
Chế độ trộn |
getBackgroundTintBlendMode()
|
ColorStateList |
getBackgroundTintList()
|
PorterDuff.Mode |
getBackgroundTintMode()
|
int |
getBaseline()
|
số nguyên cuối cùng |
getBottom()
|
số thực dấu phẩy động |
getCameraDistance()
|
boolean |
getClipBounds(Rect arg0)
|
Hình chữ nhật |
getClipBounds()
|
boolean cuối cùng |
getClipToOutline()
|
ContentCaptureSession cuối cùng |
getContentCaptureSession()
|
Chuỗi trình tự |
getContentDescription()
|
Bối cảnh cuối cùng |
getContext()
|
boolean cuối cùng |
getDefaultFocusHighlightEnabled()
|
static int |
getDefaultSize(int arg0, int arg1)
|
Màn hình |
getDisplay()
|
int int[] |
getDrawableState()
|
Bitmap |
getDrawingCache()
|
Bitmap |
getDrawingCache (boolean arg0)
|
int |
getDrawingCacheBackgroundColor()
|
int |
getDrawingCacheQuality()
|
void |
getDrawingRect(Rect arg0)
|
dài |
getDrawingTime ()
|
số thực dấu phẩy động |
getElevation()
|
int |
getexplicitStyle()
|
boolean |
getFilterTouchesKhihiddened()
|
boolean |
getFitsSystemWindows()
|
int |
getFocusable
|
ArrayList<View> |
getFocusables (int arg0)
|
void |
getFocusedRect(Rect arg0)
|
Tài nguyên có thể kéo |
getForeground()
|
int |
getForegroundGravity()
|
Chế độ trộn |
getForegroundTintBlendMode()
|
ColorStateList |
getForegroundTintList()
|
PorterDuff.Mode |
getForegroundTintMode()
|
boolean cuối cùng |
getglobalVisibleRect(Rect arg0)
|
boolean |
getGlobalVisibleRect(Rect arg0, Point arg1)
|
Trình xử lý |
getHandler()
|
boolean cuối cùng |
getHASđangRender()
|
số nguyên cuối cùng |
getHeight()
|
void |
getHitRect(Rect arg0)
|
int |
getHorizontalFadingEdgeLength()
|
Tài nguyên có thể kéo |
getHorizontalScrollbarThumbDrawable()
|
Tài nguyên có thể kéo |
getHorizontalScrollbarTrackDrawable()
|
int |
getId()
|
int |
getimportantForAccessibility()
|
int |
getimportantForAutofill()
|
int |
getQuan trọng cho nội dung chụp ()
|
boolean |
getKeepScreenOn()
|
KeyEvent.DispatcherState |
getKeyDispatcherState()
|
int |
getLabelFor()
|
int |
getLayerType()
|
int |
getLayoutDirection()
|
ViewGroup.LayoutParams |
getLayoutParams()
|
số nguyên cuối cùng |
getLeft()
|
boolean cuối cùng |
getLocalVisibleRect(Rect arg0)
|
void |
getLocationInSurface(int[] arg0)
|
void |
getLocationInWindow(int[] arg0)
|
void |
getLocationOnScreen(int[] arg0)
|
Ma trận |
getMatrix()
|
số nguyên cuối cùng |
getMeasuredHeight()
|
số nguyên cuối cùng |
getMeasuredHeightAndState()
|
số nguyên cuối cùng |
getMeasuredState()
|
số nguyên cuối cùng |
getMeasuredWidth()
|
số nguyên cuối cùng |
getMeasuredWidthAndState()
|
int |
getMinimumHeight()
|
int |
getMinimumWidth()
|
int |
getNextClusterFrontId()
|
int |
getNextFocusDownId()
|
int |
getNextFocusFocusId()
|
int |
getNextFocusLeftId()
|
int |
getNextFocusRightId()
|
int |
getNextFocusUpId()
|
View.OnFocusChangeListener |
getOnFocusChangeListener()
|
int |
getOutlineAmbientShadowColor()
|
Trình cung cấp ViewOutline |
getOutlineProvider()
|
int |
getOutlineSpotShadowColor()
|
int |
getOverScrollMode()
|
ViewOverlay |
getOverlay()
|
int |
getPaddingBottom()
|
int |
getPaddingEnd()
|
int |
getPaddingLeft()
|
int |
getPaddingRight()
|
int |
getPaddingStart()
|
int |
getPaddingTop()
|
hoàn thiện ViewParent |
getParent()
|
ViewParent |
getParentForAccessibility()
|
số thực dấu phẩy động |
getPivotX()
|
số thực dấu phẩy động |
getPivotY()
|
Biểu tượng con trỏ |
getPointerIcon()
|
Tài nguyên |
getResources()
|
boolean cuối cùng |
getGetOnFocusHint()
|
số nguyên cuối cùng |
getRight()
|
Xem |
getRootView()
|
Lồng ghép cửa sổ |
getRootWindowInsets()
|
số thực dấu phẩy động |
getRotation()
|
số thực dấu phẩy động |
getRotationX()
|
số thực dấu phẩy động |
getRotationY()
|
số thực dấu phẩy động |
getScaleX()
|
số thực dấu phẩy động |
getScaleY()
|
int |
getScrollBarDefaultDelayBeforeFade()
|
int |
getScrollBarFadeDuration()
|
int |
getScrollBarSize()
|
int |
getScrollBarStyle()
|
int |
getScrollIndicator()
|
số nguyên cuối cùng |
getScrollX()
|
số nguyên cuối cùng |
getScrollY()
|
int |
getSolidColor()
|
int |
getSourceLayoutResId()
|
CharSequence cuối cùng |
getStateDescription()
|
Trình tạo hình ảnh danh sách trạng thái |
getStateListAnimator()
|
List<Rect> |
getSystemGestureExclusionRects()
|
int |
getSystemUiVisibility()
|
Đối tượng |
getTag()
|
Đối tượng |
getTag(int arg0)
|
int |
getTextAlignment()
|
int |
getTextDirection()
|
Chuỗi trình tự |
getTooltipText()
|
số nguyên cuối cùng |
getTop()
|
Ủy quyền |
getTouchDelegate()
|
ArrayList<View> |
getTouchables()
|
số thực dấu phẩy động |
getTransitionAlpha()
|
Chuỗi |
getTransitionName()
|
số thực dấu phẩy động |
getTranslationX()
|
số thực dấu phẩy động |
getTranslationY()
|
số thực dấu phẩy động |
getTranslationZ()
|
dài |
getSingleDrawingId()
|
int |
getVerticalFadingEdgeLength()
|
int |
getVerticalScrollbarPosition()
|
Tài nguyên có thể kéo |
getVerticalScrollbarThumbDrawable()
|
Tài nguyên có thể kéo |
getVerticalScrollbarTrackDrawable()
|
int |
getVerticalScrollbarWidth()
|
ViewTreeObserver |
getViewTreeObserver()
|
int |
getVisibility()
|
số nguyên cuối cùng |
getWidth()
|
Mã cửa sổ |
getWindowId()
|
WindowInsetsController |
getWindowInsetsController()
|
int |
getWindowSystemUiVisibility()
|
Nghe nhìn |
getWindowToken()
|
int |
getWindowVisibility()
|
void |
getWindowVisibleDisplayFrame(Rect arg0)
|
số thực dấu phẩy động |
getX()
|
số thực dấu phẩy động |
getY()
|
số thực dấu phẩy động |
getZ()
|
boolean |
hasexplicitFocusable()
|
boolean |
hasFocus()
|
boolean |
hasFocusable()
|
boolean |
hasNestedScrollingParent()
|
boolean |
hasOnClickListeners()
|
boolean |
hasOnLongClickListeners()
|
boolean |
hasđangRender()
|
boolean |
hasPointerCapture()
|
boolean |
hasTransientState()
|
boolean |
hasWindowFocus()
|
Thành phần hiển thị tĩnh |
inflate(Ngữ cảnh arg0, int arg1, ViewGroup arg2)
|
void |
invalidate()
|
void |
invalidate(Rect arg0)
|
void |
invalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
invalidateDrawable(đối số có thể vẽ 00)
|
void |
invalidateOutline()
|
boolean |
isAccessibilityFocused()
|
boolean |
isAccessibilityHeader()
|
boolean |
isactivate()
|
boolean |
isAttachedToWindow()
|
boolean |
isClickable()
|
boolean |
isContextClickable()
|
boolean |
isDirty()
|
boolean |
isDrawingCacheEnabled()
|
boolean |
isduplicateParentStateEnabled()
|
boolean |
isEnabled()
|
boolean cuối cùng |
isFocusable()
|
boolean cuối cùng |
isFocusableInTouchMode()
|
boolean |
isFocused()
|
boolean cuối cùng |
isFocusedByDefault()
|
boolean |
isForceDarkAllowed()
|
boolean |
isHapticFeedbackEnabled()
|
boolean |
isHardwareAccelerated()
|
boolean |
isHorizontalFadingEdgeEnabled()
|
boolean |
isHorizontalScrollBarEnabled()
|
boolean |
isHovered()
|
boolean |
isQuan trọng cho hỗ trợ tiếp cận()
|
boolean cuối cùng |
isQuan trọng cho tự động điền()
|
boolean cuối cùng |
isQuan trọng cho nội dung()
|
boolean |
isInEditMode()
|
boolean |
isInLayout()
|
boolean |
isInTouchMode()
|
boolean cuối cùng |
isKeyboardNavigationCluster()
|
boolean |
isLaidOut()
|
boolean |
isLayoutDirectionResolved()
|
boolean |
isLayoutRequest()
|
boolean |
isLongClickable()
|
boolean |
isNestedscrollingEnabled()
|
boolean |
isOpaque()
|
boolean |
isPaddingRelative()
|
boolean |
isPivotSet()
|
boolean |
ispressed()
|
boolean |
isSaveEnabled()
|
boolean |
isSaveFromParentEnabled()
|
boolean |
isScreenReaderFocusable()
|
boolean |
isScrollContainer()
|
boolean |
isScrollbarFadingEnabled()
|
boolean |
isSelected ()
|
boolean cuối cùng |
isShowingLayoutBounds()
|
boolean |
isHiển thị()
|
boolean |
isAudioEffectsEnabled()
|
boolean cuối cùng |
isPauseDetached()
|
boolean |
isTextAlignmentResolved()
|
boolean |
isTextDirectionResolved()
|
boolean |
isVerticalFadingEdgeEnabled()
|
boolean |
isVerticalScrollBarEnabled()
|
boolean |
isVisibleToUserForAutofill(int arg0)
|
void |
jumpDrawablesToCurrentState()
|
Xem |
keyboardNavigationClusterSearch(Xem tệp arg0, int arg1)
|
void |
layout(int arg0, int arg1, int arg2, int arg3)
|
khoảng trống cuối cùng |
measure(int arg0, int arg1)
|
void |
offsetLeftAndRight(int arg0)
|
void |
offsetTopAndBottom(int arg0)
|
Lồng ghép cửa sổ |
onApplyWindowInsets(WindowInsets arg0)
|
void |
onCancellationPendingInputEvents()
|
boolean |
onCapturedPointerEvent(MotionEvent arg0)
|
boolean |
onCheckIsTextEditor()
|
Kết nối dữ liệu đầu vào |
onCreateInputConnection(EditorInfo arg0)
|
boolean |
onDragEvent(DragEvent arg0)
|
void |
onDrawForeground(Canvas arg0)
|
boolean |
onFilterTouchEventForSecurity(MotionEvent arg0)
|
void |
onFinishPauseDetach()
|
boolean |
onGeneralMotionEvent(MotionEvent arg0)
|
void |
onHoverChanged(boolean arg0)
|
boolean |
onHoverEvent(Đối số MotionEvent)
|
void |
onInitializeAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo arg0)
|
boolean |
onKeyDown(int arg0, KeyEvent arg1)
|
boolean |
onKeyLongPress(int arg0, KeyEvent arg1)
|
boolean |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
boolean |
onKeyPreIme(int arg0, KeyEvent arg1)
|
boolean |
onKeyShortcut(int arg0, KeyEvent arg1)
|
boolean |
onKeyUp(int arg0, KeyEvent arg1)
|
void |
onPointerCaptureChange(đối số boolean 0)
|
void |
onAutofillAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onProvideAutofillAutofill(ViewStructure arg0, int arg1)
|
void |
onProvideAutofillAutofillStructure (ViewStructure arg0, int arg1)
|
void |
onProvideContentCaptureStructure(ViewStructure arg0, int arg1)
|
void |
onProvideStructure(ViewStructure đối số 0)
|
void |
onProvideVirtualVirtual(Đối số Cấu trúc View0)
|
Biểu tượng con trỏ |
on resolvePointerIcon(MotionEvent arg0, int arg1)
|
void |
onRtlPropertiesChanged(int arg0)
|
void |
onScreenStateChanged(int arg0)
|
void |
onStartPauseDetach ()
|
boolean |
onTouchEvent(Đối số MotionEvent)
|
boolean |
onTrackballEvent(Đối số MotionEvent)
|
void |
onVisibilityAggregated(đối số boolean 0)
|
void |
onWindowFocusChanged(boolean arg0)
|
void |
onWindowSystemUiVisibilityChanged(int arg0)
|
boolean |
performAccessibilityAction(int arg0, Bundle arg1)
|
boolean |
performClick()
|
boolean |
performContextClick(float arg0, float arg1)
|
boolean |
performContextClick()
|
boolean |
performHapticFeedback(int arg0)
|
boolean |
performHapticFeedback(int arg0, int arg1)
|
boolean |
performLongClick(float arg0, float arg1)
|
boolean |
performLongClick()
|
void |
playAudioEffect(int arg0)
|
boolean |
đăng (đối số có thể chạy 0)
|
boolean |
postDelayed(đối số có thể chạy arg0, arg1 dài)
|
void |
postInvalidate()
|
void |
postInvalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateDelayed(dài arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
postInvalidateDelayed(dài arg0)
|
void |
postInvalidateOnAnimation(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateOnAnimation()
|
void |
postOnAnimation(Đối số có thể chạy)
|
void |
postOnAnimationDelayed(Chạy arg0, arg1 dài)
|
void |
refreshDrawableState()
|
void |
releasePointerCapture()
|
boolean |
removeCallbacks(Chạy arg0 có thể chạy)
|
void |
removeOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
removeOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
requestApplyInsets()
|
void |
requestFitSystemWindows()
|
boolean cuối cùng |
requestFocus(int arg0)
|
boolean cuối cùng |
requestFocus()
|
boolean |
requestFocus(int arg0, Rect arg1)
|
boolean cuối cùng |
requestFocusFromTouch()
|
void |
requestLayout()
|
void |
requestPointerCapture()
|
boolean |
requestRectangleOnScreen(Rect arg0)
|
boolean |
requestRectangleOnScreen(Rect arg0, boolean arg1)
|
khoảng trống cuối cùng |
requestUnbufferedDispatch(int arg0)
|
khoảng trống cuối cùng |
requestUnbufferedDispatch(MotionEvent arg0)
|
Final <T mở rộng Xem> T |
requiredViewById(int arg0)
|
void |
resetPivot()
|
static int |
resolveSize(int arg0, int arg1)
|
static int |
resolveSizeAndState (int arg0, int arg1, int arg2)
|
boolean |
restoreDefaultFocus()
|
void |
restoreHierarchyState(SparseArray<Parcelable> arg0)
|
khoảng trống cuối cùng |
saveAttributeDataForStyleable(Ngữ cảnh arg0, int [] arg1, Thuộc tính arg2, TypedArray arg3, int arg4, int arg5)
|
void |
saveHierarchyState(SparseArray<Parcelable> arg0)
|
void |
scheduleDrawable(Đối số có thể vẽ arg0, đối số có thể chạy 1, đối số dài 2)
|
void |
scrollBy(int arg0, int arg1)
|
void |
scrollTo(int arg0, int arg1)
|
void |
sendAccessibilityEvent(int arg0)
|
void |
sendAccessibilityEvent?ed (AccessibilityEvent arg0)
|
void |
setAccessibilityDelegate(View.AccessibilityDelegate arg0)
|
void |
setAccessibilityHeader(boolean arg0)
|
void |
setAccessibilityLiveRegion(int arg0)
|
void |
setAccessibilityPaneTitle(CharSequence arg0)
|
void |
setAccessibilityTraversalAfter(int arg0)
|
void |
setAccessibilityTraversalBefore(int arg0)
|
void |
setActivated(boolean arg0)
|
void |
setAlpha(float arg0)
|
void |
setAnimation(Ảnh động arg0)
|
void |
setAnimationMatrix(Matrix arg0)
|
void |
setAutofillHints(Chuỗi... arg0)
|
void |
setAutofillId(AutofillId arg0)
|
void |
setBackground(Đối số có thể vẽ)
|
void |
setBackgroundColor(int arg0)
|
void |
setBackgroundDrawable(Tài nguyên có thể vẽ arg0)
|
void |
setBackgroundResource(int arg0)
|
void |
setBackgroundTintBlendMode(BlendMode arg0)
|
void |
setBackgroundTintList(ColorStateList arg0)
|
void |
setBackgroundTintMode(PorterDuff.Mode arg0)
|
khoảng trống cuối cùng |
setBottom(int arg0)
|
void |
setCameraDistance(float arg0)
|
void |
setClickable(boolean arg0)
|
void |
setClipBounds(Rect arg0)
|
void |
setClipToOutline(boolean arg0)
|
void |
setContentCaptureSession(ContentCaptureSession arg0)
|
void |
setContentDescription(CharSequence arg0)
|
void |
setContextClickable(boolean arg0)
|
void |
setDefaultFocusHighlightEnabled(boolean arg0)
|
void |
setDrawingCacheBackgroundColor (int arg0)
|
void |
setDrawingCacheEnabled(boolean arg0)
|
void |
setDrawingCacheQuality(int arg0)
|
void |
setduplicateParentStateEnabled(boolean arg0)
|
void |
setElevation (float arg0)
|
void |
setEnabled (boolean arg0)
|
void |
setFadingEdgeLength(int arg0)
|
void |
setFilterTouchesWhenkhied bị ẩn(boolean arg0)
|
void |
setFitsSystemWindows(boolean arg0)
|
void |
setFocusable(boolean arg0)
|
void |
setFocusable(int arg0)
|
void |
setFocusableInTouchMode(boolean arg0)
|
void |
setFocusedByDefault(boolean arg0)
|
void |
setForceDarkAllowed(boolean arg0)
|
void |
setForeground(Đối số có thể vẽ)
|
void |
setForegroundGravity(int arg0)
|
void |
setForegroundTintBlendMode(BlendMode arg0)
|
void |
setForegroundTintList(ColorStateList arg0)
|
void |
setForegroundTintMode(PorterDuff.Mode arg0)
|
void |
setHapticFeedbackEnabled(boolean arg0)
|
void |
setHASTransientState(boolean arg0)
|
void |
setHorizontalFadingEdgeEnabled(boolean arg0)
|
void |
setHorizontalScrollBarEnabled(boolean arg0)
|
void |
setHorizontalScrollbarThumbDrawable(Đối số có thể vẽ)
|
void |
setHorizontalScrollbarTrackDrawable (Đối số có thể vẽ arg0)
|
void |
setHovered (đối số boolean 0)
|
void |
setId(int arg0)
|
void |
setQuan trọng cho tính năng hỗ trợ tiếp cận (int arg0)
|
void |
setimportantForAutofill(int arg0)
|
void |
setQuan trọng cho nội dung chụp (int arg0)
|
void |
setKeepScreenOn(boolean arg0)
|
void |
setKeyboardNavigationCluster(boolean arg0)
|
void |
setLabelFor(int arg0)
|
void |
setLayerPaint(Paint arg0)
|
void |
setLayerType(int arg0, Paint arg1)
|
void |
setLayoutDirection(int arg0)
|
void |
setLayoutParams(ViewGroup.LayoutParams arg0)
|
khoảng trống cuối cùng |
setLeft(int arg0)
|
khoảng trống cuối cùng |
setLeftTopRightBottom(int arg0, int arg1, int arg2, int arg3)
|
void |
setLongClickable(boolean arg0)
|
void |
setMinimumHeight(int arg0)
|
void |
setMinimumWidth(int arg0)
|
void |
setNestedScrollingEnabled(boolean arg0)
|
void |
setNextClusterforwardId(int arg0)
|
void |
setNextFocusDownId(int arg0)
|
void |
setNextFocusFocusId(int arg0)
|
void |
setNextFocusLeftId(int arg0)
|
void |
setNextFocusRightId(int arg0)
|
void |
setNextFocusUpId(int arg0)
|
void |
setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListener arg0)
|
void |
setOnCapturedPointerListener(View.OnCapturedPointerListener arg0)
|
void |
setOnClickListener(View.OnClickListener arg0)
|
void |
setOnContextClickListener(View.OnContextClickListener arg0)
|
void |
setOnCreateContextMenuListener(View.OnCreateContextMenuListener arg0)
|
void |
setOnDragListener(View.OnDragListener arg0)
|
void |
setOnFocusChangeListener(View.OnFocusChangeListener arg0)
|
void |
setOnGenericMotionListener(View.OnGenericMotionListener arg0)
|
void |
setOnHoverListener(View.OnHoverListener arg0)
|
void |
setOnKeyListener(View.OnKeyListener arg0)
|
void |
setOnLongClickListener(View.OnLongClickListener arg0)
|
void |
setOnScrollChangeListener(View.OnScrollChangeListener arg0)
|
void |
setOnSystemUiVisibilityChangeListener(View.OnSystemUiVisibilityChangeListener arg0)
|
void |
setOnTouchListener(View.OnTouchListener arg0)
|
void |
setOutlineAmbientShadowColor(int arg0)
|
void |
setOutlineProvider(ViewOutlineProvider arg0)
|
void |
setOutlineSpotShadowColor(int arg0)
|
void |
setOverScrollMode(int arg0)
|
void |
setPadding(int arg0, int arg1, int arg2, int arg3)
|
void |
setPaddingRelative(int arg0, int arg1, int arg2, int arg3)
|
void |
setPivotX(float arg0)
|
void |
setPivotY(nổi arg0)
|
void |
setPointerIcon(PointerIcon arg0)
|
void |
setpressed(boolean arg0)
|
khoảng trống cuối cùng |
set rồiOnFocusHint(boolean arg0)
|
khoảng trống cuối cùng |
setRight(int arg0)
|
void |
setRotation(float arg0)
|
void |
setRotationX(float arg0)
|
void |
setRotationY(float arg0)
|
void |
setSaveEnabled(boolean arg0)
|
void |
setSaveFromParentEnabled(boolean arg0)
|
void |
setScaleX(float arg0)
|
void |
setScaleY (nổi arg0)
|
void |
setScreenReaderFocusable(boolean arg0)
|
void |
setScrollBarDefaultDelayBeforeFade(int arg0)
|
void |
setScrollBarFadeDuration(int arg0)
|
void |
setScrollBarSize(int arg0)
|
void |
setScrollBarStyle(int arg0)
|
void |
setScrollContainer (boolean arg0)
|
void |
setScrollIndicator(int arg0, int arg1)
|
void |
setScrollIndicator(int arg0)
|
void |
setScrollX(int arg0)
|
void |
setScrollY(int arg0)
|
void |
setScrollbarFadingEnabled(boolean arg0)
|
void |
setSelected (đối số boolean 0)
|
void |
setAudioEffectsEnabled(boolean arg0)
|
void |
setStateDescription(CharSequence arg0)
|
void |
setStateListAnimator (StateListAnimator arg0)
|
void |
setSystemGestureExclusionRects(Danh sách<Rect> arg0)
|
void |
setSystemUiVisibility(int arg0)
|
void |
setTag(int arg0, Object arg1)
|
void |
setTag(Đối số arg0)
|
void |
setTextAlignment(int arg0)
|
void |
setTextDirection (int arg0)
|
void |
setTooltipText(CharSequence arg0)
|
khoảng trống cuối cùng |
setTop(int arg0)
|
void |
setTouchDelegate(TouchDelegate arg0)
|
void |
setTransitionAlpha(nổi arg0)
|
khoảng trống cuối cùng |
setTransitionName(Chuỗi arg0)
|
void |
setTransitionVisibility(int arg0)
|
void |
setTranslationX(float arg0)
|
void |
setTranslationY(float arg0)
|
void |
setTranslationZ(float arg0)
|
void |
setVerticalFadingEdgeEnabled(boolean arg0)
|
void |
setVerticalScrollBarEnabled(boolean arg0)
|
void |
setVerticalScrollbarPosition(int arg0)
|
void |
setVerticalScrollbarThumbDrawable(Tài nguyên có thể vẽ của đối số)
|
void |
setVerticalScrollbarTrackDrawable(Đối số có thể vẽ)
|
void |
setVisibility (int arg0)
|
void |
setWillNotCacheDrawing (boolean arg0)
|
void |
setWillNotDraw(boolean arg0)
|
void |
setWindowInsetsAnimationCallback(WindowInsetsAnimation.Callback arg0)
|
void |
setX(float arg0)
|
void |
setY(nổi arg0)
|
void |
setZ(float arg0)
|
boolean |
showContextMenu()
|
boolean |
showContextMenu (float arg0, float arg1)
|
Chế độ hành động |
startActionMode(ActionMode.Callback arg0, int arg1)
|
Chế độ hành động |
startActionMode(ActionMode.Callback arg0)
|
void |
startAnimation(Ảnh động arg0)
|
boolean cuối cùng |
startDrag(ClipData arg0, View.DragShadowBuilder arg1, Object arg2, int arg3)
|
boolean cuối cùng |
startDragAndDrop(ClipData arg0, View.DragShadowBuilder arg1, Object arg2, int arg3)
|
boolean |
startNestedscroll(int arg0)
|
void |
stopNestedscroll()
|
Chuỗi |
toString()
|
void |
transformMatrixToglobal(Ma trận arg0)
|
void |
transformMatrixToLocal(Ma trận arg0)
|
void |
unscheduleDrawable(Đối số có thể vẽ arg0, argn có thể chạy1)
|
void |
unscheduleDrawable(Tài nguyên có thể vẽ arg0)
|
khoảng trống cuối cùng |
updateDragShadow(View.DragShadowBuilder arg0)
|
boolean |
SẽNotCacheDrawing ()
|
boolean |
SẽNotDraw()
|
boolean |
equals(Đối số arg0)
|
lớp cuối cùng Class<?> |
getClass()
|
int |
hashCode()
|
khoảng trống cuối cùng |
notifications()
|
khoảng trống cuối cùng |
notifyAll()
|
Chuỗi |
toString()
|
khoảng trống cuối cùng |
wait(long arg0, int arg1)
|
khoảng trống cuối cùng |
wait(args dài)
|
khoảng trống cuối cùng |
wait()
|
khoảng trống trừu tượng |
bringChildToFront(Xem arg0)
|
boolean trừu tượng |
can resolveLayoutDirection()
|
boolean trừu tượng |
can resolveTextAlignment()
|
boolean trừu tượng |
can rồiTextDirection()
|
khoảng trống trừu tượng |
childDrawableStateChanged(Xem arg0)
|
khoảng trống trừu tượng |
childhasTransientStateChanged(Xem arg0, boolean arg1)
|
khoảng trống trừu tượng |
clearChildFocus (Xem arg0)
|
khoảng trống trừu tượng |
createContextMenu(ContextMenu arg0)
|
Thành phần hiển thị trừu tượng |
focusSearch(Xem arg0, int arg1)
|
khoảng trống trừu tượng |
focusableViewAvailable(Xem arg0)
|
boolean trừu tượng |
getChildVisibleRect(Xem arg0, Rect arg1, Point arg2)
|
số nguyên trừu tượng |
getLayoutDirection()
|
trừu tượng ViewParent |
getParent()
|
trừu tượng ViewParent |
getParentForAccessibility()
|
số nguyên trừu tượng |
getTextAlignment()
|
số nguyên trừu tượng |
getTextDirection()
|
khoảng trống trừu tượng |
invalidateChild(Xem arg0, Rect arg1)
|
trừu tượng ViewParent |
invalidateChildInParent(int[] arg0, Rect arg1)
|
boolean trừu tượng |
isLayoutDirectionResolved()
|
boolean trừu tượng |
isLayoutRequest()
|
boolean trừu tượng |
isTextAlignmentResolved()
|
boolean trừu tượng |
isTextDirectionResolved()
|
Thành phần hiển thị trừu tượng |
keyboardNavigationClusterSearch (Xem tệp arg0, int arg1)
|
khoảng trống trừu tượng |
notifySubtreeAccessibilityStateChanged(Xem arg0, Xem arg1, int arg2)
|
void |
onDescendantInvalidated(Xem arg0, Xem arg1)
|
boolean trừu tượng |
onNestedFling(Xem arg0, float arg1, args float2, boolean arg3)
|
boolean trừu tượng |
onNestedPreFling(Xem đối số, float arg1, arg2 float2)
|
boolean trừu tượng |
onNestedPrePerformAccessibilityAction(Xem arg0, int arg1, Gói arg2)
|
khoảng trống trừu tượng |
onNestedPreScroll(Xem arg0, int arg1, int arg2, int [] arg3)
|
khoảng trống trừu tượng |
onNestedscroll(Xem arg0, int arg1, int arg2, int arg3, int arg4)
|
khoảng trống trừu tượng |
onNestedscrollAccept(Xem arg0, Xem arg1, int arg2)
|
boolean trừu tượng |
onStartNestedscroll(Xem arg0, Xem arg1, int arg2)
|
khoảng trống trừu tượng |
onStopNestedscroll(Xem arg0)
|
khoảng trống trừu tượng |
recomputeViewAttributes(Xem đối số 0)
|
khoảng trống trừu tượng |
requestChildFocus(Xem arg0, Xem arg1)
|
boolean trừu tượng |
requestChildRectangleOnScreen(Xem arg0, Rect arg1, boolean arg2)
|
khoảng trống trừu tượng |
request nayInterceptTouchEvent(boolean arg0)
|
khoảng trống trừu tượng |
requestFitSystemWindows()
|
khoảng trống trừu tượng |
requestLayout()
|
boolean trừu tượng |
requestSendAccessibilityEvent(Xem đối số arg0, đối số Hỗ trợ tiếp cận sự kiện1)
|
khoảng trống trừu tượng |
request minhRegion(Xem arg0)
|
boolean trừu tượng |
showContextMenuForChild(Xem đối số)
|
boolean trừu tượng |
showContextMenuForChild(Xem đối số float, đối số nổi arg1, đối số nổi arg2)
|
ActionMode trừu tượng |
startActionModeForChild(Xem đối số Action0, ActionMode.Callback arg1, int arg2)
|
ActionMode trừu tượng |
startActionModeForChild(Xem đối số Action0, ActionMode.Callback arg1)
|
khoảng trống trừu tượng |
addView(Xem arg0, ViewGroup.LayoutParams arg1)
|
khoảng trống trừu tượng |
removeView(Xem đối số 0)
|
khoảng trống trừu tượng |
updateViewLayout(Xem arg0, ViewGroup.LayoutParams arg1)
|
khoảng trống trừu tượng |
invalidateDrawable(đối số có thể vẽ 00)
|
khoảng trống trừu tượng |
scheduleDrawable(Đối số có thể vẽ arg0, đối số có thể chạy 1, đối số dài 2)
|
khoảng trống trừu tượng |
unscheduleDrawable (Đối số có thể vẽ arg0, argn có thể chạy1)
|
boolean trừu tượng |
onKeyDown(int arg0, KeyEvent arg1)
|
boolean trừu tượng |
onKeyLongPress(int arg0, KeyEvent arg1)
|
boolean trừu tượng |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
boolean trừu tượng |
onKeyUp(int arg0, KeyEvent arg1)
|
khoảng trống trừu tượng |
sendAccessibilityEvent(int arg0)
|
khoảng trống trừu tượng |
sendAccessibilityEvent?ed (AccessibilityEvent arg0)
|
Xây dựng công cộng
công khai MapView (Ngữ cảnh theo bối cảnh)
Các tham số
bối cảnh |
---|
công khai MapView (Ngữ cảnh theo bối cảnh, thuộc tính Thuộc tính)
Các tham số
bối cảnh | |
---|---|
thuộc tính |
public MapView (Ngữ cảnh theo bối cảnh, thuộc tính thuộc tính Thuộc tính (SetSet set), thuộc tính int defStyle)
Các tham số
bối cảnh | |
---|---|
thuộc tính | |
mặc định kiểu |
công khai MapView (Ngữ cảnh theo ngữ cảnh, tùy chọn GoogleMapOptions)
Các tham số
bối cảnh | |
---|---|
tùy chọn |
Phương thức công khai
public void getMapAsync (OnMapReadyCallback gọi)
Trả về một thực thể không rỗng của GoogleMap
, sẵn sàng để sử dụng.
Lưu ý:
- Phương thức này phải được gọi từ luồng chính.
- Lệnh gọi lại sẽ được thực thi trong luồng chính.
- Trong trường hợp Dịch vụ Google Play không được cài đặt trên thiết bị của người dùng, lệnh gọi lại sẽ không được kích hoạt cho đến khi người dùng cài đặt.
- Đối tượng
GoogleMap
do lệnh gọi lại cung cấp không có giá trị rỗng.
Các tham số
cuộc gọi lại | Đối tượng gọi lại sẽ được kích hoạt khi bản đồ sẵn sàng để được sử dụng. |
---|
public finally void onCreate (Gói savedInstanceState)
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
Các tham số
savedInstanceState |
---|
public end void onDestroy ()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
public public void onEnterAmbient (Gói môi trường xung quanh)
Bạn phải gọi phương thức này từ phương thức tương ứng của WearableActivity.
Các tham số
Chi tiết môi trường xung quanh |
---|
public public void onExitAmbient ()
Bạn phải gọi phương thức này từ phương thức tương ứng của WearableActivity.
public public void onLowMemory ()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
public public void onPause ()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
công khai cuối cùng void onResume ()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
public final void onSaveInstanceState (Bundle outState)
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
Cung cấp Bundle
để lưu trữ trạng thái của View trước khi bị huỷ. Bạn có thể truy xuất mã này sau khi onCreate(Bundle)
được gọi lại.
Các tham số
trạng thái đầu ra |
---|
public public void onBắt đầu ()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.
public final void onStop ()
Bạn phải gọi phương thức này từ phương thức tương ứng của Activity/Fragment.