custom-view
Here are 424 public repositories matching this topic...
-
Updated
May 21, 2020 - Java
i read documentation more than one time but not understand how we add nspersian calendar.I know somewhere NSDate() is used for english calendar as default but i did not get that point. Can you help me?
Thanks in advance
-
Updated
Oct 26, 2018 - Java
-
Updated
Apr 23, 2020 - Java
-
Updated
Sep 24, 2018 - Java
-
Updated
May 20, 2020 - Kotlin
-
Updated
Dec 18, 2019 - Java
-
Updated
Apr 3, 2020 - Objective-C
-
Updated
Oct 12, 2017 - Java
I am setting my own icon to FAB.
but it is not fitting in the FAB button , instead it is showing padding to the radius.
Sharing the image of the view.
As you can see the icon inside the FAB and white space outside the remaining area.
Please guide me through.
-
Updated
Apr 18, 2020 - Java
-
Updated
Mar 17, 2020 - Java
-
Updated
Jan 23, 2019 - Java
-
Updated
Jan 5, 2020 - Java
-
Updated
Feb 22, 2015 - Java
-
Updated
May 12, 2019 - Java
-
Updated
Mar 11, 2019 - Kotlin
-
Updated
Aug 9, 2016 - Java
-
Updated
Jul 21, 2017 - Java
-
Updated
Nov 27, 2019 - Java
-
Updated
May 18, 2018 - Java
-
Updated
Mar 23, 2020 - Java
-
Updated
May 31, 2020 - Java
-
Updated
May 14, 2020 - Java
Improve this page
Add a description, image, and links to the custom-view topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the custom-view topic, visit your repo's landing page and select "manage topics."

原文地址:http://developer.android.com/guide/topics/graphics/hardware-accel.html
译文地址:http://blog.chenming.info/blog/2012/09/18/android-hardware-accel/
硬件加速
Android 3.0 (API level 11), 开始支持
所有的View 的canvas都会使用GPU,但是硬件的加速会占有一定的RAM。
在API >= 14上,默认是开启的,如果你的应用只是标准的View和Drawable,全局都打开硬件加速,是不会有任何问题的。
然而,硬件加速并不支持所有的2D画图的操作,这时开着它,可能会影响到你的自定义控件或者绘画,出现异常等行为,
所以android对于硬件加速提供了可选性
如果你的应用执行了自定义的绘画,可以通