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 voidonFinishInflate()voidsetText(int textRes)voidsetTextColor(int color)voidshow(boolean show)voidshowIndicator(boolean showIndicator)voidshowText(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:
setTextin interfaceProgressController
-
showIndicator
public void showIndicator(boolean showIndicator)
- Specified by:
showIndicatorin interfaceProgressController
-
showText
public void showText(boolean showText)
- Specified by:
showTextin interfaceProgressController
-
setTextColor
public void setTextColor(int color)
- Specified by:
setTextColorin interfaceProgressController
-
show
public void show(boolean show)
- Specified by:
showin interfaceProgressController
-
-