Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58c25e4f authored by Sumit Pundir's avatar Sumit Pundir
Browse files

presentation: remove view for QKSMS+ and rating

parent a368bac2
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -100,7 +100,6 @@ class MainActivity : QkThemedActivity(), MainView {
                scheduled.clicks().map { NavItem.SCHEDULED },
                blocking.clicks().map { NavItem.BLOCKING },
                settings.clicks().map { NavItem.SETTINGS },
                plus.clicks().map { NavItem.PLUS },
                help.clicks().map { NavItem.HELP },
                invite.clicks().map { NavItem.INVITE }))
    }
+0 −27
Original line number Diff line number Diff line
<!--
  ~ Copyright (C) 2019 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="M10,6L8.59,7.41 13.17,12l-4.58,4.59L10,18l6,-6z" />
</vector>
+1 −158
Original line number Diff line number Diff line
@@ -139,21 +139,6 @@

        </LinearLayout>

        <LinearLayout
            android:id="@+id/plus"
            style="@style/DrawerRow">

            <ImageView
                style="@style/DrawerIcon"
                android:src="@drawable/ic_star_black_24dp"
                android:tint="?android:attr/textColorSecondary" />

            <com.moez.QKSMS.common.widget.QkTextView
                style="@style/DrawerText"
                android:text="@string/drawer_plus" />

        </LinearLayout>

        <LinearLayout
            android:id="@+id/help"
            style="@style/DrawerRow">
@@ -184,148 +169,6 @@

        </LinearLayout>

        <androidx.constraintlayout.widget.ConstraintLayout
            android:id="@+id/plusBanner"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="8dp"
            android:layout_marginTop="8dp"
            android:layout_marginEnd="8dp"
            android:background="@drawable/rounded_rectangle_outline_2dp"
            android:backgroundTint="?android:attr/divider"
            android:foreground="?attr/selectableItemBackground"
            android:padding="16dp">

            <ImageView
                android:id="@+id/plusIcon"
                android:layout_width="24dp"
                android:layout_height="24dp"
                android:src="@drawable/ic_star_black_24dp"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                tools:tint="@color/tools_theme" />

            <com.moez.QKSMS.common.widget.QkTextView
                android:id="@+id/plusTitle"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="16dp"
                android:layout_marginEnd="16dp"
                android:text="@string/drawer_plus_banner_title"
                android:textColor="?android:attr/textColorPrimary"
                android:textStyle="bold"
                app:layout_constraintEnd_toStartOf="@id/plusNext"
                app:layout_constraintStart_toEndOf="@id/plusIcon"
                app:layout_constraintTop_toTopOf="parent"
                app:textSize="primary" />

            <com.moez.QKSMS.common.widget.QkTextView
                android:id="@+id/plusSummary"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginTop="2dp"
                android:text="@string/drawer_plus_banner_summary"
                android:textColor="?android:attr/textColorSecondary"
                app:layout_constraintEnd_toEndOf="@id/plusTitle"
                app:layout_constraintStart_toStartOf="@id/plusTitle"
                app:layout_constraintTop_toBottomOf="@id/plusTitle"
                app:textSize="secondary" />

            <ImageView
                android:id="@+id/plusNext"
                android:layout_width="24dp"
                android:layout_height="24dp"
                android:src="@drawable/ic_chevron_right_black_24dp"
                android:tint="?android:attr/textColorTertiary"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintTop_toTopOf="parent" />

        </androidx.constraintlayout.widget.ConstraintLayout>

        <androidx.constraintlayout.widget.ConstraintLayout
            android:id="@+id/rateLayout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="8dp"
            android:layout_marginTop="8dp"
            android:layout_marginEnd="8dp"
            android:background="@drawable/rounded_rectangle_outline_2dp"
            android:backgroundTint="?android:attr/divider">

            <ImageView
                android:id="@+id/rateIcon"
                android:layout_width="24dp"
                android:layout_height="24dp"
                android:layout_marginStart="16dp"
                android:src="@drawable/ic_favorite_black_24dp"
                app:layout_constraintBottom_toBottomOf="@id/rateSummary"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="@id/rateTitle"
                tools:tint="@color/tools_theme" />

            <com.moez.QKSMS.common.widget.QkTextView
                android:id="@+id/rateTitle"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginStart="16dp"
                android:layout_marginTop="16dp"
                android:layout_marginEnd="16dp"
                android:text="@string/rate_title"
                android:textColor="?android:attr/textColorPrimary"
                android:textStyle="bold"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toEndOf="@id/rateIcon"
                app:layout_constraintTop_toTopOf="parent"
                app:textSize="primary" />

            <com.moez.QKSMS.common.widget.QkTextView
                android:id="@+id/rateSummary"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginTop="2dp"
                android:layout_marginEnd="16dp"
                android:text="@string/rate_summary"
                android:textColor="?android:attr/textColorSecondary"
                app:layout_constraintEnd_toEndOf="@id/rateTitle"
                app:layout_constraintStart_toStartOf="@id/rateTitle"
                app:layout_constraintTop_toBottomOf="@id/rateTitle"
                app:textSize="secondary" />

            <com.moez.QKSMS.common.widget.QkTextView
                android:id="@+id/rateDismiss"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="16dp"
                android:layout_marginTop="8dp"
                android:paddingStart="16dp"
                android:paddingTop="16dp"
                android:paddingBottom="16dp"
                android:text="@string/rate_dismiss"
                android:textColor="?android:attr/textColorTertiary"
                android:textStyle="bold"
                app:layout_constraintEnd_toStartOf="@id/rateOkay"
                app:layout_constraintTop_toBottomOf="@id/rateSummary"
                app:textSize="secondary" />

            <com.moez.QKSMS.common.widget.QkTextView
                android:id="@+id/rateOkay"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="8dp"
                android:layout_marginEnd="8dp"
                android:background="?attr/selectableItemBackground"
                android:padding="16dp"
                android:text="@string/rate_okay"
                android:textColor="?android:attr/textColorSecondary"
                android:textStyle="bold"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintTop_toBottomOf="@id/rateSummary"
                app:textSize="secondary" />

        </androidx.constraintlayout.widget.ConstraintLayout>

    </LinearLayout>

</ScrollView>
+0 −5
Original line number Diff line number Diff line
@@ -69,11 +69,6 @@
    <string name="drawer_settings">الإعدادات</string>
    <string name="drawer_help">المساعدة والتواصل مع المبرمج</string>
    <string name="drawer_invite">دعوة الأصدقاء</string>
    <string name="drawer_plus_banner_summary">فتح ميزات رائعة جديدة ، و دعم التطوير</string>
    <string name="rate_title">هل QKSMS ممتع ؟</string>
    <string name="rate_summary">أظهر محبتك وقيّمنا على متجر Google Play!</string>
    <string name="rate_okay">حسناً</string>
    <string name="rate_dismiss">استبعاد</string>
    <string name="dialog_delete_title">حذف</string>
    <plurals name="dialog_delete_message">
        <item quantity="zero">هل أنت متأكد من رغبتك حذف %d محادثة؟</item>
+0 −5
Original line number Diff line number Diff line
@@ -73,11 +73,6 @@
    <string name="drawer_settings">সেটিংস</string>
    <string name="drawer_help">সাহায্য &amp; প্রতিক্রিয়া</string>
    <string name="drawer_invite">বন্ধুদের আমন্ত্রণ জানান</string>
    <string name="drawer_plus_banner_summary">দারুণ নতুন ফিচার আনলক করুন এবং উন্নয়ন সহায়তা করুন</string>
    <string name="rate_title">QKSMS উপভোগ করছেন?</string>
    <string name="rate_summary">আমাদের প্রতি ভালবাসে দেখাতে Google Play-তে আমাদের মূল্যায়ন করুন!</string>
    <string name="rate_okay">ঠিক আছে!</string>
    <string name="rate_dismiss">বাতিল করুন</string>
    <string name="dialog_delete_title">মুছে ফেলুন</string>
    <plurals name="dialog_delete_message">
        <item quantity="one">আপনি কি নিশ্চিত যে এই আলাপটি আপনি ডিলিট করতে চান?</item>
Loading