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

目錄 搜尋
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
文字


AbsoluteLayout.LayoutParams

版本:Android 2.2 r1

?

public static class AbsoluteLayout.LayoutParams extends ViewGroup.LayoutParams

?

java.lang.Object

android.view.ViewGroup.LayoutParams

??? ??? android.widget.AbsoluteLayout.LayoutParams

?

類概述

每個子元素布局信息與絕對布局相關(guān)聯(lián)。參見絕對布局屬性中該類所支持的子視圖屬性列表。(譯者注: AbsoluteLayout 的這種絕對定位的布局方式和我們非常熟悉的 Windows 編程中的 Left Top設(shè)置UI元素的位置是基本一致的。)

?

字段

???????? public int x

???????? View Group內(nèi)部子元素中的X水平位置。

?

???????? public int y

???????? View Group內(nèi)部子元素中的Y垂直位置。

?

構(gòu)造函數(shù)

???????? public AbsoluteLayout.LayoutParams(int width, int height, int x, int y)

創(chuàng)建一個新的具有指定寬度、高度和位置的布局參數(shù)。

參數(shù):

width ????? MATCH_PARENT, WRAP_CONTENT或者固定大小的像素

height ??? MATCH_PARENT, WRAP_CONTENT或者固定大小的像素

x ???? 子元素的X位置

y ???? 子元素的Y位置

?

public AbsoluteLayout.LayoutParams(Context c, AttributeSet attrs)

創(chuàng)建一組新的布局參數(shù),通過上下文提取的相關(guān)屬性值設(shè)置。XML屬性映射到這個布局參數(shù)設(shè)置如下:

·???????? layout_x: 子元素的X位置

·???????? layout_y: 子元素的Y位置

·???????? 所有來自ViewGroup.LayoutParamsXML屬性

參數(shù):

c 上下文環(huán)境.

attrs ?????? 從屬性設(shè)置中提取布局參數(shù)值。

?

public AbsoluteLayout.LayoutParams(ViewGroup.LayoutParams source)

(譯者注:根據(jù)ViewGroup.LayoutParams實例化布局參數(shù),從源碼可以看出:

?

公共方法

???????? public String ?debug (String output)

返回設(shè)置的布局參數(shù)的字符串表示形式。

參數(shù)

output 用于內(nèi)部表示的預(yù)置字符串

返回值

返回如下格式字符串:輸出 + "ViewGroup.LayoutParams={ width=WIDTH, height=HEIGHT }"

?


上一篇: 下一篇: