吱吱叽 2016-09-09 08:00 采纳率: 10.5%
浏览 996

在线等 蠢新 安卓 新建xml 求助

设置图片的渐变淡出 效果
新建 xml
在Activity中无法引用 报错:
'default' is not a best match for any device/locale combination.
[2016-09-09 15:34:27 - Pro_UserInfo] Displaying it with ', , Locale Language ___Region __, Left To Right, sw320dp, w320dp, h533dp, Normal Screen, Long screen aspect ratio, Portrait Orientation, Normal, Day time, High Density, Finger-based touchscreen, Soft keyboard, No keyboard, Exposed navigation, Trackball navigation, Screen resolution 800x480, API Level 20' which is compatible, but will actually be displayed with another more specific version of the layout.

Activity:
public class AuditActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {

    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    ViewFlipper viewFilpper = (ViewFlipper) findViewById(R.drawable.gezhi);
    viewFilpper.setInAnimation(AnimationUtils.loadAnimation(this,R.anim.push_in));
    viewFilpper.setOutAnimation(AnimationUtils.loadAnimation(this,
    R.anim.push_out));
    viewFilpper.startFlipping();
}

}

  • 写回答

2条回答

  • qq_32929105 2016-09-09 08:34
    关注

    图片说明

    评论

报告相同问题?

悬赏问题

  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 Web.config连不上数据库
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退
  • ¥20 win系统的PYQT程序生成的数据如何放入云服务器阿里云window版?
  • ¥50 invest生境质量模块