StyleFragment

public class StyleFragment extends StyledDialogFragment implements View.OnClickListener

Fields

mColorFillImage

protected ImageView mColorFillImage

mColorFillName

protected TextView mColorFillName

mColorText

protected LinearLayout mColorText

mEditText

protected EditText mEditText

mField

protected Spinner mField

mFillColor

protected int mFillColor

mLayer

protected VectorLayer mLayer

mNotHardcoded

protected SwitchCompat mNotHardcoded

mStyle

protected Style mStyle

mTextEnabled

protected CheckBox mTextEnabled

Constructors

StyleFragment

public StyleFragment()

Methods

getColorName

protected static String getColorName(int color)

onClick

public void onClick(View v)

onCreate

public void onCreate(Bundle savedInstanceState)

onCreateView

public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

setFillColor

protected void setFillColor(int color)

setLayer

public void setLayer(VectorLayer layer)

setStrokeColor

protected void setStrokeColor(int color)

setStyle

public void setStyle(Style style)

setTextColor

protected void setTextColor(int color)