- 博客(1)
- 资源 (5)
- 收藏
- 关注
转载 Android——超炫dialog弹窗效果,及自定义view dialog
在实际开始种,每个android应用或多或少都会有一些dialog的弹窗,系统自带v7的还能看,v4就实在看不下去了,太他妈丑了。有些开发者闲麻烦,只能自己写一个layout实现,但是这样又不麻烦吗?要是有一个library用下,是不是就觉得舒服多了,随时随用。没错,今天我就是给大家带来这样的福利,分享两个效果不错的dialog项目,注释我都写上了,主要代码在这里贴出来看下,demo在最后会附上。...
2018-03-14 14:54:00 2961
基于android开发的GPS定位
GPS定位
gps_tip = (TextView) findViewById(R.id.gps_tip);
findViewById(R.id.do_gps).setOnClickListener(GpsActivity.this);
findViewById(R.id.do_apn).setOnClickListener(GpsActivity.this);
findViewById(R.id.do_wifi).setOnClickListener(GpsActivity.this);
2015-12-27
android标准身高测评
public class HeightCalculatorActivity extends Activity {
/** Called when the activity is first created. */
//计算按钮
private Button calculatorButton;
//体重输入框
private EditText weightEditText;
//男性单选框
private RadioButton manRadioButton;
//女性单选框
private RadioButton womanRadioButton;
//显示结果
private TextView resultTextView;
//退出
private static final int EXIT=1;
@Override
public void onCreate(Bundle savedIns
2015-10-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人