zoukankan      html  css  js  c++  java
  • Android:学习笔记(一)

    在android学习中遇到的一些问题,记录一下。

    1、解决edittext感叹号的问题。
    This text field does not specify an inputType or a hint

    加入以下代码就可以解决:

    android:hint="@null"

    2、解决android4.0后edittext边框不全显示的问题

    android:background="@android:drawable/edit_text"

    3、感叹号问题
    android:password is deprecated: Use inputType instead

    android:password="true"
    改动为
    android:inputType="textPassword"

    4、java.lang.IllegalStateException: Could not execute method of the activity

    出现这样的问题,就仅仅能恨自己太大意了。
    没有将activity加入到资源文件里

  • 相关阅读:
    单例 与 static
    ActiveMQ 核心概念
    Jconsole
    死锁
    document write & close
    java.nio.Buffer
    Java 线程控制(输出奇偶数)
    exist & in
    命运
    Super Jumping! Jumping! Jumping!
  • 原文地址:https://www.cnblogs.com/mfmdaoyou/p/6964923.html
Copyright © 2011-2022 走看看