自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

朴勇佑的专栏

共享知识

  • 博客(7)
  • 资源 (4)
  • 收藏
  • 关注

原创 radiobutton drawable bitmap 互换

public static Bitmap drawableToBitmap(Drawable drawable) { int w = drawable.getIntrinsicWidth(); int h = drawable.getIntrinsicHeight(); Bitmap.Config config = drawable.getOpacity() != PixelFormat...

2018-09-27 15:47:45 132

原创 radiobutton 图标大小

Drawable drawable = getResources().getDrawable(R.drawable.a);drawable .setBounds(0, 0, 70, 70);radiobutton.setCompoundDrawables(null,drawable , null, null); 

2018-09-27 11:07:37 2009

原创 diver padding

<?xml version="1.0" encoding="utf-8"?><inset xmlns:android="http://schemas.android.com/apk/res/android" android:insetLeft="10dp" android:insetRight="10dp"> &lt

2018-09-26 14:53:35 121

原创 HttpClient

public static InputStream linkUrl(String httpUrl) { HttpGet hg = new HttpGet(httpUrl); HttpClient hc = new DefaultHttpClient(); try { HttpResponse response = hc.execute(hg); if (response.getS...

2018-09-26 13:34:17 63

原创 透明颜色

android:drawable="@color/transparent"<color name="transparent">#00000000</color>

2018-09-17 09:51:26 160

原创 自定义控件view 属性

1.在res/values文件夹里创建attr.xml文件attr.xml<?xml version="1.0" encoding="utf-8"?><resources> <declare-styleable name="mybutton"> <attr name="myText" forma

2018-09-13 14:13:02 135

原创 expandablelistView

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="mat...

2018-09-07 11:34:31 68

SDPTXml.zip

xml解析测试工具

2021-05-30

QWidget给qt3dStudio发信号

利用QOpenGLContext和QWindow对象创建的Q3DSSurfaceViewer对象将加载uia文件并利用Q3DSDataInput对象传递参数

2021-01-25

qwindow与qt3dStudio结合

qtwidget下调用qt3dstudio制作的uip和uia文件

2021-01-22

qml与qwidget结合的checkbox

qml与qwidget结合的checkbox 勾选部分使用了qml, 说明部分使用了QLabel, 通过qml和qwidget交互实现checkbox功能。另QLabel本身不支持clicked事件, 在此自己封装了一层clicked事件。

2021-01-21

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除