自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 python流程控制

if>>> x = int(input("Please enter an integer:"))Please enter an integer:42>>> if x < 0:... x = 0... print("Negative changed to zero")... elif x == 0:... print('Zero')... elif x == 1:... print('Single')... else

2021-03-23 23:32:50 265

原创 AppBarLayout嵌套CollapsingToolbarLayout实现折叠屏去除阴影

效果图:代码:<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.a

2021-01-22 17:35:54 1345

原创 AndroidStudio 4.1.2禁用Androidx

修改gradle.propertiesandroid.useAndroidX=false# Automatically convert third-party libraries to use AndroidXandroid.enableJetifier=false降低AndroidStudio gradle插件版本dependencies { classpath "com.android.tools.build:gradle:3.1.4" // NOT.

2021-01-22 16:49:22 1444

原创 Android 获取MimeType

public static String getMimeType(Context context, Uri uri, String filePath){ String mediaType = null; try{ MediaMetadataRetriever mmr = new MediaMetadataRetriever(); mmr.setDataSource(filePath); mediaType = mmr.extractMetadata(MediaMetadataR

2020-12-16 14:32:59 546

原创 Python简单介绍

数字除法运算 (/) 返回float类型>>> 8 / 5 1.6>>> 8 // 51>>> 7 / 51.4>>> 7 // 51>>> 8 % 53** 运算符计算乘方>>> 5 ** 225>>> 2 ** 7128=赋值>>> width = 20>>> height = 5 *

2020-12-15 21:10:36 157

空空如也

空空如也

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

TA关注的人

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