Greek keyboard
This commit is contained in:
95
app/src/main/res/layout/fragment_variable_edit.xml
Normal file
95
app/src/main/res/layout/fragment_variable_edit.xml
Normal file
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright 2013 serso aka se.solovyev
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
~
|
||||
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
~ Contact details
|
||||
~
|
||||
~ Email: se.solovyev@gmail.com
|
||||
~ Site: http://se.solovyev.org
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content">
|
||||
|
||||
<android.support.design.widget.TextInputLayout
|
||||
a:id="@+id/variable_name_label"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_gravity="start|center_vertical">
|
||||
|
||||
<org.solovyev.android.calculator.view.EditTextCompat
|
||||
a:id="@+id/variable_name"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:hint="@string/c_var_name"
|
||||
a:inputType="text" />
|
||||
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
|
||||
<Button
|
||||
a:id="@+id/variable_keyboard_button"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_gravity="end|center_vertical"
|
||||
a:background="?attr/selectableItemBackgroundBorderless"
|
||||
a:text="@string/cpp_show_greek_keyboard"
|
||||
a:textAllCaps="false"
|
||||
a:padding="@dimen/cpp_image_button_padding"
|
||||
a:minWidth="0dp"
|
||||
a:textAppearance="?android:attr/textAppearanceSmall"
|
||||
tools:ignore="UnusedAttribute" />
|
||||
</FrameLayout>
|
||||
|
||||
<android.support.design.widget.TextInputLayout
|
||||
a:id="@+id/variable_value_label"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content">
|
||||
|
||||
<org.solovyev.android.calculator.view.EditTextCompat
|
||||
a:id="@+id/variable_value"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:hint="@string/c_var_value"
|
||||
a:inputType="numberDecimal" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
|
||||
<android.support.design.widget.TextInputLayout
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content">
|
||||
|
||||
<EditText
|
||||
a:id="@+id/variable_description"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:hint="@string/c_var_description"
|
||||
a:inputType="text" />
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
@@ -1,122 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright 2013 serso aka se.solovyev
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
~
|
||||
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
~ Contact details
|
||||
~
|
||||
~ Email: se.solovyev@gmail.com
|
||||
~ Site: http://se.solovyev.org
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:minWidth="300dp">
|
||||
|
||||
<LinearLayout
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
style="@style/cpp_default_text_size"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:padding="6dp"
|
||||
a:text="@string/c_var_name" />
|
||||
|
||||
<EditText
|
||||
a:id="@+id/var_edit_name"
|
||||
style="@style/cpp_default_text_size"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:inputType="text" />
|
||||
|
||||
<TextView
|
||||
a:id="@+id/var_toggle_greek_keyboard"
|
||||
style="@style/cpp_default_text_size"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:padding="6dp"
|
||||
a:text="@string/cpp_var_show_greek_keyboard" />
|
||||
|
||||
<LinearLayout
|
||||
a:id="@+id/var_greek_keyboard"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:orientation="vertical"
|
||||
a:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
style="@style/cpp_default_text_size"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:padding="6dp"
|
||||
a:text="@string/c_var_value" />
|
||||
|
||||
<EditText
|
||||
a:id="@+id/var_edit_value"
|
||||
style="@style/cpp_default_text_size"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:inputType="numberDecimal" />
|
||||
|
||||
<TextView
|
||||
style="@style/cpp_default_text_size"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:padding="6dp"
|
||||
a:text="@string/c_var_description" />
|
||||
|
||||
<EditText
|
||||
a:id="@+id/var_edit_description"
|
||||
style="@style/cpp_default_text_size"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:inputType="text" />
|
||||
|
||||
<LinearLayout
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
a:id="@+id/cancel_button"
|
||||
a:layout_width="0dp"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_weight="1"
|
||||
a:text="@string/c_cancel" />
|
||||
|
||||
<Button
|
||||
a:id="@+id/remove_button"
|
||||
a:layout_width="0dp"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_weight="1"
|
||||
a:text="@string/c_remove" />
|
||||
|
||||
<Button
|
||||
a:id="@+id/save_button"
|
||||
a:layout_width="0dp"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_weight="1"
|
||||
a:text="@string/c_save" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
@@ -73,5 +73,6 @@
|
||||
<item name="cpp_kb_button_functions_constants" type="id" />
|
||||
<item name="cpp_kb_button_constants" type="id" />
|
||||
<item name="cpp_kb_button_close" type="id" />
|
||||
<item name="cpp_kb_button_change_case" type="id" />
|
||||
|
||||
</resources>
|
@@ -227,6 +227,7 @@
|
||||
several devices.\n\n
|
||||
By clicking \'Continue\' button you will be redirected to the Google Play app to make the payment.</string>
|
||||
<string name="cpp_purchase_title">Purchase</string>
|
||||
<string name="cpp_show_greek_keyboard" translatable="false">αβγ</string>
|
||||
<string name="cpp_var_show_greek_keyboard">Show Greek letters</string>
|
||||
<string name="cpp_var_hide_greek_keyboard">Hide Greek letters</string>
|
||||
<string name="cpp_clear_history_title">Clear history?</string>
|
||||
|
Reference in New Issue
Block a user