小编ale*_*par的帖子

Android服务测试

如何测试我的IBinder对象Service返回onBind

service android automated-tests unit-testing

5
推荐指数
1
解决办法
3386
查看次数

ImageView有问题

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <ImageView              
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:src="@drawable/wallpaper" />
</RelativeLayout>
Run Code Online (Sandbox Code Playgroud)

大小@drawable/peetscoffee_wallpaper为640x480,但不是水平居中.我怎样才能解决这个问题?

layout android uiimageview

4
推荐指数
1
解决办法
2274
查看次数

蓝牙发现设备类型问题

蓝牙服务器如何识别发现的客户端 - 获取它们的类型,例如,发现的设备是黑莓还是iphone设备?

bluetooth

2
推荐指数
2
解决办法
4822
查看次数