---
title: "  Android view getVisibility()的值"
author: "goahead2010"
date: "2015-04-27T15:21:17Z"
tags: []
categories: ["移动开发"]
slug: "android-view-getvisibility"
draft: false
lastmod: "2015-04-27T15:21:17Z"
id: 2206482
url: "https://goahead2010.iteye.com/blog/2206482"
---

Android view getVisibility()的值：  
（1）0    --------   VISIBLE    可见  
（1）4    --------   INVISIBLE    不可见但是占用布局空间  
（1）8    --------   GONE    不可见也不占用布局空间