This commit is contained in:
Sergey Solovyev
2012-11-18 19:38:15 +04:00
parent 3d0eacd601
commit 4637547691
11 changed files with 142 additions and 22 deletions

View File

@@ -8,7 +8,13 @@
<Button
a:id="@+id/function_add_param_button"
a:layout_height="wrap_content"
a:layout_width="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="+" />
<TextView
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="5"/>
</LinearLayout>

View File

@@ -8,25 +8,29 @@
<Button
a:id="@+id/function_remove_param_button"
a:layout_height="wrap_content"
a:layout_width="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="-" />
<Button
a:id="@+id/function_up_param_button"
a:layout_height="wrap_content"
a:layout_width="wrap_content"
a:text="" />
<Button
a:id="@+id/function_up_param_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="↑" />
<Button
a:id="@+id/function_down_param_button"
a:layout_height="wrap_content"
a:layout_width="wrap_content"
a:text="" />
<Button
a:id="@+id/function_down_param_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="↓" />
<org.solovyev.android.calculator.function.FunctionParamEditText
a:id="@+id/function_param_edit_text"
a:layout_height="wrap_content"
a:layout_width="match_parent"
a:id="@+id/function_param_edit_text"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="3"
style="@style/cpp_default_text_size"
a:inputType="text" />