上次去看人家做瑜珈抄下來的公式做出來的
大概就是可以算算你的體脂肪
誤差還是有的
畢竟不是用電子儀器測的
可以拿來嚇自己
android手機按一下網址就可以了
有分男生和女生
按一下選單就可以切換了
女生的部分沒做測試
因為我是男的
哪天要改版的話
就是順便算個BMI
然後讓輸入方便一點
public boolean onKeyDown(int keyCode, KeyEvent event){
return false;
}
android:screenOrientation="portrait"
android:screenOrientation="landscape"
android:screenOrientation="reverseLandscape"
螢幕固定往右橫躺android:screenOrientation="reversePortait"
倒立<RelativeLayout android:layout_height="fill_parent" android:layout_width="fill_parent"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:src="@drawable/icon"
android:id="@+id/imageView1"
android:layout_alignParentLeft="true"
android:layout_marginTop="5dp"
</ImageView>
</RelativeLayout>
android:layout_alignParentLeft="true"
android:layout_marginTop="5dp"
<ImageView android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:src="@drawable/icon"
android:id="@+id/imageView2"
android:layout_below="@+id/imageView1"
android:layout_toLeftOf="@+id/imageView1"></ImageView>
android:layout_marginTop="5dp"