通过轨迹球可选择

时间:2011-04-06 19:28:12

标签: android

我在屏幕的标题上并排显示4个ImageView。

布局的一部分如下:

<RelativeLayout android:id="@+id/Buttons"
        android:background="@drawable/buttonbg" android:layout_below="@+id/header"
        android:layout_width="fill_parent" android:layout_height="wrap_content">
            <ImageView android:id="@+id/AddIcon"
            android:layout_marginLeft="5dip" android:layout_marginTop="5dip"
            android:layout_marginBottom="5dip" android:src="@drawable/ic_add_normal"
            android:layout_width="wrap_content" android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"></ImageView>
        <ImageView android:id="@+id/EditIcon"
            android:layout_marginLeft="5dip" android:layout_marginTop="5dip"
            android:layout_marginBottom="5dip" android:src="@drawable/ic_edit_normal"
            android:layout_width="wrap_content" android:layout_toRightOf="@id/AddIcon"
            android:layout_height="wrap_content"></ImageView>
        <ImageView android:id="@+id/playIcon"
            android:layout_marginLeft="5dip" android:layout_marginTop="5dip"
            android:layout_marginBottom="5dip" android:src="@drawable/ic_play_normal"
            android:layout_width="wrap_content" android:layout_toRightOf="@id/EditIcon"
            android:layout_height="wrap_content"></ImageView>

</RelativeLayout>

我希望显示在屏幕标题处的图标可由移动设备的跟踪球选择。也应该是可以关注的。

0 个答案:

没有答案
相关问题