diff --git a/android-app/src/main/java/org/solovyev/android/calculator/CalculatorFragmentType.java b/android-app/src/main/java/org/solovyev/android/calculator/CalculatorFragmentType.java index c7865945..ae3ed931 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/CalculatorFragmentType.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/CalculatorFragmentType.java @@ -23,13 +23,10 @@ package org.solovyev.android.calculator; import android.support.v4.app.Fragment; - -import javax.annotation.Nonnull; - import org.solovyev.android.calculator.about.CalculatorAboutFragment; import org.solovyev.android.calculator.about.CalculatorReleaseNotesFragment; -import org.solovyev.android.calculator.history.CalculatorHistoryFragment; -import org.solovyev.android.calculator.history.CalculatorSavedHistoryFragment; +import org.solovyev.android.calculator.history.HistoryFragment; +import org.solovyev.android.calculator.history.SavedHistoryFragment; import org.solovyev.android.calculator.math.edit.CalculatorFunctionsFragment; import org.solovyev.android.calculator.math.edit.CalculatorOperatorsFragment; import org.solovyev.android.calculator.math.edit.CalculatorVarsFragment; @@ -39,6 +36,8 @@ import org.solovyev.android.calculator.plot.CalculatorPlotFunctionSettingsActivi import org.solovyev.android.calculator.plot.CalculatorPlotFunctionsActivity; import org.solovyev.android.calculator.plot.CalculatorPlotRangeActivity; +import javax.annotation.Nonnull; + /** * User: Solovyev_S * Date: 03.10.12 @@ -49,8 +48,8 @@ public enum CalculatorFragmentType { editor(CalculatorEditorFragment.class, R.layout.cpp_app_editor, R.string.editor), //display(CalculatorHistoryFragment.class, "history", R.layout.history_fragment, R.string.c_history), //keyboard(CalculatorHistoryFragment.class, "history", R.layout.history_fragment, R.string.c_history), - history(CalculatorHistoryFragment.class, R.layout.history_fragment, R.string.c_history), - saved_history(CalculatorSavedHistoryFragment.class, R.layout.history_fragment, R.string.c_saved_history), + history(HistoryFragment.class, R.layout.history_fragment, R.string.c_history), + saved_history(SavedHistoryFragment.class, R.layout.history_fragment, R.string.c_saved_history), variables(CalculatorVarsFragment.class, R.layout.vars_fragment, R.string.c_vars), functions(CalculatorFunctionsFragment.class, R.layout.math_entities_fragment, R.string.c_functions), operators(CalculatorOperatorsFragment.class, R.layout.math_entities_fragment, R.string.c_operators), diff --git a/android-app/src/main/java/org/solovyev/android/calculator/history/AbstractCalculatorHistoryFragment.java b/android-app/src/main/java/org/solovyev/android/calculator/history/BaseHistoryFragment.java similarity index 97% rename from android-app/src/main/java/org/solovyev/android/calculator/history/AbstractCalculatorHistoryFragment.java rename to android-app/src/main/java/org/solovyev/android/calculator/history/BaseHistoryFragment.java index 3815f7e0..2a106fe1 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/history/AbstractCalculatorHistoryFragment.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/history/BaseHistoryFragment.java @@ -62,12 +62,7 @@ import java.util.List; import static org.solovyev.android.calculator.CalculatorEventType.clear_history_requested; -/** - * User: serso - * Date: 10/15/11 - * Time: 1:13 PM - */ -public abstract class AbstractCalculatorHistoryFragment extends SherlockListFragment implements CalculatorEventListener { +public abstract class BaseHistoryFragment extends SherlockListFragment implements CalculatorEventListener { /* ********************************************************************** @@ -115,7 +110,7 @@ public abstract class AbstractCalculatorHistoryFragment extends SherlockListFrag @Nonnull private final SharedPreferences.OnSharedPreferenceChangeListener preferencesListener = new HistoryOnPreferenceChangeListener(); - protected AbstractCalculatorHistoryFragment(@Nonnull CalculatorFragmentType fragmentType) { + protected BaseHistoryFragment(@Nonnull CalculatorFragmentType fragmentType) { fragmentHelper = CalculatorApplication.getInstance().createFragmentHelper(fragmentType.getDefaultLayoutId(), fragmentType.getDefaultTitleResId(), false); } @@ -411,7 +406,7 @@ public abstract class AbstractCalculatorHistoryFragment extends SherlockListFrag if (menuItem instanceof IdentifiableMenuItem) { switch (((IdentifiableMenuItem) menuItem).getItemId()) { case R.id.menu_history_fullscreen: - result = !fragmentHelper.isPane(AbstractCalculatorHistoryFragment.this); + result = !fragmentHelper.isPane(BaseHistoryFragment.this); break; } } diff --git a/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryArrayAdapter.java b/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryArrayAdapter.java index fe4fdf9a..bca6bb53 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryArrayAdapter.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryArrayAdapter.java @@ -23,26 +23,21 @@ package org.solovyev.android.calculator.history; import android.content.Context; +import android.text.format.DateUtils; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; - import org.solovyev.android.calculator.R; import org.solovyev.common.text.Strings; import javax.annotation.Nonnull; - -import java.text.SimpleDateFormat; -import java.util.Date; import java.util.List; -import static android.view.View.GONE; -import static android.view.View.INVISIBLE; -import static android.view.View.VISIBLE; +import static android.view.View.*; import static org.solovyev.android.calculator.CalculatorFragmentType.saved_history; -import static org.solovyev.android.calculator.history.AbstractCalculatorHistoryFragment.isAlreadySaved; +import static org.solovyev.android.calculator.history.BaseHistoryFragment.isAlreadySaved; /** * User: serso @@ -51,6 +46,7 @@ import static org.solovyev.android.calculator.history.AbstractCalculatorHistoryF */ public class HistoryArrayAdapter extends ArrayAdapter { + private static final int DATETIME_FORMAT = DateUtils.FORMAT_SHOW_TIME | DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_ABBREV_MONTH | DateUtils.FORMAT_ABBREV_TIME; private boolean showDatetime; HistoryArrayAdapter(Context context, int resource, int textViewResourceId, @Nonnull List historyList, boolean showDatetime) { @@ -67,25 +63,24 @@ public class HistoryArrayAdapter extends ArrayAdapter { final TextView time = (TextView) result.findViewById(R.id.history_time); if (showDatetime) { time.setVisibility(VISIBLE); - time.setText(new SimpleDateFormat().format(new Date(state.getTime()))); + time.setText(DateUtils.formatDateTime(getContext(), state.getTime(), DATETIME_FORMAT)); } else { time.setVisibility(GONE); time.setText(null); } final TextView editor = (TextView) result.findViewById(R.id.history_item); - editor.setText(AbstractCalculatorHistoryFragment.getHistoryText(state)); + editor.setText(BaseHistoryFragment.getHistoryText(state)); - final View commentLayout = result.findViewById(R.id.history_item_comment_layout); final TextView commentView = (TextView) result.findViewById(R.id.history_item_comment); - if (commentLayout != null && commentView != null) { + if (commentView != null) { final String comment = state.getComment(); if (!Strings.isEmpty(comment)) { commentView.setText(comment); - commentLayout.setVisibility(VISIBLE); + commentView.setVisibility(VISIBLE); } else { commentView.setText(null); - commentLayout.setVisibility(GONE); + commentView.setVisibility(GONE); } } @@ -115,7 +110,7 @@ public class HistoryArrayAdapter extends ArrayAdapter { @Override public void notifyDataSetChanged() { this.setNotifyOnChange(false); - this.sort(AbstractCalculatorHistoryFragment.COMPARATOR); + this.sort(BaseHistoryFragment.COMPARATOR); this.setNotifyOnChange(true); super.notifyDataSetChanged(); } diff --git a/android-app/src/main/java/org/solovyev/android/calculator/history/CalculatorHistoryFragment.java b/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryFragment.java similarity index 88% rename from android-app/src/main/java/org/solovyev/android/calculator/history/CalculatorHistoryFragment.java rename to android-app/src/main/java/org/solovyev/android/calculator/history/HistoryFragment.java index f0697730..485ebd09 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/history/CalculatorHistoryFragment.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryFragment.java @@ -1,68 +1,63 @@ -/* - * 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.calculator.history; - -import android.content.SharedPreferences; -import android.preference.PreferenceManager; - -import org.solovyev.android.calculator.CalculatorFragmentType; -import org.solovyev.android.calculator.Preferences; -import org.solovyev.android.calculator.Locator; -import org.solovyev.android.calculator.R; - -import javax.annotation.Nonnull; - -import java.util.ArrayList; -import java.util.List; - -/** - * User: serso - * Date: 12/18/11 - * Time: 7:39 PM - */ -public class CalculatorHistoryFragment extends AbstractCalculatorHistoryFragment { - - public CalculatorHistoryFragment() { - super(CalculatorFragmentType.history); - } - - @Override - protected int getItemLayoutId() { - return R.layout.history_item; - } - - @Nonnull - @Override - protected List getHistoryItems() { - final SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getActivity()); - final boolean showIntermediateCalculations = Preferences.History.showIntermediateCalculations.getPreference(preferences); - final List historyStates = Locator.getInstance().getHistory().getStates(showIntermediateCalculations); - return new ArrayList(historyStates); - } - - @Override - protected void clearHistory() { - Locator.getInstance().getHistory().clear(); - getAdapter().clear(); - } -} +/* + * 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.calculator.history; + +import android.content.SharedPreferences; +import android.preference.PreferenceManager; + +import org.solovyev.android.calculator.CalculatorFragmentType; +import org.solovyev.android.calculator.Preferences; +import org.solovyev.android.calculator.Locator; +import org.solovyev.android.calculator.R; + +import javax.annotation.Nonnull; + +import java.util.ArrayList; +import java.util.List; + +public class HistoryFragment extends BaseHistoryFragment { + + public HistoryFragment() { + super(CalculatorFragmentType.history); + } + + @Override + protected int getItemLayoutId() { + return R.layout.history_item; + } + + @Nonnull + @Override + protected List getHistoryItems() { + final SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getActivity()); + final boolean showIntermediateCalculations = Preferences.History.showIntermediateCalculations.getPreference(preferences); + final List historyStates = Locator.getInstance().getHistory().getStates(showIntermediateCalculations); + return new ArrayList(historyStates); + } + + @Override + protected void clearHistory() { + Locator.getInstance().getHistory().clear(); + getAdapter().clear(); + } +} diff --git a/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryItemMenuItem.java b/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryItemMenuItem.java index 4cf39e0a..b3817255 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryItemMenuItem.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/history/HistoryItemMenuItem.java @@ -50,7 +50,7 @@ public enum HistoryItemMenuItem implements LabeledMenuItem use(R.string.c_use) { @Override public void onClick(@Nonnull HistoryItemMenuData data, @Nonnull Context context) { - AbstractCalculatorHistoryFragment.useHistoryItem(data.getHistoryState()); + BaseHistoryFragment.useHistoryItem(data.getHistoryState()); } }, @@ -123,7 +123,7 @@ public enum HistoryItemMenuItem implements LabeledMenuItem final LayoutInflater layoutInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); final View editView = layoutInflater.inflate(R.layout.history_edit, null); final TextView historyExpression = (TextView) editView.findViewById(R.id.history_edit_expression); - historyExpression.setText(AbstractCalculatorHistoryFragment.getHistoryText(historyState)); + historyExpression.setText(BaseHistoryFragment.getHistoryText(historyState)); final EditText comment = (EditText) editView.findViewById(R.id.history_edit_comment); comment.setText(historyState.getComment()); diff --git a/android-app/src/main/java/org/solovyev/android/calculator/history/CalculatorSavedHistoryFragment.java b/android-app/src/main/java/org/solovyev/android/calculator/history/SavedHistoryFragment.java similarity index 85% rename from android-app/src/main/java/org/solovyev/android/calculator/history/CalculatorSavedHistoryFragment.java rename to android-app/src/main/java/org/solovyev/android/calculator/history/SavedHistoryFragment.java index 5aa7abae..852cfb1c 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/history/CalculatorSavedHistoryFragment.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/history/SavedHistoryFragment.java @@ -1,61 +1,55 @@ -/* - * 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.calculator.history; - -import javax.annotation.Nonnull; - -import org.solovyev.android.calculator.CalculatorFragmentType; -import org.solovyev.android.calculator.Locator; -import org.solovyev.android.calculator.R; - -import java.util.ArrayList; -import java.util.List; - -/** - * User: serso - * Date: 12/18/11 - * Time: 7:40 PM - */ -public class CalculatorSavedHistoryFragment extends AbstractCalculatorHistoryFragment { - - public CalculatorSavedHistoryFragment() { - super(CalculatorFragmentType.saved_history); - } - - @Override - protected int getItemLayoutId() { - return R.layout.saved_history_item; - } - - @Nonnull - @Override - protected List getHistoryItems() { - return new ArrayList(Locator.getInstance().getHistory().getSavedHistory()); - } - - @Override - protected void clearHistory() { - Locator.getInstance().getHistory().clearSavedHistory(); - getAdapter().clear(); - } -} +/* + * 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.calculator.history; + +import org.solovyev.android.calculator.CalculatorFragmentType; +import org.solovyev.android.calculator.Locator; +import org.solovyev.android.calculator.R; + +import javax.annotation.Nonnull; +import java.util.ArrayList; +import java.util.List; + +public class SavedHistoryFragment extends BaseHistoryFragment { + + public SavedHistoryFragment() { + super(CalculatorFragmentType.saved_history); + } + + @Override + protected int getItemLayoutId() { + return R.layout.saved_history_item; + } + + @Nonnull + @Override + protected List getHistoryItems() { + return new ArrayList(Locator.getInstance().getHistory().getSavedHistory()); + } + + @Override + protected void clearHistory() { + Locator.getInstance().getHistory().clearSavedHistory(); + getAdapter().clear(); + } +} diff --git a/android-app/src/main/res/drawable-hdpi/ic_access_time_grey600_48dp.png b/android-app/src/main/res/drawable-hdpi/ic_access_time_grey600_48dp.png new file mode 100644 index 00000000..ac849817 Binary files /dev/null and b/android-app/src/main/res/drawable-hdpi/ic_access_time_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-hdpi/ic_delete_grey600_48dp.png b/android-app/src/main/res/drawable-hdpi/ic_delete_grey600_48dp.png new file mode 100644 index 00000000..4886ab1e Binary files /dev/null and b/android-app/src/main/res/drawable-hdpi/ic_delete_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-hdpi/ic_save_grey600_48dp.png b/android-app/src/main/res/drawable-hdpi/ic_save_grey600_48dp.png new file mode 100644 index 00000000..6ecab92a Binary files /dev/null and b/android-app/src/main/res/drawable-hdpi/ic_save_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-mdpi/ic_access_time_grey600_48dp.png b/android-app/src/main/res/drawable-mdpi/ic_access_time_grey600_48dp.png new file mode 100644 index 00000000..df545efa Binary files /dev/null and b/android-app/src/main/res/drawable-mdpi/ic_access_time_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-mdpi/ic_delete_grey600_48dp.png b/android-app/src/main/res/drawable-mdpi/ic_delete_grey600_48dp.png new file mode 100644 index 00000000..c6bb43e8 Binary files /dev/null and b/android-app/src/main/res/drawable-mdpi/ic_delete_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-mdpi/ic_save_grey600_48dp.png b/android-app/src/main/res/drawable-mdpi/ic_save_grey600_48dp.png new file mode 100644 index 00000000..fad94a7f Binary files /dev/null and b/android-app/src/main/res/drawable-mdpi/ic_save_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-xhdpi/ic_access_time_grey600_48dp.png b/android-app/src/main/res/drawable-xhdpi/ic_access_time_grey600_48dp.png new file mode 100644 index 00000000..b8c7311f Binary files /dev/null and b/android-app/src/main/res/drawable-xhdpi/ic_access_time_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-xhdpi/ic_delete_grey600_48dp.png b/android-app/src/main/res/drawable-xhdpi/ic_delete_grey600_48dp.png new file mode 100644 index 00000000..e4e21812 Binary files /dev/null and b/android-app/src/main/res/drawable-xhdpi/ic_delete_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-xhdpi/ic_save_grey600_48dp.png b/android-app/src/main/res/drawable-xhdpi/ic_save_grey600_48dp.png new file mode 100644 index 00000000..6c8f219e Binary files /dev/null and b/android-app/src/main/res/drawable-xhdpi/ic_save_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-xxhdpi/ic_access_time_grey600_48dp.png b/android-app/src/main/res/drawable-xxhdpi/ic_access_time_grey600_48dp.png new file mode 100644 index 00000000..3715a0ac Binary files /dev/null and b/android-app/src/main/res/drawable-xxhdpi/ic_access_time_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-xxhdpi/ic_delete_grey600_48dp.png b/android-app/src/main/res/drawable-xxhdpi/ic_delete_grey600_48dp.png new file mode 100644 index 00000000..9478d495 Binary files /dev/null and b/android-app/src/main/res/drawable-xxhdpi/ic_delete_grey600_48dp.png differ diff --git a/android-app/src/main/res/drawable-xxhdpi/ic_save_grey600_48dp.png b/android-app/src/main/res/drawable-xxhdpi/ic_save_grey600_48dp.png new file mode 100644 index 00000000..d93a55ff Binary files /dev/null and b/android-app/src/main/res/drawable-xxhdpi/ic_save_grey600_48dp.png differ diff --git a/android-app/src/main/res/layout/history_item.xml b/android-app/src/main/res/layout/history_item.xml index 62f9075a..0beb255c 100644 --- a/android-app/src/main/res/layout/history_item.xml +++ b/android-app/src/main/res/layout/history_item.xml @@ -33,25 +33,25 @@ a:layout_weight="1" a:layout_height="wrap_content"> - - + + diff --git a/android-app/src/main/res/layout/saved_history_item.xml b/android-app/src/main/res/layout/saved_history_item.xml index 8ec51887..aeace68d 100644 --- a/android-app/src/main/res/layout/saved_history_item.xml +++ b/android-app/src/main/res/layout/saved_history_item.xml @@ -23,39 +23,24 @@ --> + a:orientation="vertical" + style="?cpp_fragment_list_view_item_style"> + a:id="@+id/history_item" + a:layout_width="fill_parent" + a:layout_height="fill_parent" + style="@style/history_item" /> - - - - - - - + a:id="@+id/history_item_comment" + a:layout_width="fill_parent" + a:layout_height="fill_parent" + style="@style/history_time" /> + \ No newline at end of file diff --git a/android-app/src/main/res/menu/history_menu.xml b/android-app/src/main/res/menu/history_menu.xml index b9ce5cbc..f22bb5a6 100644 --- a/android-app/src/main/res/menu/history_menu.xml +++ b/android-app/src/main/res/menu/history_menu.xml @@ -32,13 +32,13 @@ diff --git a/android-app/src/main/res/values-large/dimens.xml b/android-app/src/main/res/values-large/dimens.xml index 20c363c0..ac425f09 100644 --- a/android-app/src/main/res/values-large/dimens.xml +++ b/android-app/src/main/res/values-large/dimens.xml @@ -23,7 +23,4 @@ 17sp 25sp - - 20sp - 17sp \ No newline at end of file diff --git a/android-app/src/main/res/values-normal/dimens.xml b/android-app/src/main/res/values-normal/dimens.xml index 33b3de28..202ba854 100644 --- a/android-app/src/main/res/values-normal/dimens.xml +++ b/android-app/src/main/res/values-normal/dimens.xml @@ -24,9 +24,6 @@ 15sp 20sp - 20sp - 15sp - 30sp 30sp diff --git a/android-app/src/main/res/values-small/dimens.xml b/android-app/src/main/res/values-small/dimens.xml index 87a3be2d..1dae4e27 100644 --- a/android-app/src/main/res/values-small/dimens.xml +++ b/android-app/src/main/res/values-small/dimens.xml @@ -24,9 +24,6 @@ 15sp 20sp - 16sp - 12sp - 20sp 20sp diff --git a/android-app/src/main/res/values-xlarge/dimens.xml b/android-app/src/main/res/values-xlarge/dimens.xml index 7ce8aa70..ed73ceea 100644 --- a/android-app/src/main/res/values-xlarge/dimens.xml +++ b/android-app/src/main/res/values-xlarge/dimens.xml @@ -23,7 +23,4 @@ 30sp 40sp - - 40sp - 30sp \ No newline at end of file diff --git a/android-app/src/main/res/values/colors.xml b/android-app/src/main/res/values/colors.xml index 1917354d..59a04e2c 100644 --- a/android-app/src/main/res/values/colors.xml +++ b/android-app/src/main/res/values/colors.xml @@ -37,4 +37,6 @@ #651456 #393939 #ff707070 + #ddffffff + #89ffffff \ No newline at end of file diff --git a/android-app/src/main/res/values/dimens.xml b/android-app/src/main/res/values/dimens.xml index 9390fec6..0ee997ed 100644 --- a/android-app/src/main/res/values/dimens.xml +++ b/android-app/src/main/res/values/dimens.xml @@ -23,9 +23,9 @@ 25sp 25sp 5dp - 5dp - 20sp - 15sp + 0dp + 16sp + 14sp 20sp 10dp diff --git a/android-app/src/main/res/values/styles_history.xml b/android-app/src/main/res/values/styles_history.xml index 7ef2b9db..c13fd9e0 100644 --- a/android-app/src/main/res/values/styles_history.xml +++ b/android-app/src/main/res/values/styles_history.xml @@ -22,9 +22,9 @@ -