Package io.outbound.sdk.view
Class ProgressRelativeLayout
- java.lang.Object
-
- RelativeLayout
-
- io.outbound.sdk.view.ProgressRelativeLayout
-
- All Implemented Interfaces:
- ProgressController
public class ProgressRelativeLayout extends RelativeLayout implements ProgressController
Created by jophde on 6/22/15 for Outbound.
-
-
Constructor Summary
Constructors Constructor and Description ProgressRelativeLayout(Context context)
ProgressRelativeLayout(Context context, AttributeSet attrs)
ProgressRelativeLayout(Context context, AttributeSet attrs, int defStyleAttr)
ProgressRelativeLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description protected void
onFinishInflate()
void
setText(int textRes)
void
setTextColor(int color)
void
show(boolean show)
void
showIndicator(boolean showIndicator)
void
showText(boolean showText)
-
-
-
Constructor Detail
-
ProgressRelativeLayout
public ProgressRelativeLayout(Context context)
-
ProgressRelativeLayout
public ProgressRelativeLayout(Context context, AttributeSet attrs)
-
ProgressRelativeLayout
public ProgressRelativeLayout(Context context, AttributeSet attrs, int defStyleAttr)
-
ProgressRelativeLayout
public ProgressRelativeLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
-
-
Method Detail
-
onFinishInflate
protected void onFinishInflate()
-
setText
public void setText(int textRes)
- Specified by:
setText
in interfaceProgressController
-
showIndicator
public void showIndicator(boolean showIndicator)
- Specified by:
showIndicator
in interfaceProgressController
-
showText
public void showText(boolean showText)
- Specified by:
showText
in interfaceProgressController
-
setTextColor
public void setTextColor(int color)
- Specified by:
setTextColor
in interfaceProgressController
-
show
public void show(boolean show)
- Specified by:
show
in interfaceProgressController
-
-