forked from upstream-mirrors/quik
Show changelog after app update
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ 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/>.
|
||||
-->
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.moez.QKSMS.common.widget.QkTextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="@string/changelog_title"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toTopOf="@id/version"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_weight="1"
|
||||
app:textColor="primary"
|
||||
app:textSize="dialog" />
|
||||
|
||||
<com.moez.QKSMS.common.widget.QkTextView
|
||||
android:id="@+id/version"
|
||||
style="@style/TextSecondary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/changelog"
|
||||
app:layout_constraintTop_toBottomOf="@id/title"
|
||||
app:layout_constraintVertical_weight="1"
|
||||
tools:text="Version 3.6.5" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/changelog"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
app:layout_constrainedHeight="true"
|
||||
app:layout_constraintBottom_toTopOf="@id/dismiss"
|
||||
app:layout_constraintTop_toBottomOf="@id/version"
|
||||
app:layout_constraintVertical_weight="0"
|
||||
tools:listitem="@layout/changelog_list_item" />
|
||||
|
||||
<com.moez.QKSMS.common.widget.QkTextView
|
||||
android:id="@+id/more"
|
||||
style="@style/TextSecondary"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:text="@string/changelog_more"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/dismiss"
|
||||
app:layout_constraintTop_toBottomOf="@id/changelog"
|
||||
app:layout_constraintVertical_weight="1" />
|
||||
|
||||
<com.moez.QKSMS.common.widget.QkTextView
|
||||
android:id="@+id/dismiss"
|
||||
style="@style/TextSecondary"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:text="@string/changelog_dismiss"
|
||||
android:textAllCaps="true"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/changelog"
|
||||
app:layout_constraintVertical_weight="1"
|
||||
app:layout_goneMarginEnd="8dp" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ 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/>.
|
||||
-->
|
||||
<com.moez.QKSMS.common.widget.QkTextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/changelogItem"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="4dp"
|
||||
app:textColor="primary"
|
||||
app:textSize="secondary"
|
||||
tools:text="- Changelog item" />
|
||||
@@ -34,6 +34,7 @@
|
||||
<enum name="secondary" value="1" />
|
||||
<enum name="tertiary" value="2" />
|
||||
<enum name="toolbar" value="3" />
|
||||
<enum name="dialog" value="4" />
|
||||
</attr>
|
||||
|
||||
<declare-styleable name="QkTextView">
|
||||
|
||||
@@ -30,4 +30,34 @@
|
||||
<string name="about_license">GNU General Public License v3.0</string>
|
||||
<string name="about_copyright">© 2014–2018</string>
|
||||
|
||||
</resources>
|
||||
<string name="changelog_title">New in QKSMS</string>
|
||||
<string name="changelog_version">Version %s</string>
|
||||
<string-array name="changelog_keywords">
|
||||
<item>Added</item>
|
||||
<item>Improved</item>
|
||||
<item>Fixed</item>
|
||||
</string-array>
|
||||
<string-array name="changelog">
|
||||
<item>Added</item>
|
||||
<item>- Support for latest version of Should I Answer</item>
|
||||
<item>- New swipe action to mark a conversation unread</item>
|
||||
<item>- Updates will now show a changelog!</item>
|
||||
<item></item>
|
||||
<item>Improved</item>
|
||||
<item>- Added unread indicator to make those conversations easier to spot</item>
|
||||
<item>- Better support for sharing text from other apps</item>
|
||||
<item>- Should I Answer integration will respect numbers that you have manually blocked</item>
|
||||
<item>- Status bar for dark theme will match toolbar</item>
|
||||
<item>- Make sure to ask to be default SMS app before attempting to perform actions that require it</item>
|
||||
<item>- Features on QKSMS+ page will now link to their respective parts of the app</item>
|
||||
<item>- Long list of names for group chat will be shortened</item>
|
||||
<item></item>
|
||||
<item>Fixed</item>
|
||||
<item>- Messages sometimes get stuck "Sending…"</item>
|
||||
<item>- QK Reply window glitches when it\'s too big</item>
|
||||
<item>- Crash in compose screen when a contact has no numbers</item>
|
||||
</string-array>
|
||||
<string name="changelog_more">More</string>
|
||||
<string name="changelog_dismiss">Dismiss</string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user