自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 android studio 弹出框设置

android studio dialog实现dialog实现在activity.main中编辑<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_paren

2022-03-24 16:50:58 7067

原创 android studio 登陆ui界面设计

一、在activity_mian布局中设计,此处用RelativeLayout控件,功能是实现滑动功能,可上下也可左右,按需求设计。以下是代码部分<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layo

2022-03-14 09:46:58 6163

原创 android studio 设置圆角按钮

在需要的activity中建立一个button下面建立一个button<Button android:id="@+id/btn_edittext"//button的名字随便起 android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/roundbutton"//直接建立roundbutton的模板以后直接用 .

2022-03-09 10:21:38 8704

原创 android 点击变颜色

新建一个button_selector.xml文件<?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/dj_normal" android:state_pressed="false"/> <ite.

2021-11-04 11:15:33 1329

空空如也

空空如也

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

TA关注的人

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