安卓中实现两端对齐,中间fill_parent的方法

<?xml version="1.0″ encoding="utf-8″?>  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"      android:layout_width="fill_parent"      android:layout_height="fill_parent"      android:orientation="horizontal" >        <Button          android:id="@+id/Button01"          android:layout_width="wrap_content"          android:layout_height="wrap_content"          android:text="button01" >      </Button>        <TextView          android:layout_width="wrap_content"          android:layout_height="wrap_content"          android:layout_weight="1" />        <Button          android:id="@+id/Button02"          android:layout_width="wrap_content"          android:layout_height="wrap_content"          android:text="button02" >      </Button>    </LinearLayout>  

更多相关文章

  1. Android绘制流程窗口启动流程分析(下)
  2. Gradle DSL method not found: 'android()错误的解决方法
  3. android 可自定义大小和位置的Dialog
  4. Android引入外部字体更改APP字体
  5. Android开发之ListView 适配器(Adapter)优化
  6. Android(安卓)ListView复用机制详解
  7. android与C# WebService基于ksoap通信(Android篇)
  8. Android实现信号强度监听的方法
  9. 禁止应用获取手机信息

随机推荐

  1. Android(安卓)地区语言和简写对照表
  2. 视频教程-Android Material Design 新控
  3. 不疯狂!非正常!
  4. Android 应用架构组件(Architecture Compo
  5. android studio 使用android:drawableTop
  6. Seekbar thumb滑动时上下显示不全,或者左
  7. Android 之 SystemService
  8. android - 为安全而设计 - 2 - 开发文档
  9. Android中Context详解
  10. Android下Service入门