android-calculatorpp/app/src/main/res/layout/fragment_plot.xml
2016-02-26 23:49:48 +01:00

64 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<org.solovyev.android.plotter.PlotViewFrame xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/plot_view_frame"
a:layout_width="match_parent"
a:layout_height="match_parent">
<org.solovyev.android.plotter.PlotView
a:id="@id/plot_view"
a:layout_width="match_parent"
a:layout_height="match_parent" />
<org.solovyev.android.material.MaterialImageButton
a:id="@+id/plot_dimensions"
style="@style/CppPlotButton"
a:layout_gravity="top|start"
a:src="@drawable/ic_straighten_white_24dp" />
<org.solovyev.android.material.MaterialImageButton
a:id="@id/plot_3d_button"
style="@style/CppPlotButton"
a:layout_gravity="top|end"
a:src="@drawable/ic_3d_rotation_white_24dp" />
<LinearLayout
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:layout_gravity="bottom|start"
a:orientation="vertical">
<org.solovyev.android.material.MaterialImageButton
a:id="@+id/plot_add_function"
style="@style/CppPlotButton"
a:src="@drawable/ic_add_white_24dp" />
<org.solovyev.android.material.MaterialImageButton
a:id="@+id/plot_functions"
style="@style/CppPlotButton"
a:src="@drawable/ic_list_white_24dp" />
</LinearLayout>
<LinearLayout
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:layout_gravity="bottom|end"
a:orientation="vertical">
<org.solovyev.android.material.MaterialImageButton
a:id="@id/plot_zoom_in_button"
style="@style/CppPlotButton"
a:src="@drawable/ic_zoom_in_white_24dp" />
<org.solovyev.android.material.MaterialImageButton
a:id="@id/plot_zoom_reset_button"
style="@style/CppPlotButton"
a:src="@drawable/ic_my_location_white_24dp" />
<org.solovyev.android.material.MaterialImageButton
a:id="@id/plot_zoom_out_button"
style="@style/CppPlotButton"
a:src="@drawable/ic_zoom_out_white_24dp" />
</LinearLayout>
</org.solovyev.android.plotter.PlotViewFrame>