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>
  • 相关阅读:
    虚方法和抽象方法
    c#_实现FTP方法(一) FtpWebRequest
    sql server 分页
    5ucms进阶
    图片处理函数
    [转]C++11新特性:Lambda函数
    [STL]for_each详细用法[转]
    [算法]hash table 与 hash map 实现
    [算法]字典树
    [STL]vector的使用[转]
  • 原文地址:https://www.cnblogs.com/yunfei181/p/2074171.html
Copyright © 2011-2022 走看看