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://codercto.com/soft/d/4375.html

统计自然语言处理

统计自然语言处理

宗成庆 / 清华大学出版社 / 2008-5 / 66.00元

内容简介 本书全面介绍了统计自然语言处理的基本概念、理论方法和最新研究进展,内容包括形式语言与自动机及其在自然语言处理中的应用、语言模型、隐马尔可夫模型、语料库技术、汉语自动分词与词性标注、句法分析、词义消歧、统计机器翻译、语音翻译、文本分类、信息检索与问答系统、自动文摘和信息抽取、口语信息处理与人机对话系统等,既有对基础知识和理论模型的介绍,也有对相关问题的研究背景、实现方法和技术现状的详......一起来看看 《统计自然语言处理》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具