EditFunctionFragment changes

This commit is contained in:
serso
2016-01-22 17:13:37 +01:00
parent 2a8c559a01
commit d0cd2b8420
10 changed files with 209 additions and 103 deletions

View File

@@ -23,7 +23,7 @@
-->
<ScrollView xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_width="wrap_content"
a:layout_height="wrap_content">
<LinearLayout
@@ -47,7 +47,8 @@
<org.solovyev.android.calculator.function.FunctionParamsView
a:id="@+id/function_params"
a:layout_width="match_parent"
a:layout_height="wrap_content" />
a:layout_height="wrap_content"
a:orientation="vertical" />
<android.support.design.widget.TextInputLayout
a:id="@+id/function_body_label"

View File

@@ -29,5 +29,5 @@
<dimen name="cpp_display_text_size">20sp</dimen>
<dimen name="cpp_display_text_size_mobile">20sp</dimen>
<dimen name="cpp_kb_button_size">40dp</dimen>
<dimen name="cpp_clickable_area_size">40dp</dimen>
</resources>

View File

@@ -39,5 +39,6 @@
<dimen name="cpp_onscreen_main_padding">1dp</dimen>
<dimen name="cpp_dialog_spacing">20dp</dimen>
<dimen name="cpp_kb_button_size">50dp</dimen>
<dimen name="cpp_clickable_area_size">50dp</dimen>
<dimen name="cpp_dialog_width_max">400dp</dimen>
</resources>

View File

@@ -155,7 +155,8 @@
<string name="function_name_is_not_valid">Name of function is not valid: name must start with a letter, can contain letters, digits and underscore.</string>
<string name="function_already_exists">Function with the same name already exists!</string>
<string name="function_is_empty">Function body could not be empty!</string>
<string name="function_param_not_empty">Function parameter should not be empty!</string>
<string name="invalid_name">Invalid name</string>
<string name="function_duplicate_parameter">There is already a parameter with the same name</string>
<string name="function_removal_confirmation_question">Do you really want to delete \'%s\' function?</string>
<string name="empty_function_error">Unable to create empty function!</string>
<string name="do_not_show_messages_in_session">Do not show this message until next session</string>