diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-11-11 09:40:09 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-11-11 09:40:09 +0000 |
commit | 441458b8b2ddae573bc5b473b46765c33e6feb56 (patch) | |
tree | a3898e089223d04385485e0dd86dbb7d6ba1352d /app/src | |
parent | bbfcce2e90d6d85342dfb9ec4f8d537d77f00b7e (diff) | |
download | infinity-for-reddit-441458b8b2ddae573bc5b473b46765c33e6feb56.tar infinity-for-reddit-441458b8b2ddae573bc5b473b46765c33e6feb56.tar.gz infinity-for-reddit-441458b8b2ddae573bc5b473b46765c33e6feb56.tar.bz2 infinity-for-reddit-441458b8b2ddae573bc5b473b46765c33e6feb56.tar.lz infinity-for-reddit-441458b8b2ddae573bc5b473b46765c33e6feb56.tar.xz infinity-for-reddit-441458b8b2ddae573bc5b473b46765c33e6feb56.tar.zst infinity-for-reddit-441458b8b2ddae573bc5b473b46765c33e6feb56.zip |
Fix comment more button not visible.
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java | 1 | ||||
-rw-r--r-- | app/src/main/res/drawable-night/ic_data_saving_mode_24dp.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_data_saving_mode_24dp.xml (renamed from app/src/main/res/drawable/ic_data_saving_mode_black_24dp.xml) | 0 | ||||
-rw-r--r-- | app/src/main/res/xml/main_preferences.xml | 2 |
4 files changed, 11 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java index b063ddb5..0114560d 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java @@ -3351,6 +3351,7 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter<Recy constraintSet.clear(expandButton.getId(), ConstraintSet.END); constraintSet.clear(saveButton.getId(), ConstraintSet.END); constraintSet.clear(replyButton.getId(), ConstraintSet.END); + constraintSet.clear(moreButton.getId(), ConstraintSet.END); constraintSet.connect(upvoteButton.getId(), ConstraintSet.END, scoreTextView.getId(), ConstraintSet.START); constraintSet.connect(scoreTextView.getId(), ConstraintSet.END, downvoteButton.getId(), ConstraintSet.START); constraintSet.connect(downvoteButton.getId(), ConstraintSet.END, ConstraintSet.PARENT_ID, ConstraintSet.END); diff --git a/app/src/main/res/drawable-night/ic_data_saving_mode_24dp.xml b/app/src/main/res/drawable-night/ic_data_saving_mode_24dp.xml new file mode 100644 index 00000000..49d83ff8 --- /dev/null +++ b/app/src/main/res/drawable-night/ic_data_saving_mode_24dp.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:pathData="M11.8,10.9c-2.27,-0.59 -3,-1.2 -3,-2.15 0,-1.09 1.01,-1.85 2.7,-1.85 1.78,0 2.44,0.85 2.5,2.1h2.21c-0.07,-1.72 -1.12,-3.3 -3.21,-3.81V3h-3v2.16c-1.94,0.42 -3.5,1.68 -3.5,3.61 0,2.31 1.91,3.46 4.7,4.13 2.5,0.6 3,1.48 3,2.41 0,0.69 -0.49,1.79 -2.7,1.79 -2.06,0 -2.87,-0.92 -2.98,-2.1h-2.2c0.12,2.19 1.76,3.42 3.68,3.83V21h3v-2.15c1.95,-0.37 3.5,-1.5 3.5,-3.55 0,-2.84 -2.43,-3.81 -4.7,-4.4z" + android:fillColor="#FFFFFF"/> +</vector> diff --git a/app/src/main/res/drawable/ic_data_saving_mode_black_24dp.xml b/app/src/main/res/drawable/ic_data_saving_mode_24dp.xml index 89f69eca..89f69eca 100644 --- a/app/src/main/res/drawable/ic_data_saving_mode_black_24dp.xml +++ b/app/src/main/res/drawable/ic_data_saving_mode_24dp.xml diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index f318d83d..9a560383 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -50,7 +50,7 @@ <Preference app:key="security" app:title="@string/settings_data_saving_mode" - app:icon="@drawable/ic_data_saving_mode_black_24dp" + app:icon="@drawable/ic_data_saving_mode_24dp" app:fragment="ml.docilealligator.infinityforreddit.Settings.DataSavingModePreferenceFragment" /> <Preference |