new plotter

This commit is contained in:
Sergey Solovyev 2013-01-14 14:10:23 +04:00
parent 400d5003a3
commit 8fb1272bd2
4 changed files with 11 additions and 3 deletions

View File

@ -297,5 +297,7 @@
<string name="cpp_dotted_line_style">Dotted (. . .)</string>
<string name="cpp_dash_dotted_line_style">Dash dotted (-.-.-)</string>
<string name="cpp_plotter">Function plotter</string>
</resources>

View File

@ -16,7 +16,7 @@
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="5"
a:layout_weight="3"
a:text="Function"/>
<TextView

View File

@ -6,8 +6,7 @@
a:key="@string/p_calc_ad_free_key"
a:title="@string/c_calc_ad_free_title"
a:summary="@string/c_calc_ad_free_summary"
a:defaultValue="false"
/>
a:defaultValue="false"/>
<org.solovyev.android.ads.AdViewPreference a:layout="@layout/admob_pref"/>

View File

@ -50,6 +50,13 @@ enum CalculatorMenu implements LabeledMenuItem<MenuItem> {
}
},
plotter(R.string.cpp_plotter) {
@Override
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
Locator.getInstance().getPlotter().plot();
}
},
exit(R.string.c_exit) {
@Override
public void onClick(@NotNull MenuItem data, @NotNull Context context) {