Advertisement

Android弹出窗口技术积累

阅读量:
简述

本文将简述popupWindow的使用技巧

基础用法效果

pop_below_head.xml

复制代码
    <?xml version="1.0" encoding="utf-8"?>
    <FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <LinearLayout
        android:orientation="vertical"
        android:background="@color/white"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <TextView
            android:paddingTop="18dp"
            android:paddingBottom="18dp"
            android:text="标题"

全部评论 (0)

还没有任何评论哟~