About 71,600 results
Open links in new tab
  1. Drawables overview | Views | Android Developers

    Jun 27, 2024 · When you need to display static images in your app, you can use the Drawable class and its subclasses to draw shapes and images. A Drawable is a general abstraction for something that …

  2. 可绘制对象概览 | Views | Android Developers

    ShapeDrawable 是 Drawable 的子类。 因此,您可以使用 ShapeDrawable 任何需要 Drawable 的地方。 对于 例如,您可以使用 ShapeDrawable 对象设置背景 方法是将视图传递给视图的 …

  3. Drawable 资源概览 | View | Android Developers

    当您需要在应用中显示静态图片时,可以使用 Drawable 类及其子类来绘制形状和图片。 Drawable 是对 可绘制内容 的通用抽象。 各种子类有助于处理特定的图片场景,您可以扩展它们来定义以独特方式 …

  4. Android Studio 中 Drawable 详细全解 - CSDN博客

    Drawable 是 Android 中用于表示可绘制图形资源的抽象概念,它是 Android 应用 视觉呈现的重要组成部分。 下面是对 Android Studio 中 Drawable 的全面解析。

  5. 解锁Android Drawable:从基础到实战的图形绘制秘籍 - 掘金

    Mar 4, 2025 · 矢量图形在 Drawable 中的应用日益广泛。 传统的位图 Drawable 在缩放时容易出现失真现象,而矢量图形 Drawable,如 VectorDrawable,基于数学公式描述图形,具有无损缩放的特性,能 …

  6. 8.1.1 Android中的13种Drawable小结 Part 1 - 菜鸟教程

    Drawable分为两种: 一种是我们 普通的图片资源,在Android Studio中我们一般放到res/mipmap目录下, 和以前的Eclipse不一样哦! 另外我们如果把工程切换成Android项目模式,我们直接 往mipmap目 …

  7. Android必知必会——Drawable - 知乎

    Drawable 是 可绘制对象 的常规 抽象。 不同的子类可用于特定的图片场景,可以对其进行扩展以定义行为方式独特的可绘制对象。

  8. Drawable - Android中文版 - API参考文档

    Using drawable as the XML element name and specifying the fully-qualified class name from the class attribute. This method may be used for both public top-level classes and public static inner classes.

  9. 详解Android中的13种Drawable使用方法-百度开发者中心 - Baidu

    Jan 16, 2024 · 本文将介绍13种常用的Drawable的使用方法,包括基本概念、使用场景和实现细节,帮助开发者更好地理解和应用这些资源。

  10. Drawable - Android SDK | Android Developers

    A Drawable is a general abstraction for "something that can be drawn." Most often you will deal with Drawable as the type of resource retrieved for drawing things to the screen; the Drawable class …