已采納回答 / qq_ZhaoYuBetter_0
首先,設置了半徑,如:mRadius = 100;然后,獲取屏幕寬高,如:width = 480,height=800;計算:mCenterX = (480 - 2*mRadius) / 2 = 140;mCenterY = (800 - 2*mRadius) / 2 = 300;
2016-03-11
[2016-03-10 05:04:08 - Amenu] W/ResourceType( 4016): Bad XML block: header size 213 or total size 0
2016-03-10
最新回答 / 這個殺手不太累
將這個復制到你的布局文件中試一下<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ? ?xmlns:hyman="http://schemas.android.com/apk/res-auto" ? ?android:layout_width="match_parent" ? ?android:layout_hei...
2016-03-10