zoukankan      html  css  js  c++  java
  • 各种常用样式

    edit_bg.xml

    <?xml version="1.0" encoding="utf-8"?>
    <layer-list xmlns:android="http://schemas.android.com/apk/res/android" xmlns:Android="http://schemas.android.com/tools">
        <item>
        <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
         <solid android:color="#EFEFEF"/>
         <corners android:radius="3dip"/>
         <stroke android:width="0.5px" Android:color="#505050"/>
         </shape>
        </item>
    </layer-list>

    head_line.xml

    <?xml version="1.0" encoding="utf-8"?>
    <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
        <item>
            <shape>
                <stroke
                    android:width="1dp"
                    android:color="#009966" />
            </shape>
        </item>
    </layer-list>

    linear_layout_bg.xml

    <?xml version="1.0" encoding="utf-8"?>
    <shape xmlns:android="http://schemas.android.com/apk/res/android" >
        <solid android:color="#e6e6e6" />
        <stroke
                android:width="1dp"
                android:color="#1296db" />
        <padding
                android:bottom="1dp"
                android:left="1dp"
                android:right="1dp"
                android:top="1dp" />
        <corners android:radius="1dp" />
    </shape>
    </shape>
    <?xml version="1.0" encoding="UTF-8"?>
    <layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
        <!-- 连框颜色值 -->
        <item>
            <shape>
                <solid android:color="#e6e6e6" />
            </shape>
        </item>
        <!-- 主体背景颜色值 -->
        <item android:bottom="1dp"> <!--设置只有底部有边框-->
            <shape>
                <solid android:color="#fff" />
            </shape>
        </item>
    </layer-list>
  • 相关阅读:
    GZOI 2017配对统计 树状数组
    关于线段树的一些问题
    BZOJ 压力 tarjan 点双联通分量+树上差分+圆方树
    洛谷4552 差分
    洛谷5026 Lycanthropy 差分套差分
    【锁】MySQL和Oracle行锁比较
    oracle体系结构
    【加密】RSA验签及加密
    【Shiro】SpringBoot集成Shiro
    【Eureka】实现原理
  • 原文地址:https://www.cnblogs.com/matd/p/12855944.html
Copyright © 2011-2022 走看看