AndroidManifest.xml配置
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
package com.example.lession8_matrix;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.EditText;
public class MainActivity extends Activity {
MyDrawView drawView=null;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
drawView=(MyDrawView)findViewById(R.id.view1);
}
public void clickBtn(View view)
{
float[] a=new float[9];
for(int i=0;i<9;i++)
{
EditText txt=(EditText) findViewById(R.id.txt11+i);
android 矩形变换 图像旋转
最新推荐文章于 2021-05-28 03:00:48 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)