Lint issues fixed

This commit is contained in:
serso 2016-03-02 10:26:21 +01:00
parent e108ed1b3b
commit 8cdd640132
99 changed files with 45 additions and 947 deletions

View File

@ -83,6 +83,7 @@ dependencies {
compile(name: 'plotter', ext: 'aar') compile(name: 'plotter', ext: 'aar')
compile 'com.google.guava:guava:19.0' compile 'com.google.guava:guava:19.0'
compile('org.simpleframework:simple-xml:2.6.1') { compile('org.simpleframework:simple-xml:2.6.1') {
exclude(module: 'stax')
exclude(module: 'stax-api') exclude(module: 'stax-api')
exclude(module: 'xpp3') exclude(module: 'xpp3')
} }

View File

@ -24,6 +24,7 @@
*/ */
package net.slideshare.mobile.test.util; package net.slideshare.mobile.test.util;
import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;
import android.content.pm.ActivityInfo; import android.content.pm.ActivityInfo;
import android.support.test.espresso.UiController; import android.support.test.espresso.UiController;
@ -60,8 +61,7 @@ public class OrientationChangeAction implements ViewAction {
@Override @Override
public void perform(UiController uiController, View view) { public void perform(UiController uiController, View view) {
uiController.loopMainThreadUntilIdle(); uiController.loopMainThreadUntilIdle();
final Activity activity = (Activity) view.getContext(); requestOrientation(view);
activity.setRequestedOrientation(orientation);
Collection<Activity> resumedActivities = ActivityLifecycleMonitorRegistry.getInstance().getActivitiesInStage(Stage.RESUMED); Collection<Activity> resumedActivities = ActivityLifecycleMonitorRegistry.getInstance().getActivitiesInStage(Stage.RESUMED);
if (resumedActivities.isEmpty()) { if (resumedActivities.isEmpty()) {
@ -69,6 +69,12 @@ public class OrientationChangeAction implements ViewAction {
} }
} }
@SuppressLint("WrongConstant")
private void requestOrientation(View view) {
final Activity activity = (Activity) view.getContext();
activity.setRequestedOrientation(orientation);
}
public static ViewAction orientationLandscape() { public static ViewAction orientationLandscape() {
return new OrientationChangeAction(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); return new OrientationChangeAction(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
} }

View File

@ -22,7 +22,6 @@
package org.solovyev.android.calculator; package org.solovyev.android.calculator;
import android.app.Activity;
import android.content.Context; import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.os.Bundle; import android.os.Bundle;
@ -31,7 +30,6 @@ import android.support.annotation.Nullable;
import android.support.annotation.StringRes; import android.support.annotation.StringRes;
import android.support.v7.app.AlertDialog; import android.support.v7.app.AlertDialog;
import android.view.*; import android.view.*;
import android.widget.TextView;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import com.squareup.otto.Bus; import com.squareup.otto.Bus;
@ -173,19 +171,9 @@ public class DisplayFragment extends BaseFragment implements View.OnClickListene
public static void showEvaluationError(@Nonnull Context context, public static void showEvaluationError(@Nonnull Context context,
@Nonnull final String errorMessage) { @Nonnull final String errorMessage) {
final LayoutInflater layoutInflater =
(LayoutInflater) context.getSystemService(Activity.LAYOUT_INFLATER_SERVICE);
final View errorMessageView = layoutInflater.inflate(R.layout.display_error_message, null);
((TextView) errorMessageView.findViewById(R.id.error_message_text_view))
.setText(errorMessage);
final AlertDialog.Builder builder =
new AlertDialog.Builder(context, App.getTheme().alertDialogTheme) new AlertDialog.Builder(context, App.getTheme().alertDialogTheme)
.setPositiveButton(R.string.cpp_cancel, null) .setPositiveButton(R.string.cpp_cancel, null)
.setView(errorMessageView); .setMessage(errorMessage).create().show();
builder.create().show();
} }
@Override @Override

View File

@ -38,7 +38,7 @@ public class ExpressionFunction extends Function {
name = function.toString(); name = function.toString();
} }
if (name.length() > 10) { if (name.length() > 10) {
name = name.substring(0, 10) + "..."; name = name.substring(0, 10) + "";
} }
} }
return imaginary ? "Im(" + name + ")" : name; return imaginary ? "Im(" + name + ")" : name;

View File

@ -1,68 +0,0 @@
/*
* 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
*/
package org.solovyev.android.prefs;
import android.content.SharedPreferences;
import org.solovyev.common.text.Mapper;
import javax.annotation.Nonnull;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
public abstract class CollectionSetPreference<C extends Collection<T>, T> extends AbstractPreference<C> {
@Nonnull
private final Mapper<T> mapper;
protected CollectionSetPreference(@Nonnull String id, @Nonnull C defaultValue, @Nonnull Mapper<T> mapper) {
super(id, defaultValue);
this.mapper = mapper;
}
@Override
protected C getPersistedValue(@Nonnull SharedPreferences preferences) {
final Set<String> stringValues = preferences.getStringSet(getKey(), null);
final C result = createCollection(stringValues.size());
for (String stringValue : stringValues) {
result.add(mapper.parseValue(stringValue));
}
return result;
}
@Nonnull
protected abstract C createCollection(int size);
@Override
protected void putPersistedValue(@Nonnull SharedPreferences.Editor editor, @Nonnull C values) {
final Set<String> result = new HashSet<String>(values.size());
for (T value : values) {
result.add(mapper.formatValue(value));
}
editor.putStringSet(getKey(), result);
}
}

View File

@ -1,59 +0,0 @@
/*
* 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
*/
package org.solovyev.android.prefs;
import org.solovyev.common.text.EnumMapper;
import org.solovyev.common.text.Mapper;
import org.solovyev.common.text.StringMapper;
import javax.annotation.Nonnull;
import java.util.HashSet;
import java.util.Set;
public class HashSetPreference<T> extends CollectionSetPreference<Set<T>, T> {
private HashSetPreference(@Nonnull String id, @Nonnull Set<T> defaultValue, @Nonnull Mapper<T> mapper) {
super(id, defaultValue, mapper);
}
@Nonnull
public static HashSetPreference<String> ofStrings(@Nonnull String key, @Nonnull Set<String> defaultValue) {
return new HashSetPreference<String>(key, defaultValue, StringMapper.getInstance());
}
@Nonnull
public static <T> HashSetPreference<T> ofTypedValues(@Nonnull String key, @Nonnull Set<T> defaultValue, @Nonnull Mapper<T> parser) {
return new HashSetPreference<T>(key, defaultValue, parser);
}
@Nonnull
public static <T extends Enum> HashSetPreference<T> ofEnums(@Nonnull String id, @Nonnull Set<T> defaultValue, @Nonnull Class<T> enumType) {
return new HashSetPreference<T>(id, defaultValue, EnumMapper.of(enumType));
}
@Nonnull
@Override
protected Set<T> createCollection(int size) {
return new HashSet<T>(size);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 728 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

View File

@ -1,31 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/dialog_layout"
style="@style/CppDialog"
a:orientation="vertical">
</LinearLayout>

View File

@ -1,63 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:layout_gravity="center_horizontal"
a:orientation="vertical">
<TextView
a:id="@+id/cpp_dialog_message_textview"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:maxLines="10"
a:scrollbars="vertical" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
<Button
a:id="@+id/cpp_copy_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/c_copy"
a:visibility="gone" />
<Button
a:id="@+id/cpp_ok_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/ok" />
</LinearLayout>
</LinearLayout>

View File

@ -1,55 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
style="@style/CppDialog">
<LinearLayout
a:id="@+id/cpp_fixable_messages_container"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="vertical" />
<CheckBox
a:id="@+id/cpp_do_not_show_fixable_messages_checkbox"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/do_not_show_messages_in_session" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:gravity="center"
a:orientation="horizontal">
<Button
a:id="@+id/close_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:text="@string/close" />
</LinearLayout>
</LinearLayout>

View File

@ -1,46 +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
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal"
a:padding="6dp">
<TextView
a:id="@+id/cpp_fixable_messages_text_view"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_gravity="fill"
a:layout_weight="5"
a:text="@+id/cpp_fixable_messages_text_view" />
<Button
a:id="@+id/cpp_fix_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="2"
a:text="@string/fix" />
</LinearLayout>

View File

@ -1,34 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent">
<org.solovyev.android.calculator.AdView style="@style/CppAd" />
</LinearLayout>

View File

@ -1,58 +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
-->
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
<TextView
a:id="@+id/cpp_plot_function_expression_textview"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="3" />
<CheckBox
a:id="@+id/cpp_plot_function_pinned_checkbox"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1" />
<CheckBox
a:id="@+id/cpp_plot_function_visible_checkbox"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1" />
<ImageButton
a:id="@+id/cpp_plot_function_settings_button"
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:paddingBottom="0dp"
a:paddingTop="0dp"
a:scaleType="centerInside"
a:src="@drawable/ic_settings_white_48dp" />
</LinearLayout>

View File

@ -1,30 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/dialog_layout"
style="@style/CppDialog">
</LinearLayout>

View File

@ -1,85 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="wrap_content"
a:layout_height="match_parent"
a:layout_gravity="center_horizontal"
a:orientation="vertical">
<org.solovyev.android.calculator.AdView style="@style/CppAd" />
<TextView
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_function_line_color_type" />
<Spinner
a:id="@+id/cpp_plot_function_line_color_type_spinner"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:entries="@array/cpp_plot_line_color_type_names" />
<TextView
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_function_line_color" />
<Spinner
a:id="@+id/cpp_plot_function_line_color_spinner"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:entries="@array/cpp_plot_line_color_names" />
<TextView
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_function_line_style" />
<Spinner
a:id="@+id/cpp_plot_function_line_style_spinner"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:entries="@array/cpp_plot_line_style_names" />
<TextView
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_function_line_width" />
<SeekBar
a:id="@+id/cpp_plot_functions_line_width_seekbar"
a:layout_width="match_parent"
a:layout_height="wrap_content" />
<Button
a:id="@+id/cpp_apply_button"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_apply" />
</LinearLayout>

View File

@ -1,66 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent">
<org.solovyev.android.calculator.AdView style="@style/CppAd" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="horizontal">
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="3"
a:text="@string/cpp_function" />
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/cpp_pinned" />
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:text="@string/cpp_visible" />
<TextView
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1" />
</LinearLayout>
<ListView style="@style/CppListView" />
</LinearLayout>

View File

@ -1,132 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:layout_gravity="center_horizontal"
a:orientation="vertical">
<org.solovyev.android.calculator.AdView style="@style/CppAd" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:baselineAligned="false"
a:orientation="horizontal">
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_range_x_min" />
<EditText
a:id="@+id/cpp_plot_range_x_min_editext"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:inputType="numberDecimal|numberSigned" />
</LinearLayout>
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_range_x_max" />
<EditText
a:id="@+id/cpp_plot_range_x_max_editext"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:inputType="numberDecimal|numberSigned" />
</LinearLayout>
</LinearLayout>
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:baselineAligned="false"
a:orientation="horizontal">
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_range_y_min" />
<EditText
a:id="@+id/cpp_plot_range_y_min_editext"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:inputType="numberDecimal|numberSigned" />
</LinearLayout>
<LinearLayout
a:layout_width="0dp"
a:layout_height="wrap_content"
a:layout_weight="1"
a:orientation="vertical">
<TextView
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_plot_range_y_max" />
<EditText
a:id="@+id/cpp_plot_range_y_max_editext"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:inputType="numberDecimal|numberSigned" />
</LinearLayout>
</LinearLayout>
<Button
a:id="@+id/cpp_apply_button"
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:text="@string/cpp_apply" />
</LinearLayout>

View File

@ -1,72 +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
-->
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@+id/main_fragment_layout"
style="@style/CppFragment"
a:layout_width="match_parent"
a:layout_height="match_parent">
<org.solovyev.android.calculator.AdView style="@style/CppAd" />
<org.solovyev.android.plotter.PlotView
a:id="@+id/plotview"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:background="@android:color/black"
a:gravity="center"
a:orientation="horizontal">
<Button
a:id="@+id/zoom_out_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:text="-" />
<Button
a:id="@+id/zoom_0_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:text="0" />
<Button
a:id="@+id/zoom_in_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:text="+" />
<Button
a:id="@+id/plot_mode_button"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:text="2D/3D" />
</LinearLayout>
</LinearLayout>

View File

@ -1,46 +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="fill_parent"
a:layout_height="fill_parent">
<LinearLayout
a:layout_width="match_parent"
a:layout_height="wrap_content"
a:orientation="vertical"
a:scrollbarAlwaysDrawVerticalTrack="true"
a:scrollbars="vertical">
<TextView
a:id="@+id/error_message_text_view"
style="@style/cpp_default_text_size"
a:layout_width="wrap_content"
a:layout_height="fill_parent"
a:padding="6dp" />
</LinearLayout>
</ScrollView>

View File

@ -153,7 +153,6 @@
<string name="function_name_is_not_valid">اسم الدالّة غير صالح: الاسم يجب أن يبدأ بحرف, ويمكن أن تحتوي على أحرف, أرقام وإشارة _.</string> <string name="function_name_is_not_valid">اسم الدالّة غير صالح: الاسم يجب أن يبدأ بحرف, ويمكن أن تحتوي على أحرف, أرقام وإشارة _.</string>
<string name="function_already_exists">هناك دالّة بنفس الاسم موجود مسبقاً!</string> <string name="function_already_exists">هناك دالّة بنفس الاسم موجود مسبقاً!</string>
<string name="function_is_empty">لا يمكن أن يكون نص الدالّة فارغة!</string> <string name="function_is_empty">لا يمكن أن يكون نص الدالّة فارغة!</string>
<string name="function_param_not_empty">لا ينبغي أن يكون العامل المتغير في الدالة فارغاً!</string>
<string name="function_removal_confirmation_question">هل تريد حقاً حذف الدالة \'%s\'؟</string> <string name="function_removal_confirmation_question">هل تريد حقاً حذف الدالة \'%s\'؟</string>
<string name="empty_function_error">غير قادر على إنشاء دالّة فارغة!</string> <string name="empty_function_error">غير قادر على إنشاء دالّة فارغة!</string>
<string name="do_not_show_messages_in_session">عدم إظهار هذه الرسالة حتى الدورة القادمة</string> <string name="do_not_show_messages_in_session">عدم إظهار هذه الرسالة حتى الدورة القادمة</string>

View File

@ -154,7 +154,6 @@ Google Play</a>,\n nechte komentář nebo \ndiskutujte o aplikaci \nna
<string name="function_name_is_not_valid">Název funkce není platný: jméno musí začínat písmenem, může obsahovat písmena, číslice a podtržítka!</string> <string name="function_name_is_not_valid">Název funkce není platný: jméno musí začínat písmenem, může obsahovat písmena, číslice a podtržítka!</string>
<string name="function_already_exists">Funkce se stejným názvem již existuje!</string> <string name="function_already_exists">Funkce se stejným názvem již existuje!</string>
<string name="function_is_empty">Tělo funkce nemůže být prázdné!</string> <string name="function_is_empty">Tělo funkce nemůže být prázdné!</string>
<string name="function_param_not_empty">Parametr funkce nemůže být prázdný</string>
<string name="function_removal_confirmation_question">Opravdu chcete odstranit \'%s\' funkci?</string> <string name="function_removal_confirmation_question">Opravdu chcete odstranit \'%s\' funkci?</string>
<string name="empty_function_error">Nelze vytvořit prázdnou funkci!</string> <string name="empty_function_error">Nelze vytvořit prázdnou funkci!</string>
<string name="do_not_show_messages_in_session">Nezobrazovat tuto zprávu až do příštího spuštění</string> <string name="do_not_show_messages_in_session">Nezobrazovat tuto zprávu až do příštího spuštění</string>

View File

@ -152,7 +152,6 @@ Google Play</a>,\nschreiben Sie einen Kommentar oder\ndiskutieren Sie die Anwend
<string name="function_name_is_not_valid">Name der Funktion ist ungültig: Name muss mit einem Buchstaben beginnen und darf Buchstaben, Ziffern und Unterstriche enthalten.</string> <string name="function_name_is_not_valid">Name der Funktion ist ungültig: Name muss mit einem Buchstaben beginnen und darf Buchstaben, Ziffern und Unterstriche enthalten.</string>
<string name="function_already_exists">Funktion mit demselben Namen existiert bereits!</string> <string name="function_already_exists">Funktion mit demselben Namen existiert bereits!</string>
<string name="function_is_empty">Funktion darf nicht leer sein!</string> <string name="function_is_empty">Funktion darf nicht leer sein!</string>
<string name="function_param_not_empty">Funktionsparameter sollte nicht leer sein!</string>
<string name="function_removal_confirmation_question">Möchten Sie die Funktion \'%s\' wirklich löschen?</string> <string name="function_removal_confirmation_question">Möchten Sie die Funktion \'%s\' wirklich löschen?</string>
<string name="empty_function_error">Eine leere Funktion kann nicht erstellt werden!</string> <string name="empty_function_error">Eine leere Funktion kann nicht erstellt werden!</string>
<string name="do_not_show_messages_in_session">Diese Nachricht bis zum nächsten Mal verbergen</string> <string name="do_not_show_messages_in_session">Diese Nachricht bis zum nächsten Mal verbergen</string>

View File

@ -152,7 +152,6 @@
<string name="function_name_is_not_valid">El nombre de la función no es válido: El nombre debe comenzar con una letra, y puede contener letras, dígitos y líneas.</string> <string name="function_name_is_not_valid">El nombre de la función no es válido: El nombre debe comenzar con una letra, y puede contener letras, dígitos y líneas.</string>
<string name="function_already_exists">¡Ya existe una función con el mismo nombre!</string> <string name="function_already_exists">¡Ya existe una función con el mismo nombre!</string>
<string name="function_is_empty">¡El cuerpo de la función no puede estar vacío!</string> <string name="function_is_empty">¡El cuerpo de la función no puede estar vacío!</string>
<string name="function_param_not_empty">¡El parámetro de la función no puede estar vacío!</string>
<string name="function_removal_confirmation_question">¿Estás seguro de que quieres eliminar la función \'%s\'?</string> <string name="function_removal_confirmation_question">¿Estás seguro de que quieres eliminar la función \'%s\'?</string>
<string name="empty_function_error">¡No se puede crear una función vacía!</string> <string name="empty_function_error">¡No se puede crear una función vacía!</string>
<string name="do_not_show_messages_in_session">No mostrar este mensaje hasta la próxima sesión</string> <string name="do_not_show_messages_in_session">No mostrar este mensaje hasta la próxima sesión</string>

View File

@ -149,7 +149,6 @@
<string name="function_name_is_not_valid">Toiminnon nimi ei kelpaa: nimen on alettava kirjaimella, voi sisältää kirjaimia, numeroita ja alaviivoja. </string> <string name="function_name_is_not_valid">Toiminnon nimi ei kelpaa: nimen on alettava kirjaimella, voi sisältää kirjaimia, numeroita ja alaviivoja. </string>
<string name="function_already_exists">Saman niminen toiminto on jo olemassa!</string> <string name="function_already_exists">Saman niminen toiminto on jo olemassa!</string>
<string name="function_is_empty">Toiminnon elin ei voi olla tyhjä!</string> <string name="function_is_empty">Toiminnon elin ei voi olla tyhjä!</string>
<string name="function_param_not_empty">Funktioparametri ei pitäisi olla tyhjä!</string>
<string name="function_removal_confirmation_question">Haluatko todella poistaa toiminnon \'%s\'?</string> <string name="function_removal_confirmation_question">Haluatko todella poistaa toiminnon \'%s\'?</string>
<string name="empty_function_error">Tyhjä funktion luominen ei onnistunut.</string> <string name="empty_function_error">Tyhjä funktion luominen ei onnistunut.</string>
<string name="do_not_show_messages_in_session">Älä näytä tätä viestiä kunnes seuraavan istunnon</string> <string name="do_not_show_messages_in_session">Älä näytä tätä viestiä kunnes seuraavan istunnon</string>

View File

@ -149,7 +149,6 @@
<string name="function_name_is_not_valid">Nom de fonction invalide : le nom doit commencer par une lettre, peut contenir des lettres, chiffres et trait de soulignement.</string> <string name="function_name_is_not_valid">Nom de fonction invalide : le nom doit commencer par une lettre, peut contenir des lettres, chiffres et trait de soulignement.</string>
<string name="function_already_exists">Une fonction portant le même nom existe déjà !</string> <string name="function_already_exists">Une fonction portant le même nom existe déjà !</string>
<string name="function_is_empty">Le corps de la fonction ne peut pas être vide !</string> <string name="function_is_empty">Le corps de la fonction ne peut pas être vide !</string>
<string name="function_param_not_empty">Il ne peut y avoir aucun paramètre à la fonction !</string>
<string name="function_removal_confirmation_question">Voulez-vous vraiment supprimer la fonction \'%s\' ?</string> <string name="function_removal_confirmation_question">Voulez-vous vraiment supprimer la fonction \'%s\' ?</string>
<string name="empty_function_error">Impossible de créer une fonction vide !</string> <string name="empty_function_error">Impossible de créer une fonction vide !</string>
<string name="do_not_show_messages_in_session">Ne plus afficher ce message jusqu\'à la prochaine session</string> <string name="do_not_show_messages_in_session">Ne plus afficher ce message jusqu\'à la prochaine session</string>

View File

@ -158,7 +158,6 @@ Per favore valutate Calculator++ \nsu <a href="https://market.android.com/detail
<string name="function_name_is_not_valid">Il nome della funzione non è valido: deve iniziare con una lettera, può contenere lettere, cifre e la sottolineatura. </string> <string name="function_name_is_not_valid">Il nome della funzione non è valido: deve iniziare con una lettera, può contenere lettere, cifre e la sottolineatura. </string>
<string name="function_already_exists">Funzione con lo stesso nome esiste già!</string> <string name="function_already_exists">Funzione con lo stesso nome esiste già!</string>
<string name="function_is_empty">Il corpo della funzione non può essere vuoto!</string> <string name="function_is_empty">Il corpo della funzione non può essere vuoto!</string>
<string name="function_param_not_empty">I parametri della funzione non possono essere vuoti!</string>
<string name="function_removal_confirmation_question">Vuoi veramente eliminare la funzione \'%s\'?</string> <string name="function_removal_confirmation_question">Vuoi veramente eliminare la funzione \'%s\'?</string>
<string name="empty_function_error"> Impassibile creare funzioni con argomento nullo!</string> <string name="empty_function_error"> Impassibile creare funzioni con argomento nullo!</string>
<string name="do_not_show_messages_in_session">Non mostrare questo messaggio fino alla prossima sessione</string> <string name="do_not_show_messages_in_session">Non mostrare questo messaggio fino alla prossima sessione</string>

View File

@ -158,7 +158,6 @@
<string name="function_name_is_not_valid">関数の名前が無効です:名前は文字で始める必要があり、文字、数字、アンダースコアを含めることができます。</string> <string name="function_name_is_not_valid">関数の名前が無効です:名前は文字で始める必要があり、文字、数字、アンダースコアを含めることができます。</string>
<string name="function_already_exists">同じ名前を持つ関数が既に存在します!</string> <string name="function_already_exists">同じ名前を持つ関数が既に存在します!</string>
<string name="function_is_empty">関数の中身は空にできません!</string> <string name="function_is_empty">関数の中身は空にできません!</string>
<string name="function_param_not_empty">関数のパラメーターは空にはできません!</string>
<string name="function_removal_confirmation_question">本当に関数\'%s\'を削除してもよろしいでしょうか?</string> <string name="function_removal_confirmation_question">本当に関数\'%s\'を削除してもよろしいでしょうか?</string>
<string name="empty_function_error">空の関数を作成することはできません!</string> <string name="empty_function_error">空の関数を作成することはできません!</string>
<string name="do_not_show_messages_in_session">次のセッションまでこのメッセージを表示しません</string> <string name="do_not_show_messages_in_session">次のセッションまでこのメッセージを表示しません</string>

View File

@ -149,7 +149,6 @@
<string name="function_name_is_not_valid">Ongeldige functienaam: naam moet starten met een letter en kan Letters, cijfers en \'_\' bevatten. </string> <string name="function_name_is_not_valid">Ongeldige functienaam: naam moet starten met een letter en kan Letters, cijfers en \'_\' bevatten. </string>
<string name="function_already_exists">Functienaam is al gebruikt!</string> <string name="function_already_exists">Functienaam is al gebruikt!</string>
<string name="function_is_empty">Functie mag niet leeg zijn!</string> <string name="function_is_empty">Functie mag niet leeg zijn!</string>
<string name="function_param_not_empty">Functieparameter mag niet leeg zijn!</string>
<string name="function_removal_confirmation_question">Wilt u de functie \'%s\' echt verwijderen?</string> <string name="function_removal_confirmation_question">Wilt u de functie \'%s\' echt verwijderen?</string>
<string name="empty_function_error">Niet mogelijk om een lege functie te maken!</string> <string name="empty_function_error">Niet mogelijk om een lege functie te maken!</string>
<string name="do_not_show_messages_in_session">Dit bericht niet meer weergeven tot de volgende sessie</string> <string name="do_not_show_messages_in_session">Dit bericht niet meer weergeven tot de volgende sessie</string>

View File

@ -153,7 +153,6 @@ Proszę, oceń Calculator++ \nna<a href="https://market.android.com/details?id=o
<string name="function_name_is_not_valid">Nazwa funkcji jest nieprawidłowa: nazwa musi zaczynać się od litery, może zawierać litery, cyfry i znak podkreślenia.</string> <string name="function_name_is_not_valid">Nazwa funkcji jest nieprawidłowa: nazwa musi zaczynać się od litery, może zawierać litery, cyfry i znak podkreślenia.</string>
<string name="function_already_exists">Funkcja o takiej samej nazwie już istnieje!</string> <string name="function_already_exists">Funkcja o takiej samej nazwie już istnieje!</string>
<string name="function_is_empty">Definicja funkcji nie może być pusta!</string> <string name="function_is_empty">Definicja funkcji nie może być pusta!</string>
<string name="function_param_not_empty">Funkcja powinna posiadać parametry!</string>
<string name="function_removal_confirmation_question">Czy na pewno chcesz usunąć funkcję \'%s\'?</string> <string name="function_removal_confirmation_question">Czy na pewno chcesz usunąć funkcję \'%s\'?</string>
<string name="empty_function_error">Nie można utworzyć pustej funkcji!</string> <string name="empty_function_error">Nie można utworzyć pustej funkcji!</string>
<string name="do_not_show_messages_in_session">Nie pokazuj tej wiadomości do czasu następnej sesji</string> <string name="do_not_show_messages_in_session">Nie pokazuj tej wiadomości do czasu następnej sesji</string>

View File

@ -149,7 +149,6 @@
<string name="function_name_is_not_valid">O nome da função não é válido: o nome deve começar com uma letra, pode conter letras, dígitos e sublinhado.</string> <string name="function_name_is_not_valid">O nome da função não é válido: o nome deve começar com uma letra, pode conter letras, dígitos e sublinhado.</string>
<string name="function_already_exists">Já existe uma função com o mesmo nome!</string> <string name="function_already_exists">Já existe uma função com o mesmo nome!</string>
<string name="function_is_empty">O corpo da função não pode ficar vazio!</string> <string name="function_is_empty">O corpo da função não pode ficar vazio!</string>
<string name="function_param_not_empty">O parâmetro da função não pode ficar vazio!</string>
<string name="function_removal_confirmation_question">Você quer realmente excluir a função \'%s\'?</string> <string name="function_removal_confirmation_question">Você quer realmente excluir a função \'%s\'?</string>
<string name="empty_function_error">Não é possível criar uma função vazia!</string> <string name="empty_function_error">Não é possível criar uma função vazia!</string>
<string name="do_not_show_messages_in_session">Não mostre esta mensagem até a próxima sessão</string> <string name="do_not_show_messages_in_session">Não mostre esta mensagem até a próxima sessão</string>

View File

@ -149,7 +149,6 @@
<string name="function_name_is_not_valid">Nome da função não é válido: o nome deve começar com uma letra e pode conter letras, dígitos e o caracter \"_\".</string> <string name="function_name_is_not_valid">Nome da função não é válido: o nome deve começar com uma letra e pode conter letras, dígitos e o caracter \"_\".</string>
<string name="function_already_exists">Já existe uma função com o mesmo nome !</string> <string name="function_already_exists">Já existe uma função com o mesmo nome !</string>
<string name="function_is_empty">Corpo da função não pode ser vazio!</string> <string name="function_is_empty">Corpo da função não pode ser vazio!</string>
<string name="function_param_not_empty">Parâmetro da função não deve ser vazio!</string>
<string name="function_removal_confirmation_question">Pretende apagar a função \'%s\'?</string> <string name="function_removal_confirmation_question">Pretende apagar a função \'%s\'?</string>
<string name="empty_function_error">Não é possível criar função vazia!</string> <string name="empty_function_error">Não é possível criar função vazia!</string>
<string name="do_not_show_messages_in_session">Não mostrar esta mensagem até à próxima sessão</string> <string name="do_not_show_messages_in_session">Não mostrar esta mensagem até à próxima sessão</string>

View File

@ -175,7 +175,6 @@
</string> </string>
<string name="function_already_exists">Функция с таким именем уже существует!</string> <string name="function_already_exists">Функция с таким именем уже существует!</string>
<string name="function_is_empty">Тело функции не должно быть пустым!</string> <string name="function_is_empty">Тело функции не должно быть пустым!</string>
<string name="function_param_not_empty">Имя параметра не должно быть пустым!</string>
<string name="function_removal_confirmation_question">Вы действительно хотите удалить функцию \'%s\'?</string> <string name="function_removal_confirmation_question">Вы действительно хотите удалить функцию \'%s\'?</string>
<string name="empty_function_error">Невозможно создать пустую функцию!</string> <string name="empty_function_error">Невозможно создать пустую функцию!</string>
<string name="do_not_show_messages_in_session">Не показывать это сообщение до следующего запуска программы</string> <string name="do_not_show_messages_in_session">Не показывать это сообщение до следующего запуска программы</string>

View File

@ -152,7 +152,6 @@ Google Play</a>,\n yorum yazın yada \n uygulamayı tartışın \non
<string name="function_name_is_not_valid">Fonksiyon adı geçerli değil: isim bir harf ile başlamalıdır, harf, rakam ve alt çizli içerebilir.</string> <string name="function_name_is_not_valid">Fonksiyon adı geçerli değil: isim bir harf ile başlamalıdır, harf, rakam ve alt çizli içerebilir.</string>
<string name="function_already_exists">Aynı isimi bir fonksiyon zaten var!</string> <string name="function_already_exists">Aynı isimi bir fonksiyon zaten var!</string>
<string name="function_is_empty">Fonksiyon gövdesi boş bırakılamaz!</string> <string name="function_is_empty">Fonksiyon gövdesi boş bırakılamaz!</string>
<string name="function_param_not_empty">Fonksiyon parametresi boş olamaz!</string>
<string name="function_removal_confirmation_question">%s fonksiyonunu gerçekten silme istiyor musunuz?</string> <string name="function_removal_confirmation_question">%s fonksiyonunu gerçekten silme istiyor musunuz?</string>
<string name="empty_function_error">Boş fonksiyon oluşturulamaz!</string> <string name="empty_function_error">Boş fonksiyon oluşturulamaz!</string>
<string name="do_not_show_messages_in_session">Yeni bir oturuma kadar bu mesajı gösterme</string> <string name="do_not_show_messages_in_session">Yeni bir oturuma kadar bu mesajı gösterme</string>

View File

@ -165,7 +165,6 @@
<string name="function_name_is_not_valid">Неприпустиме ім\'я функції: ім\'я має починатися з літери, може містити літери, цифри та знак підкреслення (_).</string> <string name="function_name_is_not_valid">Неприпустиме ім\'я функції: ім\'я має починатися з літери, може містити літери, цифри та знак підкреслення (_).</string>
<string name="function_already_exists">Функція з таким ім\'ям вже існує!</string> <string name="function_already_exists">Функція з таким ім\'ям вже існує!</string>
<string name="function_is_empty">Тіло функції не може бути відсутнім!</string> <string name="function_is_empty">Тіло функції не може бути відсутнім!</string>
<string name="function_param_not_empty">Параметр функції не може бути відсутнім!</string>
<string name="function_removal_confirmation_question">Ви дійсно хочете видалити функцію \'%s\'?</string> <string name="function_removal_confirmation_question">Ви дійсно хочете видалити функцію \'%s\'?</string>
<string name="empty_function_error">Не вдалося створити порожню функцію!</string> <string name="empty_function_error">Не вдалося створити порожню функцію!</string>
<string name="do_not_show_messages_in_session">Не показувати це повідомлення до наступної сесії</string> <string name="do_not_show_messages_in_session">Не показувати це повідомлення до наступної сесії</string>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CppText.Editor.Widget" parent="CppText.Editor.BaseWidget">
<item name="android:textIsSelectable">true</item>
</style>
</resources>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CppKeyboardButton" parent="BaseCppKeyboardButton">
<item name="android:textAllCaps">false</item>
</style>
</resources>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CppKeyboardButton.Material.Digit" parent="CppKeyboardButton">
<item name="android:background">@drawable/material_button_dark</item>
<item name="android:stateListAnimator">@null</item>
</style>
</resources>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CppKeyboardButton.Material.Light.Digit" parent="CppKeyboardButton">
<item name="android:background">@drawable/material_button_light</item>
<item name="android:stateListAnimator">@null</item>
</style>
</resources>

View File

@ -153,7 +153,6 @@ Google Play</a>,\n để lại ý kiến hoặc \n thảo luận về ứng dụ
<string name="function_name_is_not_valid">Tên của hàm không hợp lệ: tên phải bắt đầu với một chữ cái, có thể chứa chữ cái, chữ số và gạch dưới.</string> <string name="function_name_is_not_valid">Tên của hàm không hợp lệ: tên phải bắt đầu với một chữ cái, có thể chứa chữ cái, chữ số và gạch dưới.</string>
<string name="function_already_exists">Hàm cùng tên đã tồn tại!</string> <string name="function_already_exists">Hàm cùng tên đã tồn tại!</string>
<string name="function_is_empty">Hàm không được rỗng!</string> <string name="function_is_empty">Hàm không được rỗng!</string>
<string name="function_param_not_empty">Tham số hàm không được rỗng!</string>
<string name="function_removal_confirmation_question">Bạn có thực sự muốn xóa \'%s\' hàm?</string> <string name="function_removal_confirmation_question">Bạn có thực sự muốn xóa \'%s\' hàm?</string>
<string name="empty_function_error">Không thể tạo ra hàm rỗng!</string> <string name="empty_function_error">Không thể tạo ra hàm rỗng!</string>
<string name="do_not_show_messages_in_session">Không hiện thông báo này cho đến khi phiên tiếp theo</string> <string name="do_not_show_messages_in_session">Không hiện thông báo này cho đến khi phiên tiếp theo</string>

View File

@ -152,7 +152,6 @@
<string name="function_name_is_not_valid">函数名称无效:名称必须以字母开头,可以包含字母、数字和下划线。</string> <string name="function_name_is_not_valid">函数名称无效:名称必须以字母开头,可以包含字母、数字和下划线。</string>
<string name="function_already_exists">已经存在相同名称的函数!</string> <string name="function_already_exists">已经存在相同名称的函数!</string>
<string name="function_is_empty">函数主体不能为空!</string> <string name="function_is_empty">函数主体不能为空!</string>
<string name="function_param_not_empty">函数参数不能为空!</string>
<string name="function_removal_confirmation_question">确认要删除 \'%s\' 函数吗?</string> <string name="function_removal_confirmation_question">确认要删除 \'%s\' 函数吗?</string>
<string name="empty_function_error">无法创建空函数 </string> <string name="empty_function_error">无法创建空函数 </string>
<string name="do_not_show_messages_in_session">不再显示此消息直到下一个会话</string> <string name="do_not_show_messages_in_session">不再显示此消息直到下一个会话</string>

View File

@ -153,7 +153,6 @@ Google Play</a>\n留下評論或是\n討論這個應用程式\n於
<string name="function_name_is_not_valid">函數名稱無效:名稱必須以字母開頭,可以包含字母、數字和底線。</string> <string name="function_name_is_not_valid">函數名稱無效:名稱必須以字母開頭,可以包含字母、數字和底線。</string>
<string name="function_already_exists">相同名稱的函數已經存在!</string> <string name="function_already_exists">相同名稱的函數已經存在!</string>
<string name="function_is_empty">函數主體不能空白!</string> <string name="function_is_empty">函數主體不能空白!</string>
<string name="function_param_not_empty">函數參數不應該是空白!</string>
<string name="function_removal_confirmation_question">你真的要刪除函數 \'%s\' 嗎?</string> <string name="function_removal_confirmation_question">你真的要刪除函數 \'%s\' 嗎?</string>
<string name="empty_function_error">無法新增空白函數!</string> <string name="empty_function_error">無法新增空白函數!</string>
<string name="do_not_show_messages_in_session">直到下一次不要顯示這訊息</string> <string name="do_not_show_messages_in_session">直到下一次不要顯示這訊息</string>

View File

@ -75,19 +75,6 @@
<item>simple</item> <item>simple</item>
</string-array> </string-array>
<string-array name="cpp_haptic_feedback_names">
<item>@string/p_calc_haptic_feedback_strength_disabled</item>
<item>@string/p_calc_haptic_feedback_strength_short</item>
<item>@string/p_calc_haptic_feedback_strength_middle</item>
<item>@string/p_calc_haptic_feedback_strength_long</item>
</string-array>
<string-array name="cpp_haptic_feedback_values" translatable="false">
<item>0</item>
<item>30</item>
<item>60</item>
<item>100</item>
</string-array>
<string-array name="p_angle_units_names"> <string-array name="p_angle_units_names">
<item>@string/p_deg</item> <item>@string/p_deg</item>
<item>@string/p_rad</item> <item>@string/p_rad</item>
@ -114,39 +101,8 @@
<item>bin</item> <item>bin</item>
</string-array> </string-array>
<!--
monochrome,
dashed,
dotted,
dash_dotted;
-->
<string-array name="cpp_plot_line_style_names">
<item>@string/cpp_solid_line_style</item>
<item>@string/cpp_dashed_line_style</item>
<item>@string/cpp_dotted_line_style</item>
<item>@string/cpp_dash_dotted_line_style</item>
</string-array>
<string-array name="cpp_plot_line_color_type_names">
<item>@string/cpp_monochrome_line_color_type</item>
<item>@string/cpp_color_map_line_color_type</item>
</string-array>
<string-array name="cpp_plot_line_color_names">
<item>@string/p_white_line_color</item>
<item>@string/p_blue_line_color</item>
<item>@string/p_red_line_color</item>
<item>@string/p_green_line_color</item>
<item>@string/p_grey_line_color</item>
</string-array>
<string-array name="cpp_modes"> <string-array name="cpp_modes">
<item>@string/cpp_wizard_mode_simple</item> <item>@string/cpp_wizard_mode_simple</item>
<item>@string/cpp_wizard_mode_engineer</item> <item>@string/cpp_wizard_mode_engineer</item>
</string-array> </string-array>
<string-array name="cpp_layouts">
<item>@string/cpp_wizard_layout_big_buttons</item>
<item>@string/cpp_wizard_layout_optimized</item>
</string-array>
</resources> </resources>

View File

@ -48,8 +48,6 @@
<color name="cpp_metro_purple">#651456</color> <color name="cpp_metro_purple">#651456</color>
<color name="cpp_widget_cursor">#ff707070</color> <color name="cpp_widget_cursor">#ff707070</color>
<color name="cpp_widget_ripple">#40ffffff</color> <color name="cpp_widget_ripple">#40ffffff</color>
<color name="cpp_status_bar">#ff131313</color>
<color name="cpp_status_bar_light">#262626</color>
<color name="cpp_wizard_disabled_text">#66ffffff</color> <color name="cpp_wizard_disabled_text">#66ffffff</color>
@ -61,8 +59,6 @@
<color name="cpp_pane_bg_light">#ffeae5e3</color> <color name="cpp_pane_bg_light">#ffeae5e3</color>
<color name="grey_900">#212121</color> <color name="grey_900">#212121</color>
<color name="grey_950">#101010</color> <color name="grey_950">#101010</color>
<color name="grey_600">#757575</color>
<color name="grey_800">#424242</color> <color name="grey_800">#424242</color>
<color name="blue_grey_800">#37474F</color>
</resources> </resources>

View File

@ -10,17 +10,12 @@
<dimen name="cpp_button_padding">1px</dimen> <dimen name="cpp_button_padding">1px</dimen>
<dimen name="cpp_button_corner">1dp</dimen> <dimen name="cpp_button_corner">1dp</dimen>
<dimen name="cpp_fragment_text_size">15sp</dimen>
<dimen name="cpp_fragment_title_text_size">20sp</dimen>
<dimen name="cpp_keyboard_button_text_size">30dp</dimen> <dimen name="cpp_keyboard_button_text_size">30dp</dimen>
<dimen name="cpp_keyboard_simple_image_button_padding">12dp</dimen> <dimen name="cpp_keyboard_simple_image_button_padding">12dp</dimen>
<dimen name="cpp_display_text_size">25sp</dimen> <dimen name="cpp_display_text_size">25sp</dimen>
<dimen name="cpp_min_editor_text_size">24sp</dimen> <dimen name="cpp_min_editor_text_size">24sp</dimen>
<dimen name="cpp_pane_margin">2dp</dimen> <dimen name="cpp_pane_margin">2dp</dimen>
<dimen name="cpp_li_text_size">16sp</dimen>
<dimen name="cpp_li_secondary_text_size">14sp</dimen>
<dimen name="cpp_onscreen_display_text_size">20sp</dimen> <dimen name="cpp_onscreen_display_text_size">20sp</dimen>
<dimen name="cpp_onscreen_header_button_text_size">10dp</dimen> <dimen name="cpp_onscreen_header_button_text_size">10dp</dimen>

View File

@ -26,8 +26,8 @@
<item name="android:textSize">@dimen/cpp_text_size</item> <item name="android:textSize">@dimen/cpp_text_size</item>
</style> </style>
<style name="CppKeyboardButton"> <style name="CppKeyboardButton" parent="BaseCppKeyboardButton"/>
<item name="android:textAllCaps">false</item> <style name="BaseCppKeyboardButton">
<item name="android:layout_width">0dp</item> <item name="android:layout_width">0dp</item>
<item name="android:layout_height">match_parent</item> <item name="android:layout_height">match_parent</item>
<item name="android:layout_weight">1</item> <item name="android:layout_weight">1</item>
@ -117,12 +117,12 @@
<item name="android:background">@color/cpp_main_bg_light</item> <item name="android:background">@color/cpp_main_bg_light</item>
</style> </style>
<style name="CppText.Editor.Widget" parent="CppText.Editor"> <style name="CppText.Editor.Widget" parent="CppText.Editor.BaseWidget"/>
<style name="CppText.Editor.BaseWidget" parent="CppText.Editor">
<item name="android:textSize">@dimen/cpp_widget_editor_text_size</item> <item name="android:textSize">@dimen/cpp_widget_editor_text_size</item>
<item name="android:textColor">@color/cpp_text</item> <item name="android:textColor">@color/cpp_text</item>
<item name="android:scrollbars">vertical</item> <item name="android:scrollbars">vertical</item>
<item name="android:singleLine">false</item> <item name="android:singleLine">false</item>
<item name="android:textIsSelectable">true</item>
</style> </style>
<style name="CppText.Editor.Widget.Light" parent="CppText.Editor.Widget"> <style name="CppText.Editor.Widget.Light" parent="CppText.Editor.Widget">
@ -335,12 +335,6 @@
<item name="android:ellipsize">end</item> <item name="android:ellipsize">end</item>
</style> </style>
<style name="CppListViewItemTextSecondary">
<item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
<item name="android:textColor">?android:attr/textColorSecondary</item>
<item name="android:textSize">@dimen/cpp_li_secondary_text_size</item>
</style>
<style name="CppListViewItemTextPrimary.History" parent="CppListItemText.Primary"> <style name="CppListViewItemTextPrimary.History" parent="CppListItemText.Primary">
<item name="android:maxLines">2</item> <item name="android:maxLines">2</item>
<item name="android:ellipsize">end</item> <item name="android:ellipsize">end</item>

View File

@ -24,7 +24,6 @@
<style name="CppKeyboardButton.Material.Digit" parent="CppKeyboardButton"> <style name="CppKeyboardButton.Material.Digit" parent="CppKeyboardButton">
<item name="android:background">@drawable/material_button_dark</item> <item name="android:background">@drawable/material_button_dark</item>
<item name="android:stateListAnimator">@null</item>
</style> </style>
<style name="CppKeyboardButton.Material.Control" parent="CppKeyboardButton.Material.Digit" /> <style name="CppKeyboardButton.Material.Control" parent="CppKeyboardButton.Material.Digit" />

View File

@ -24,7 +24,6 @@
<style name="CppKeyboardButton.Material.Light.Digit" parent="CppKeyboardButton"> <style name="CppKeyboardButton.Material.Light.Digit" parent="CppKeyboardButton">
<item name="android:background">@drawable/material_button_light</item> <item name="android:background">@drawable/material_button_light</item>
<item name="android:stateListAnimator">@null</item>
</style> </style>
<style name="CppKeyboardButton.Material.Light.Operation" parent="CppKeyboardButton.Material.Digit"> <style name="CppKeyboardButton.Material.Light.Operation" parent="CppKeyboardButton.Material.Digit">