【问题标题】:How Do You Focus The Android Developer Emulator?你如何专注于 Android 开发者模拟器?
【发布时间】:2010-08-03 15:56:30
【问题描述】:

我在 Eclipse 中制作了一个图像按钮,并使用 android sdk 包中的模拟器运行它。

 <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
 android:drawable="@drawable/cat1" /> <!-- pressed -->
 <item android:state_focused="true"
  android:drawable="@drawable/cat2" /> <!-- focused -->
 <item android:drawable="@drawable/cat3" /> <!-- default -->
 </selector>

“Pressed”和“Default”可与鼠标一起使用,但有没有一种方法可以让您集中注意力?如果不能,是否需要在实际的 android 设备上进行仿真?

【问题讨论】:

    标签: android eclipse sdk focus emulation


    【解决方案1】:

    使用轨迹球或箭头键在视图之间移动。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-02
      • 2014-12-26
      • 2016-10-04
      • 2011-06-18
      • 2013-07-05
      • 1970-01-01
      相关资源
      最近更新 更多