android类似QQ换皮肤,实现思路,apk资源共享(3)
来源:未知 责任编辑:责任编辑 发表时间:2014-03-23 22:26 点击:次
Log.d("TAG", "BUTTON FROM Share2");
Toast.makeText(StartAct.this, "BUTTON FROM Share2", Toast.LENGTH_SHORT).show();
}
});
this.setContentView(v);
} catch (NameNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalArgumentException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
资源apk包Layout
Xml代码
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>