---
title: "android view的setVisibility方法值的意思"
author: "pure"
date: "2011-06-14T18:01:28Z"
tags: []
categories: ["移动开发"]
slug: "android-view-setvisibility"
draft: false
lastmod: "2011-06-14T18:01:28Z"
id: 1088130
url: "https://pure.iteye.com/blog/1088130"
---

android view的setVisibility方法值的意思
有三个值 visibility  One of VISIBLE, INVISIBLE, or GONE. 

常量值为0，意思是可见的
常量值为4，意思是不可见的
常量值为8，意思是不可见的，而且不占用布局空间