• 各种常用样式


    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>
  • 相关阅读:
    nginx article
    学习历程
    GRPC
    学习记录
    JAVA知识点记录
    flag
    读的文章
    This usually happens because your environment has changed since running `npm install`.
    expandedRowKeys、expandedRowsChange、expand
    服务端高并发分布式架构演进之路
  • 原文地址:https://www.cnblogs.com/matd/p/12855944.html
Copyright © 2020-2023  润新知