亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Verzeichnis suchen
android Manifest Manifest.permission Manifest.permission_group android.accessibilityservice AccessibilityService android.accounts Account android.app NotificationManager android.bluetooth BluetoothAdapter BluetoothClass BluetoothClass.Device BluetoothClass.Device.Major BluetoothClass.Service BluetoothDevice BluetoothServerSocket BluetoothSocket android.content SharedPreferences android.database.sqlite SQLiteCursorDriver SQLiteOpenHelper android.graphics Bitmap android.location LocationListener Geocoder GpsStatus GpsStatus.Listener GpsStatus.NmeaListener GpsSatellite android.media AudioFormat AsyncPlayer AudioRecord AudioRecord.OnRecordPositionUpdateListener ThumbnailUtils AudioManager android.net TrafficStats MailTo LocalSocket android.os AsyncTask AsyncTask.Status CountDownTimer Message MessageQueue HandlerThread android.text Html android.util JsonWriter android.view ContextMenu ContextMenu.ContextMenuInfo Display ViewManager View ViewStub ViewTreeObserver ViewParent WindowManager GestureDetector Gravity MenuInflater ScaleGestureDetector SoundEffectConstants android.view.inputmethod InputConnection InputMethod InputMethodSession BaseInputConnection InputMethodManager android.widget AbsListView AbsListView.LayoutParams AbsListView.OnScrollListener AbsListView.RecyclerListener AbsoluteLayout AbsoluteLayout.LayoutParams AbsSeekBar AbsSpinner AdapterView AdapterView.AdapterContextMenuInfo AdapterView.OnItemLongClickListener AdapterView.OnItemSelectedListener AdapterView.OnItemClickListener AnalogClock BaseAdapter BaseExpandableListAdapter Button CheckBox CheckedTextView Checkable Chronometer Chronometer.OnChronometerTickListener CompoundButton CompoundButton.OnCheckedChangeListener CursorAdapter CursorTreeAdapter DatePicker DatePicker.OnDateChangedListener DialerFilter DigitalClock EditText Filter Filter.FilterListener Filter.FilterResults ExpandableListAdapter ExpandableListView.OnChildClickListener ExpandableListView.OnGroupClickListener ExpandableListView.OnGroupCollapseListener ExpandableListView.OnGroupExpandListener Filterable Gallery Gallery.LayoutParams GridView GridLayout GridLayout.Alignment RadioGroup ImageView ImageView.ScaleType HorizontalScrollView ImageButton ImageSwitcher FilterQueryProvider ListAdapter ListView MediaController MultiAutoCompleteTextView MultiAutoCompleteTextView.CommaTokenizer MultiAutoCompleteTextView.Tokenizer QuickContactBadge RadioButton RatingBar RatingBar.OnRatingBarChangeListener RelativeLayout RemoteViews ResourceCursorAdapter ResourceCursorTreeAdapter Scroller ScrollView SearchView SearchView.OnCloseListener SearchView.OnQueryTextListener SearchView.OnSuggestionListener SeekBar SeekBar.OnSeekBarChangeListener SimpleAdapter SimpleAdapter.ViewBinder SimpleCursorAdapter SimpleCursorAdapter.CursorToStringConverter SimpleCursorAdapter.ViewBinder SimpleCursorTreeAdapter SimpleCursorTreeAdapter.ViewBinder SimpleExpandableListAdapter SlidingDrawer SlidingDrawer.OnDrawerCloseListener SlidingDrawer.OnDrawerOpenListener SlidingDrawer.OnDrawerScrollListener Spinner SpinnerAdapter WrapperListAdapter TabHost TabHost.TabSpec TextView TimePicker TimePicker.OnTimeChangedListener Toast TableLayout TableLayout.LayoutParams TableRow TableRow.LayoutParams TabWidget TextSwitcher ToggleButton TwoLineListItem VideoView ViewAnimator ViewFlipper ViewSwitcher ViewSwitcher.ViewFactory ZoomButtonsController ZoomButtonsController.OnZoomListener ZoomButton ZoomControls dalvik.system DexFile
Figuren


ViewAnimator

版本:Android 2.3 r1

?

public class ViewAnimator extends FrameLayout

?

java.lang.Object

???????? android.view.View

? ???? ???????? android.view.ViewGroup

??????????????????????????? android.widget.FrameLayout

???????????????????????????????????? android.widget.ViewAnimator

?

已知直接子類(lèi)

???????? ViewFlipper, ViewSwitcher

?

已知間接子類(lèi)

???????? ImageSwitcher, TextSwitcher

?

概述

???????? FrameLayout容器的基類(lèi),當(dāng)進(jìn)行視圖切換時(shí)顯示動(dòng)畫(huà)效果。

???????? (譯者注:此類(lèi)不常用,常用其直接子類(lèi)ViewFlipper, ViewSwitcher或間接子類(lèi)ImageSwitcher, TextSwitcher

?

XML屬性

屬性名稱(chēng)

描述

android:inAnimation

(譯者注:設(shè)置View進(jìn)入屏幕時(shí)候使用的動(dòng)畫(huà))

android:outAnimation

(譯者注:設(shè)置View離開(kāi)屏幕時(shí)候使用的動(dòng)畫(huà))

?

公共方法???????

???????? public void addView (View child, int index, ViewGroup.LayoutParams params)

???????? 添加一個(gè)具有指定布局參數(shù)子視圖。

?????????????????? 參數(shù)

??????????????????????????? child ??????? 添加的子視圖

??????????????????????????? index ????? 添加的子視圖所在的位置

??????????????????????????? params ? 設(shè)置子視圖的布局參數(shù)

?

???????? public int getBaseline ()

???????? 返回widget的文本基線(xiàn)到widget上邊界的偏移量,如果當(dāng)前widget不支持基線(xiàn)對(duì)齊,此方法返回-1

?????????????????? 返回值

??????????????????????????? widget界限內(nèi)基線(xiàn)的偏移量,如果不支持基線(xiàn)對(duì)齊,返回-1

?

???????? public View getCurrentView ()

???????? 返回與當(dāng)前顯示的子元素相應(yīng)的視圖

?????????????????? 返回值

??????????????????????????? 當(dāng)前顯示的視圖

?????????????????? 參見(jiàn)

??????????????????????????? getDisplayedChild()

?

???????? public int getDisplayedChild ()

???????? 返回當(dāng)前顯示的子視圖的索引

?

???????? public Animation getInAnimation ()

???????? 返回被用來(lái)顯示視圖進(jìn)入屏幕的動(dòng)畫(huà)

?????????????????? 返回值

??????????????????????????? 一個(gè)動(dòng)畫(huà)對(duì)象animation,如果沒(méi)有設(shè)置的話(huà),返回一個(gè)null

?????????????????? 參見(jiàn)

??? ?????????????????? setInAnimation(android.view.animation.Animation)

??? ?????????????????? setInAnimation(android.content.Context, int)

?

???????? public Animation getOutAnimation ()

返回被用來(lái)顯示視圖離開(kāi)屏幕的動(dòng)畫(huà)

?????????????????? 返回值

??????????????????????????? 一個(gè)動(dòng)畫(huà)對(duì)象animation,如果沒(méi)有設(shè)置的話(huà),返回一個(gè)null

?????????????????? 參見(jiàn)

??????????????????????????? setOutAnimation(android.view.animation.Animation)

??????????????????????????? setOutAnimation(android.content.Context, int)

?

???????? public void removeAllViews ()

???????? 調(diào)用此方法從ViewGroup中移除所有的子視圖

?

???????? public void removeViewAt (int index)

???????? 移除組(group)中指定位置上的視圖

?????????????????? 參數(shù)

??????????????????????????? index ????? 需要移除的視圖在組中的位置

?

???????? public void removeViewInLayout (View view)

???????? 在布局時(shí)移除一個(gè)視圖。當(dāng)你需要在onLayout()中移除一個(gè)視圖時(shí),此方法很有用。

?????????????????? 參數(shù)

??????????????????????????? view ??????? 要從組中移除的視圖

?

???????? public void removeViews (int start, int count)

???????? 從組中移除指定范圍的視圖

?????????????????? 參數(shù)

??????????????????????????? start ?????? 要移除的多個(gè)視圖在組中的開(kāi)始位置

??????????????????????????? count ????? 移除視圖的數(shù)量

?

???????? public void removeViewsInLayout (int start, int count)

???????? 在布局時(shí)移除一組視圖。當(dāng)你需要在onLayout()中移除很多視圖時(shí),此方法很有用。

?????????????????? 參數(shù)

??????????????????????????? start ?????? 移除的多個(gè)視圖在組中第一個(gè)視圖的索引

??????????????????????????? count ????? 移除視圖的數(shù)量

?

???????? public void setAnimateFirstView (boolean animate)

???????? 設(shè)置當(dāng)前視圖在首次加載時(shí)是否動(dòng)畫(huà)顯示。

?????????????????? 參數(shù)

??????????????????????????? animate 在第一次顯示當(dāng)前視圖時(shí),是否動(dòng)畫(huà)顯示

?

???????? public void setDisplayedChild (int whichChild)

???????? 設(shè)置哪個(gè)子視圖將被顯示出來(lái)

?????????????????? 參數(shù)

??????????????????????????? whichChild ???? 將要顯示的子視圖的索引

?

???????? public void setInAnimation (Animation inAnimation)

???????? 設(shè)置視圖進(jìn)入屏幕時(shí)使用的動(dòng)畫(huà)。

?????????????????? 參數(shù)

??????????????????????????? inAnimation ?? 視圖進(jìn)入屏幕時(shí)使用的動(dòng)畫(huà)??????????????????

?????????????????? 參見(jiàn)

??????????????????????????? getInAnimation()

??????????????????????????? setInAnimation(android.content.Context, int)

?

???????? public void setInAnimation (Context context, int resourceID)

???????? 設(shè)置視圖進(jìn)入屏幕時(shí)使用的動(dòng)畫(huà)。

?????????????????? 參數(shù)

??????????????????????????? context ? 上下文

??????????????????????????? resourceID ???? 動(dòng)畫(huà)的資源id

?????????????????? 參見(jiàn)

??????????????????????????? getInAnimation()

??????????????????????????? setInAnimation(android.view.animation.Animation)

?

???????? public void setOutAnimation (Animation outAnimation)

???????? 設(shè)置視圖退出屏幕時(shí)使用的動(dòng)畫(huà)

?????????????????? 參數(shù)

??????????????????????????? outAnimation ???????? 當(dāng)視圖退出屏幕時(shí)開(kāi)始的動(dòng)畫(huà)

?????????????????? 參見(jiàn)

??????????????????????????? getOutAnimation()

??????????????????????????? setOutAnimation(android.content.Context, int)

?

???????? public void setOutAnimation (Context context, int resourceID)

???????? 設(shè)置視圖退出屏幕時(shí)使用的動(dòng)畫(huà)

?????????????????? 參數(shù)

??????????????????????????? context ? 上下文

??????????????????????????? resourceID ???? 動(dòng)畫(huà)的資源id

?????????????????? 參見(jiàn)

??????????????????????????? getOutAnimation()

??????????????????????????? setOutAnimation(android.view.animation.Animation)

?

???????? public void showNext ()

???????? 手動(dòng)顯示下一個(gè)子視圖

?

???????? public void showPrevious ()

???????? 手動(dòng)顯示上一個(gè)子視圖

?

補(bǔ)充

???????? 文章精選

?????????????????? Android-自定義切換視圖一

???????? ???????? Ophone 2D UI 動(dòng)畫(huà)教程之二——屏幕切換效果實(shí)現(xiàn)

?


Vorheriger Artikel: N?chster Artikel: