zoukankan      html  css  js  c++  java
  • Android布局学习——线性布局和相对布局混合使用

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation
    ="vertical" android:layout_width="fill_parent"
        android:layout_height
    ="fill_parent">
        
    <RelativeLayout android:layout_width="fill_parent"
            android:layout_height
    ="wrap_content">
            
    <Button android:id="@+id/BtnGo" android:layout_width="wrap_content"
                android:layout_height
    ="wrap_content" android:layout_alignParentRight="true"
                android:text
    ="Go"></Button>        
            
    <EditText android:id="@+id/TextUrl" android:layout_width="fill_parent"
                android:layout_height
    ="wrap_content" android:hint="请输入网址"
                android:layout_alignTop
    ="@id/BtnGo" android:layout_toLeftOf="@id/BtnGo"></EditText>
        
    </RelativeLayout>
        
    <WebView android:id="@+id/WebView01" android:layout_width="fill_parent"
            android:layout_height
    ="fill_parent">        
        
    </WebView>
    </LinearLayout>
  • 相关阅读:
    棋盘问题 POJ
    Fire! UVA
    走迷宫(bfs, 最短路)
    ASP-Command-SQL格式
    ASP连接数据库SQLServer
    Bootstrap学习-导航条-分页导航
    Bootstrap导航栏头部错位问题
    SQLServer判断一个IP是否在一个IP段里
    MySQL合并多行
    CSS图片居中,多余隐藏
  • 原文地址:https://www.cnblogs.com/yunfei181/p/2074171.html
Copyright © 2011-2022 走看看