Make the weight dialog always display after enable calorie display. Change code style.

This commit is contained in:
youtaol
2013-08-27 17:06:28 +08:00
parent 57ca65e3b6
commit 10a3e18e7a
6 changed files with 44 additions and 65 deletions
+3 -2
View File
@@ -36,12 +36,13 @@ limitations under the License.
<CheckBoxPreference
android:defaultValue="false"
android:key="@string/stats_show_calorie_key"
android:title="@string/settings_stats_calorie" />
android:title="@string/stats_calorie" />
<EditTextPreference
android:enabled="false"
android:imeOptions="actionDone"
android:inputType="number"
android:key="@string/stats_weight_key"
android:persistent="false"
android:title="@string/settings_stats_calorie_weight" />
</PreferenceCategory>
</PreferenceCategory>
</PreferenceScreen>