自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 获取当前具体日期

Time today = new Time(Time.getCurrentTimezone()); today.setToNow(); monthDay = today.monthDay;

2020-03-10 10:26:32 108 1

原创 购物车二级 全选适配器

先来个布局<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height...

2019-03-07 11:37:21 161

原创 自定义View画一个圆从左下角匀速移到右下角渐变

public class Viewwww extends View implements View.OnClickListener{ private Bean bean; private Paint paint; public Viewwww(Context context) { super(context); } public Vie...

2019-03-05 14:45:27 166

原创 属性动画

平移 旋转 渐变 缩放首先是布局 <gxq.com.day09.MyView android:id="@+id/kaoimage" android:layout_width="100dp" android:layout_height="100dp" android:background="#aaaddd" />...

2019-02-26 08:26:59 112

原创 MVP登录注册

登录的布局 <LinearLayout android:layout_marginLeft="50dp" android:layout_marginTop="160dp" android:layout_marginRight="50dp" android:layout_width="match_parent" ...

2019-02-25 19:14:07 103

原创 页面展示框架

Activity private HomePresenter homePresenter; private String path = "http://result.eolinker.com/iYXEPGn4e9c6dafce6e5cdd23287d2bb136ee7e9194d3e9?uri=one"; @Override protected void onCre...

2019-02-17 20:47:07 371

原创 MVP登录 HTTP网络拦截器 post请求

Activity主页面 @BindView(R.id.login) Button login; @BindView(R.id.userName) EditText userName; @BindView(R.id.password) EditText password; private String path = "http://172....

2019-02-17 14:53:46 251

原创 引导页+抽屉+页面切换+频道+Tablayout+上下拉刷新多条目AsynTask

引导页的页面首先是布局文件 <android.support.v4.view.ViewPager android:id="@+id/pager" android:layout_width="match_parent" android:layout_height="match_parent" /> <RadioGrou...

2018-12-19 15:56:41 228 2

原创 QQ页面切换+Fragment嵌套+Tablayout+PullToRefreshListView+数据库

第一步首先我们要先写好布局页面 <FrameLayout android:id="@+id/frag" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="9

2018-12-14 14:26:22 220 1

原创 无 Viewpager show and hide QQ页面的切换

Activity页面 protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); frag = findViewById(R.id.frag); ...

2018-12-06 14:41:26 125

原创 ImageLoader +XlistView多条目展示

Activity主页面 主要是实现展示优化+多条目展示public class MainActivity extends AppCompatActivity { String baseUrl = "http://api.expoon.com/AppNews/getNewsList/type/1/p/"; int page; private XListView XLis...

2018-12-05 13:59:34 204 1

原创 判断网络获取+数据库+页面展示

Activity页面切换public class MainActivity extends AppCompatActivity { private ViewPager pager; private RadioGroup group; private ArrayList<Fragment> list; private Dao dao; @O...

2018-12-02 18:56:17 265

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除