天天看點

android中文api(89)——ViewManager

正文

  一、結構

public interface ViewManager

android.view.ViewManager

間接子類

AbsListView, AbsSpinner, AbsoluteLayout, AdapterView<T extends Adapter>, AppWidgetHostView, DatePicker, DialerFilter, ExpandableListView, FrameLayout, Gallery, GestureOverlayView, GridView, HorizontalScrollView, ImageSwitcher, LinearLayout, ListView, MediaController, RadioGroup, RelativeLayout, ScrollView, SlidingDrawer, Spinner, TabHost, TabWidget, TableLayout, TableRow, TextSwitcher, TimePicker, TwoLineListItem, ViewAnimator, ViewFlipper, ViewGroup, ViewSwitcher, WebView, WindowManager, ZoomControls

  二、概述

  三、公共方法

  public abstract void addView (View view, ViewGroup.LayoutParams params)

         (譯者注:增添一個視圖對象,并指定其布局參數        

  參數

                            view         制定添加的子視圖

                            params    子視圖的布局參數)

  public abstract void removeView (View view)

         (譯者注:移除指定的視圖        

                            view          指定移除的子視圖)

  public abstract void UpdateViewLayout (View view, ViewGroup.LayoutParams params)

         (譯者注:更新一個子視圖

                      view         指定更新的子視圖

                              params    更新時所用的布局參數)

本文轉自over140 51CTO部落格,原文連結:http://blog.51cto.com/over140/582418,如需轉載請自行聯系原作者

繼續閱讀