本文整理了Java中android.widget.TableLayout.setVisibility()
方法的一些代码示例,展示了TableLayout.setVisibility()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableLayout.setVisibility()
方法的具体详情如下:
包路径:android.widget.TableLayout
类名称:TableLayout
方法名:setVisibility
暂无
代码示例来源:origin: shrikanth7698/Collapsible-Calendar-View-Android
public void setShowWeek(boolean showWeek) {
this.mShowWeek = showWeek;
if (showWeek) {
mTableHead.setVisibility(VISIBLE);
} else {
mTableHead.setVisibility(GONE);
}
}
代码示例来源:origin: upyun/android-player-sdk
@Override
public void onClick(View v) {
if (mHudView.getVisibility() == View.VISIBLE) {
mHudView.setVisibility(View.GONE);
} else {
mHudView.setVisibility(View.VISIBLE);
}
}
});
代码示例来源:origin: lkorth/httpebble-android
public void reset(View v) {
Settings.setEmail(this, null);
Settings.clearToken(this);
mCredentials.setVisibility(View.GONE);
mReset.setVisibility(View.GONE);
mDocumentation.setVisibility(View.GONE);
mSetup.setVisibility(View.VISIBLE);
}
代码示例来源:origin: lkorth/httpebble-android
private void showCredentials() {
mSetup.setVisibility(View.GONE);
mCredentials.setVisibility(View.VISIBLE);
mUsername.setText(Settings.getEmail(this));
mToken.setText(Settings.getToken(this));
mReset.setVisibility(View.VISIBLE);
mDocumentation.setVisibility(View.VISIBLE);
}
代码示例来源:origin: BasicAirData/GPSLogger
TLTrack.setVisibility(FTrackName.equals("") ? View.INVISIBLE : View.VISIBLE);
TLDuration.setVisibility(phdDuration.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLSpeedMax.setVisibility(phdSpeedMax.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLSpeedAvg.setVisibility(phdSpeedAvg.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLDistance.setVisibility(phdDistance.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLOverallDirection.setVisibility(phdOverallDirection.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLAltitudeGap.setVisibility(phdAltitudeGap.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLTrack.setVisibility(View.INVISIBLE);
TLDuration.setVisibility(View.INVISIBLE);
TLSpeedMax.setVisibility(View.INVISIBLE);
TLSpeedAvg.setVisibility(View.INVISIBLE);
TLDistance.setVisibility(View.INVISIBLE);
TLOverallDirection.setVisibility(View.INVISIBLE);
TLAltitudeGap.setVisibility(View.INVISIBLE);
代码示例来源:origin: BasicAirData/GPSLogger
TLCoordinates.setVisibility(phdLatitude.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLAltitude.setVisibility(phdAltitude.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLSpeed.setVisibility(phdSpeed.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLBearing.setVisibility(phdBearing.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLAccuracy.setVisibility(phdAccuracy.Value.equals("") ? View.INVISIBLE : View.VISIBLE);
TLCoordinates.setVisibility(View.INVISIBLE);
TLAltitude.setVisibility(View.INVISIBLE);
TLSpeed.setVisibility(View.INVISIBLE);
TLBearing.setVisibility(View.INVISIBLE);
TLAccuracy.setVisibility(View.INVISIBLE);
内容来源于网络,如有侵权,请联系作者删除!