zoukankan      html  css  js  c++  java
  • Image

    <

    Button android:id ="@+id/Image_Button"


       

    android:layout_width="wrap_content" 


       

    android:layout_height="wrap_content"   


       

    android:drawableTop="@drawable/ic_launcher"


       

    android:drawablePadding="-40px"


       

    android:text="OK"


       

    />

     

    One lightweight way of doing this is to use a Button with

    android:drawableTop and android:drawablePadding, which will put both
    the text and image inside the button. There are separate attributes
    for setting
    drawables for each "side" of the text.
  • 相关阅读:
    文件操作
    安全名词
    浏览器并发连接
    acm 2057
    acm 2072
    acm 2084
    acm 2044
    acm 2043
    acm 2032
    acm 2005
  • 原文地址:https://www.cnblogs.com/Jessy/p/2356223.html
Copyright © 2011-2022 走看看