Android控件类
名称 类名 出处
颜色 Color
可变字符串 Spannable、SpannableString
风格区域、URL区域 StyleSpan、URLSpan
状态图形 Drawable、StateListDrawable
形状图形 ShapeDrawable
点九图形 NinePatchDrawable
画布、画笔 Canvas、Paint
透明度动画 AlphaAnimation
过渡图形 TransitionDrawable
旋转动画 RotateAnimation
帧动画 AnimationDrawable
梯度图形 GradientDrawable
标签页 TabHost、TabWidget
标题栏 ActionBar
溢出菜单 OverflowMenu
导航栏 Navigation
定制视图 CustomView
搜索视图 SearchView
翻页视图 ViewPager
翻页标题 PagerTabStrip、PagerTitleStrip
飞掠视图 ViewFlipper
翻页适配器 PagerAdapter、FragmentStatePagerAdapter
日期和时间控件 DatePicker、TimePicker
对话框碎片 DialogFragment
布局视图 LinearLayout、RelativeLayout、FrameLayout
滚动视图 ScrollView、HorizontalScrollView
基本视图 View、ViewGroup
文本框、图像视图 TextView、EditText、ImageView
按钮、图像按钮 Button、ImageButton
复合按钮 CompoundButton
复选框、开关、单选框 CheckBox、Switch、RadioGroup、RadioButton
下拉框、列表视图、网格视图 Spinner、ListView、GridView
适配器视图 AdapterView、Adapter
基本适配器 BaseAdapter、ArrayAdapter、SimpleAdapter
自动完成编辑框 AutoCompleteTextView
进度条、进度对话框 ProgressBar、ProgressDialog
远程视图 RemoteViews
表面视图 SurfaceView、SurfaceHolder
媒体录制器、媒体播放器 MediaRecorder、MediaPlayer
拖动条 SeekBar
网页视图 WebView、WebSettings
网页视图客户端 WebViewClient、WebChromeClient
菜单、选项菜单、上下文菜单 Menu、OptionsMenu、ContextMenu
弹窗 PopupWindow
对话框 AlertDialog、Dialog
碎片 Fragment
占位视图 ViewStub
风格、主题 Style、Theme
汉字转拼音 HanziToPinyin
位图 Bitmap、BitmapDrawable
集合动画 AnimationSet
属性动画 ObjectAnimator、AnimatorSet
路径、矩阵 Path、Matrix
折叠列表视图 ExpandableListView、ExpandableListAdapter
列表碎片 ListFragment
文字转语音 TextToSpeech
参数设置碎片 PreferenceFragment
工具栏、搜索框 Toolbar、SearchView
侧滑布局 DrawerLayout、SlidingPaneLayout
弹出菜单、列表弹窗 PopupMenu、ListPopupWindow
循环器视图 RecyclerView
下拉刷新布局 SwipeRefreshLayout
画廊 Gallery
图像切换器 ImageSwitcher
调色板 Palette
卡片视图 CardView
视频视图 VideoView
媒体控制条 MediaController
音频录制 AudioRecord
音轨播放 AudioTrack
声音池 SoundPool
提示窗 Toast、Snackbar
裁剪图形 ClipDrawable
缩放图形 ScaleDrawable
旋转图形 RotateDrawable
水波图形 RippleDrawable
矢量图形 VectorDrawable
矢量动画 AnimatedVectorDrawable
导航视图 NavigationView
协调布局 CoordinatorLayout
悬浮按钮 FloatingActionButton
底部弹窗 BottomSheetBehavior
应用栏布局 AppBarLayout
嵌套滚动视图 NestedScrollView
可折叠工具栏布局 CollapsingToolbarLayout
文本输入布局 TextInputLayout
文本输入编辑框 TextInputEditText
碎片标签组 FragmentTabHost
栈视图 StackView
标签布局 TabLayout
约束布局 ConstraintLayout
OpenGL表面视图 GLSurfaceView
OpenGL画笔 GL10