logo

清平园

Stay hungry,Stay foolish.

×
MENU
  • HOME
  • Mobile
    • Android
      • Android Tutorial
      • Android Practice
    • Kotlin
    • Objective-C
    • Swift
    • React Native
  • Web
    • HTML
    • CSS
    • JavaScript
    • React
  • Server
    • PHP
    • Java
      • Servlet
      • JSP
  • Data
    • Python
  • Network
  • Tips

搜索热点

  • Android
  • Objective-C
  • React Native
  • Swift
  • Java
  • JSP
  • CSS
  • HTML
  • JavaScript
  • React
HomeMobileAndroidAndroid Practice
Android设置Button按钮是否点击 Android Practice

Android设置Button按钮是否点击

Activity中设置不可点击: button.setEnabled(false); Activity中设置可点击: button.setEnabled(true); 或者xml中设置不可点击: an...
11月10日 877 Comment
阅读全文
Android selectableItemBackground的代码实现 Android Practice

Android selectableItemBackground的代码实现

Android xml文件中android:background="?attr/selectableItemBackground"代码实现为: //5.0以上系统判断 if (Build.VERSIO...
10月10日 736 Comment
阅读全文
Android apk签名 Android Practice

Android apk签名

执行命令: jarsigner -verbose -keystore yourkey.jks -signedjar new.apk old.apk alias
10月09日 634 Comment
阅读全文
解决Android Studio 3.5格式化XML文件时代码错乱问题 Android Practice

解决Android Studio 3.5格式化XML文件时代码错乱问题

更新Android Studio到3.5之后出现了一个问题,格式化XML文件,代码会出现顺序错乱,包括布局文件和AndroidManifest文件,解决方法记录如下: 打开设置 -> Edito...
10月09日 1,140 Comment
阅读全文
Android 禁止截屏和录屏 Android Practice

Android 禁止截屏和录屏

禁止截屏和录屏代码: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstan...
09月26日 1,096 Comment
阅读全文
Android设置可滚动的TextView Android Practice

Android设置可滚动的TextView

代码实现: TextView textView = (TextView)findViewById(R.id.text_view); textView.setMovementMethod(Scrolli...
10月11日 817 Comment
阅读全文

本站推荐

  • HTML基础 HTML基础 427  0
  • React Native 特定平台代码 React Native 特定平台代码 1,259  0
  • Kotlin控制流 Kotlin控制流 745  0
  • BroadcastReceiver介绍 BroadcastReceiver介绍 799  0
  • Content Provider介绍 Content Provider介绍 666  0
  • Android
  • Objective-C
  • React Native
  • Swift
  • JSP
  • CSS
  • HTML
  • JavaScript
  • React

关于我

以APP开发出道,混迹于前端开发,有时也摆弄后端。一起来交流技术吧。

Copyright ©  2017-2020 清平园 版权所有.

京ICP备15026487号-14

Log In Lost ?

Please enter your username or email address. You will receive a link to create a new password via email.

  • Directory
  • 繁
  • 在线咨询

    选择一种方式联系我们!
  • icon