关于界面

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:background="@drawable/aboutbg"
  android:layout_width="fill_parent"
  android:gravity="center_horizontal"
  android:layout_height="fill_parent">
 
     <ImageView
      android:id="@+id/about_img"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:src="@drawable/title"></ImageView>

  <TextView
   android:id="@+id/about_softversion"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:layout_marginTop="50dp"
   android:text="1.1.1.1"
   android:layout_centerInParent="true"
   android:layout_below="@id/about_img"></TextView>
   
   
  <TextView
   android:id="@+id/about_versionZW"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:layout_marginTop="50dp"
   android:text="wwwwwwwwertttttttttttttttttttttttttttttttttttttt"
   android:layout_centerInParent="true"
   android:layout_below="@id/about_softversion"></TextView>
   
  <TextView
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:layout_marginTop="50dp"
   android:text="wwwwwwwwwwwwwwererrtert"
   android:layout_centerInParent="true"
   android:layout_below="@id/about_versionZW"></TextView>
 
 
</RelativeLayout>

 

 

--============================================

    File file = new File(Environment.getExternalStorageDirectory(), "store.xml");
    FileOutputStream outStream = null;
    try {
     //outStream = new FileOutputStream(file);
     outStream = MainActivity.this.openFileOutput("/mnt/sdcard/store.xml", Context.MODE_APPEND);
     String content = "测试2;";
     outStream.write(content.getBytes());
     outStream.close();
    } catch (FileNotFoundException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
    } catch (IOException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
    }

 

--=====================================================

设置-无线和网络-WLAN设置-点击菜单键出现(高级)-高级-WLAN休眠策略-永不休眠 缺点:比较耗电。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值