Show expand/collapse qkreply options in menu

This commit is contained in:
Moez Bhatti
2018-03-28 16:53:26 -04:00
parent fb97ede7aa
commit 2cbd28474d
4 changed files with 5 additions and 64 deletions
@@ -1,27 +0,0 @@
<!--
~ Copyright (C) 2017 Moez Bhatti <moez.bhatti@gmail.com>
~
~ This file is part of QKSMS.
~
~ QKSMS is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ QKSMS is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with QKSMS. If not, see <http://www.gnu.org/licenses/>.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M7.41,18.59L8.83,20 12,16.83 15.17,20l1.41,-1.41L12,14l-4.59,4.59zM16.59,5.41L15.17,4 12,7.17 8.83,4 7.41,5.41 12,10l4.59,-4.59z"/>
</vector>
@@ -1,27 +0,0 @@
<!--
~ Copyright (C) 2017 Moez Bhatti <moez.bhatti@gmail.com>
~
~ This file is part of QKSMS.
~
~ QKSMS is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ QKSMS is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with QKSMS. If not, see <http://www.gnu.org/licenses/>.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M12,5.83L15.17,9l1.41,-1.41L12,3 7.41,7.59 8.83,9 12,5.83zM12,18.17L8.83,15l-1.41,1.41L12,21l4.59,-4.59L15.17,15 12,18.17z"/>
</vector>
+3 -8
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2017 Moez Bhatti <moez.bhatti@gmail.com>
~
~ This file is part of QKSMS.
@@ -28,15 +27,11 @@
<item
android:id="@+id/expand"
android:icon="@drawable/ic_unfold_more_black_24dp"
android:title="@string/qkreply_menu_expand"
app:showAsAction="ifRoom" />
android:title="@string/qkreply_menu_expand" />
<item
android:id="@+id/collapse"
android:icon="@drawable/ic_unfold_less_black_24dp"
android:title="@string/qkreply_menu_collapse"
android:visible="false"
app:showAsAction="always" />
android:visible="false" />
</menu>
+2 -2
View File
@@ -141,8 +141,8 @@
<string name="widget_more">View more conversations</string>
<string name="qkreply_menu_read">Mark read</string>
<string name="qkreply_menu_expand">Expand</string>
<string name="qkreply_menu_collapse">Collapse</string>
<string name="qkreply_menu_expand">Show more</string>
<string name="qkreply_menu_collapse">Show less</string>
<string name="theme_material">Material</string>
<string name="theme_plus">QKSMS+</string>