Matrix support
This commit is contained in:
@@ -1,35 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:picker="http://schemas.android.com/apk/res-auto"
|
||||
a:id="@+id/main_fragment_layout"
|
||||
a:layout_height="match_parent"
|
||||
style="?fragmentLayoutStyle"
|
||||
a:layout_width="match_parent"
|
||||
style="?fragmentLayoutStyle">
|
||||
a:layout_height="match_parent">
|
||||
|
||||
<LinearLayout a:layout_height="wrap_content"
|
||||
<TextView a:id="@+id/fragmentTitle"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_width="match_parent"
|
||||
style="?fragmentTitleStyle"/>
|
||||
|
||||
<include layout="@layout/ad"/>
|
||||
|
||||
<LinearLayout a:layout_height="match_parent"
|
||||
a:layout_width="match_parent"
|
||||
a:gravity="center">
|
||||
|
||||
<TextView a:layout_height="wrap_content"
|
||||
a:layout_width="wrap_content"
|
||||
a:text="Rows"/>
|
||||
|
||||
<org.solovyev.android.view.Picker a:id="@+id/matrix_rows_count_picker"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_width="wrap_content"/>
|
||||
|
||||
<TextView a:layout_height="wrap_content"
|
||||
a:layout_width="wrap_content"
|
||||
a:text="Columns"/>
|
||||
a:orientation="vertical">
|
||||
|
||||
<org.solovyev.android.view.Picker a:id="@+id/matrix_cols_count_picker"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_width="wrap_content"/>
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_gravity="center"
|
||||
picker:orientation="horizontal"/>
|
||||
|
||||
<LinearLayout a:layout_height="match_parent"
|
||||
a:layout_width="match_parent"
|
||||
a:orientation="horizontal"
|
||||
a:gravity="center">
|
||||
|
||||
<org.solovyev.android.view.Picker a:id="@+id/matrix_rows_count_picker"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_width="wrap_content"/>
|
||||
|
||||
<ScrollView a:layout_height="match_parent"
|
||||
a:layout_width="match_parent"
|
||||
a:scrollbars="vertical">
|
||||
|
||||
<HorizontalScrollView a:layout_height="wrap_content"
|
||||
a:layout_width="match_parent"
|
||||
a:minHeight="300dp">
|
||||
|
||||
<org.solovyev.android.calculator.matrix.MatrixView a:id="@+id/matrix_layout"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="match_parent"
|
||||
a:minWidth="300dp"/>
|
||||
|
||||
</HorizontalScrollView>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TableLayout a:id="@+id/matrix_layout"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="match_parent"/>
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user