阿里云香港主机 google:android中include标签的使用

来源:百度文库 编辑:中财网 时间:2024/05/10 13:54:43
  1.                           
  2.                           
  3.                              
  4.                   
  5.                   
  6.             
  7.                     android:layout_width="fill_parent" android:orientation="horizontal">  
  8.               
  9.                     
  10.                         android:gravity="center">  
  11.                               
  12.                                 
  13.                                     android:layout_height="50px" android:textSize="22dp" android:text="@string/login" android:layout_weight="1"  
  14.                                     android:focusable="false" android:textColor="@color/white" android:background="@drawable/buttonl"/>  
  15.                       
  16.                   
  17.                     
  18.                         android:layout_width="fill_parent" android:gravity="center">  
  19.                           
  20.                       
  21.           
  22.       
  23.       
  24.   

 

app_bottom.xml:

view plaincopy to clipboardprint?

  1.   
  •         android:layout_height="wrap_content" android:layout_alignParentBottom="true"  
  •         xmlns:android="http://schemas.android.com/apk/res/android">  
  •           
  •     
  •         android:layout_height="wrap_content" android:background="@drawable/light">  
  •         
  •                 android:layout_alignParentLeft="true"/>  
  •           
  •       
  •       
  •     
  •         android:layout_height="wrap_content" android:background="@drawable/mainmenu">  
  •         
  •             android:textColor="@color/white" android:text="" android:background="@drawable/button1"/>  
  •               
  •         
  •             android:textColor="@color/white" android:text="" android:background="@drawable/button1"/>  
  •         
  •             android:textColor="@color/white" android:text="" android:background="@drawable/button1"/>  
  •               
  •         
  •             android:textColor="@color/white" android:text="" android:background="@drawable/button1"/>  
  •               
  •         
  •             android:textColor="@color/white" android:text="" android:background="@drawable/button1"/>  
  •               
  •         
  •             android:textColor="@color/white" android:text="" android:background="@drawable/button1"/>  
  •       
  •   
  •  

    tradelogin_portrait.xml:

    view plaincopy to clipboardprint?

    1.   
  •     xmlns:android="http://schemas.android.com/apk/res/android">  
  •       
  •       
  •       
  •       
  •       
  •   
  •       
  •           
  •       
  •       
  •   
  •  

    效果如下: