Android 阴影视图 ShadowViewHelper

码农软件 · 软件分类 · Android UI 组件 · 2019-04-25 18:42:40

软件介绍

ShadowViewHelper 是 Android 的阴影布局。

xml:

<LinearLayout
      android:id="@+id/activity_main_shadow_view_b"
      android:layout_width="wrap_content" android:layout_height="wrap_content"
      android:layout_gravity="center"
      android:layout_marginTop="32dp"
      android:orientation="vertical"
      android:gravity="center"
      android:padding="8dp"
      >
      <ImageView android:layout_width="match_parent" android:layout_height="match_parent"
                 android:src="@mipmap/ic_launcher"
              />
      <TextView android:layout_width="match_parent" android:layout_height="match_parent"
                android:gravity="center"
                android:text="Shadow View with LinearLayout"
                android:textSize="15sp"
              />
</LinearLayout>

Activity:

ShadowViewHelper.bindShadowHelper(
    new ShadowProperty()
        .setShadowColor(0x77000000)
        .setShadowDy(ABTextUtil.dip2px(context, 0.5f))
        .setShadowRadius(ABTextUtil.dip2px(context, 3))
    , findViewById(R.id.activity_main_shadow_view_b));

本文地址:https://www.codercto.com/soft/d/4375.html

用户力:需求驱动的产品、运营和商业模式

用户力:需求驱动的产品、运营和商业模式

郝志中 / 机械工业出版社 / 2015-11-1 / 59.00

《用户力:需求驱动的产品、运营和商业模式》从用户需求角度深刻阐释了互联网产品设计、网络运营、商业模式构建的本质与方法论! 本书以“用户需求”为主线,先用逆向思维进行倒推,从本质的角度分析了用户的需求是如何驱动企业的产品设计、网络运营和商业模式构建的,将这三个重要部分进行了系统性和结构化的串联,然后用顺向思维进行铺陈,从实践和方法论的角度总结了企业究竟应该如围绕用户的真实需求来进行产品设计、网......一起来看看 《用户力:需求驱动的产品、运营和商业模式》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换