![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
mz5111089
这个作者很懒,什么都没留下…
展开
-
初识Android第一坑,预览不可见
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> ...原创 2018-08-20 18:18:45 · 226 阅读 · 0 评论 -
Android 实践一 hello world
activity_main.xml :<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="ht...原创 2018-08-21 12:15:10 · 179 阅读 · 0 评论 -
Android抽奖实现
第一章:实现简易抽奖1.1 实现步骤1.2 程序示例第一步:TextView lotteryNumberTv = findViewById(R.id.lotteryView);第二步:Random random = new Random();第三步:int n = random.nextInt(100);第四步: lotteryNumberT...原创 2018-10-17 16:57:27 · 1116 阅读 · 0 评论