---
title: "android中 4张图片在底部排列，适用各种分辨率"
author: "flyering"
date: "2012-07-10T07:55:12Z"
tags: []
categories: ["移动开发"]
slug: "android-4"
draft: false
lastmod: "2012-07-10T07:55:12Z"
id: 1583685
url: "https://flyering.iteye.com/blog/1583685"
---

<span style="color:red">android:layout_weight="1"</span>
android中，设置图片能适应所有的分辨率，在每一张图片外套入一个LinearLayout，设置权重为“1”，即可。