博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android 开发笔记___textvieww__跑马灯效果
阅读量:4516 次
发布时间:2019-06-08

本文共 1425 字,大约阅读时间需要 4 分钟。

1 
2
5 6
13 14
18 19
25 26
38 39
45 46
47 48
55 56
59 60
65 66 67 68

java

1 package com.example.alimjan.hello_world; 2  3 import android.app.Activity; 4 import android.content.Context; 5 import android.content.Intent; 6 import android.os.Bundle; 7 import android.support.annotation.Nullable; 8 import android.view.View; 9 import android.widget.Button;10 11 /**12  * Created by alimjan on 6/30/2017.13  */14 15 public class class__2_3_1 extends Activity {16     private Button lts;17     @Override18     protected void onCreate(@Nullable Bundle savedInstanceState) {19         super.onCreate(savedInstanceState);20         setContentView(R.layout.code_2_3_1);21 22         lts = (Button) findViewById(R.id.btn_liaotianshi);23 24         lts.setOnClickListener(new View.OnClickListener() {25             @Override26             public void onClick(View v) {27                 Intent intent = new Intent(class__2_3_1.this, class__2_3_1_2.class);28                 class__2_3_1.this.startActivity(intent);29             }30         });31 32     }33 34     public static void startHome(Context mContext) {35         Intent intent = new Intent(mContext, class__2_3_1.class);36         mContext.startActivity(intent);37     }38 }

 

转载于:https://www.cnblogs.com/alimjan/p/7101744.html

你可能感兴趣的文章
我悲惨的人生,该死的UPX壳,谁能救救我
查看>>
7种最有效的懒人减肥方法,收藏了!
查看>>
如何解决虚拟机安装centos无法全屏显示问题!
查看>>
内部跳转(请求转发)和外部跳转(重定向)的区别?
查看>>
GWT(Google Web Tookit) Eclipse Plugin的zip下载地址(同时提供GWT Designer下载地址)
查看>>
开发extjs常用的插件
查看>>
ASP.NET中Request.InputStream使用
查看>>
参数化曲面的绘制
查看>>
关于datawindow does not have update capability
查看>>
第六周学习总结
查看>>
UITableViewDataSource Protocol Reference
查看>>
hdu 1251 统计难题 (字典树入门题)
查看>>
Java-API-Package:org.springframework.web.bind.annotation
查看>>
做法:做法
查看>>
umask 文件默认权限
查看>>
JSON parse error: No suitable constructor found for type
查看>>
Luogu P4161 [SCOI2009]游戏 数论+DP
查看>>
【luogu4145】 上帝造题的七分钟2 / 花神游历各国 [线段树]
查看>>
C++笔记(2018/2/7)
查看>>
Atan2
查看>>