-- 狗头保命
layout={
  LinearLayout;
  layout_height="fill";
  layout_width="fill";
  gravity="center";
  {
    TextView;
    text=读取文件(tdata.."翻转.txt");
    textColor=0xff000000;
    textSize="30sp";
    id="zx";
  };
};
activity.setContentView(loadlayout(layout))

function 旋转()
  zx.setRotationY(zx.getRotationY()+5)
end

function 刷新()
  require "import"
  while true do
    Thread.sleep(50)
    call("旋转")
  end
end

thread(刷新)
