Example usage for android.widget TimePicker setVisibility

List of usage examples for android.widget TimePicker setVisibility

Introduction

In this page you can find the example usage for android.widget TimePicker setVisibility.

Prototype

@RemotableViewMethod
public void setVisibility(@Visibility int visibility) 

Source Link

Document

Set the visibility state of this view.

Usage

From source file:tmnt.wheresyourcar.ParkActivity.java

public void setMeterTime(View view) {
    Button btn = (Button) view;
    ((ViewManager) btn.getParent()).removeView(btn);
    TimePicker num = (TimePicker) findViewById(R.id.num_pick);
    num.setVisibility(View.VISIBLE);
    TextView text = (TextView) findViewById(R.id.minutes);
    text.setVisibility(View.VISIBLE);
}