2015-12-05から1日間の記事一覧
Float型の変数を小数点一桁で四捨五入する Float target_BMI = target_weight / ((target_tall/100f) * (target_tall/100f));BigDecimal target_BMI_bug_decimal = new BigDecimal(target_BMI);target_BMI_bug_decimal = target_BMI_bug_decimal.setScale(1,…
単純に次にフォーカス移動させる場合 android:imeOptions="actionNext" 任意の方向に移動させたい場合 android:nextFocusUp="@+id/upId" android:nextFocusRight="@+id/rightId" android:nextFocusLeft="@+id/leftId" android:nextFocusDown="@+id/downId" …