mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-20 07:21:40 +02:00
Add summary text to estimate preference
This commit is contained in:
@@ -471,6 +471,7 @@ public abstract class FloatMeasurementView extends MeasurementView {
|
||||
final CheckBoxPreference estimate = new CheckBoxPreference(screen.getContext());
|
||||
estimate.setKey(settings.getEstimationEnabledKey());
|
||||
estimate.setTitle(R.string.label_estimate_measurement);
|
||||
estimate.setSummary(R.string.label_estimate_measurement_summary);
|
||||
estimate.setPersistent(true);
|
||||
estimate.setDefaultValue(settings.isEstimationEnabled());
|
||||
screen.addPreference(estimate);
|
||||
|
@@ -189,4 +189,5 @@
|
||||
<string name="label_overview_graph">Översiktsgraf</string>
|
||||
<string name="label_percent">Procent</string>
|
||||
<string name="label_estimated">Estimerat</string>
|
||||
<string name="label_estimate_measurement_summary">Baserat på vikt, längd, ålder, kön, m.m.</string>
|
||||
</resources>
|
||||
|
@@ -222,4 +222,5 @@
|
||||
<string name="label_overview_graph">Overview graph</string>
|
||||
<string name="label_percent">Percent</string>
|
||||
<string name="label_estimated">Estimated</string>
|
||||
<string name="label_estimate_measurement_summary">Based on weight, height, age, gender, etc.</string>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user