sender-sdk
androidJvm
sender-sdk
/
tv.vizbee.ui.presentations.views.percent
/
PercentFrameLayout
/
LayoutParams
Layout
Params
open
class
LayoutParams
:
FrameLayout.LayoutParams
,
PercentLayoutHelper.PercentLayoutParams
Deprecated
Deprecated
this class is deprecated along with its parent class.
Members
Constructors
Layout
Params
Link copied to clipboard
constructor
(
c
:
Context
,
attrs
:
AttributeSet
)
constructor
(
width
:
Int
,
height
:
Int
)
constructor
(
width
:
Int
,
height
:
Int
,
gravity
:
Int
)
constructor
(
source
:
ViewGroup.LayoutParams
)
constructor
(
source
:
ViewGroup.MarginLayoutParams
)
constructor
(
source
:
FrameLayout.LayoutParams
)
@
RequiresApi
(
value
=
19
)
constructor
(
source
:
PercentFrameLayout.LayoutParams
)
Functions
get
Layout
Direction
Link copied to clipboard
open
fun
getLayoutDirection
(
)
:
Int
get
Margin
End
Link copied to clipboard
open
fun
getMarginEnd
(
)
:
Int
get
Margin
Start
Link copied to clipboard
open
fun
getMarginStart
(
)
:
Int
get
Percent
Layout
Info
Link copied to clipboard
open
fun
getPercentLayoutInfo
(
)
:
PercentLayoutHelper.PercentLayoutInfo
is
Margin
Relative
Link copied to clipboard
open
fun
isMarginRelative
(
)
:
Boolean
resolve
Layout
Direction
Link copied to clipboard
open
fun
resolveLayoutDirection
(
layoutDirection
:
Int
)
set
Layout
Direction
Link copied to clipboard
open
fun
setLayoutDirection
(
layoutDirection
:
Int
)
set
Margin
End
Link copied to clipboard
open
fun
setMarginEnd
(
end
:
Int
)
set
Margins
Link copied to clipboard
open
fun
setMargins
(
left
:
Int
,
top
:
Int
,
right
:
Int
,
bottom
:
Int
)
set
Margin
Start
Link copied to clipboard
open
fun
setMarginStart
(
start
:
Int
)
Properties
bottom
Margin
Link copied to clipboard
open
var
bottomMargin
:
Int
FILL_PARENT
Link copied to clipboard
val
FILL_PARENT
:
Int
=
-1
gravity
Link copied to clipboard
open
var
gravity
:
Int
height
Link copied to clipboard
open
var
height
:
Int
layout
Animation
Parameters
Link copied to clipboard
open
var
layoutAnimationParameters
:
LayoutAnimationController.AnimationParameters
left
Margin
Link copied to clipboard
open
var
leftMargin
:
Int
MATCH_PARENT
Link copied to clipboard
val
MATCH_PARENT
:
Int
=
-1
right
Margin
Link copied to clipboard
open
var
rightMargin
:
Int
top
Margin
Link copied to clipboard
open
var
topMargin
:
Int
UNSPECIFIED_GRAVITY
Link copied to clipboard
val
UNSPECIFIED_GRAVITY
:
Int
=
-1
width
Link copied to clipboard
open
var
width
:
Int
WRAP_CONTENT
Link copied to clipboard
val
WRAP_CONTENT
:
Int
=
-2