//
private int dipToPx(int dip) {
final DisplayMetrics displayMetrics = mContext.getResources().getDisplayMetrics();
return (int) (displayMetrics.density * dip + 0.5f);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
liyv/workspace
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
记录一些东西
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published