forked from upstream-mirrors/quik
274 lines
12 KiB
XML
274 lines
12 KiB
XML
<?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/>.
|
|
-->
|
|
<android.support.design.widget.CoordinatorLayout 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="match_parent"
|
|
tools:background="@color/white">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="160dp"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<android.support.design.widget.CollapsingToolbarLayout
|
|
android:id="@+id/collapsingToolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:collapsedTitleTextAppearance="@style/CollapsingToolbarCollapsedText"
|
|
app:expandedTitleTextAppearance="@style/CollapsingToolbarExpandedText"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_collapseMode="pin" />
|
|
|
|
</android.support.design.widget.CollapsingToolbarLayout>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/toUpgrade"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="32dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:layout_marginStart="32dp"
|
|
android:orientation="vertical">
|
|
|
|
<common.widget.QkTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/qksms_plus_description_title"
|
|
android:textStyle="bold"
|
|
app:textColor="primary"
|
|
app:textSize="primary" />
|
|
|
|
<common.widget.QkTextView
|
|
android:id="@+id/description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/qksms_plus_description_summary"
|
|
app:textColor="secondary"
|
|
app:textSize="secondary" />
|
|
|
|
<common.widget.QkTextView
|
|
android:id="@+id/upgrade"
|
|
style="@style/TextButton"
|
|
android:layout_marginTop="16dp"
|
|
android:background="@drawable/rounded_rectangle_2dp"
|
|
android:text="@string/qksms_plus_upgrade"
|
|
app:textColor="primaryOnTheme"
|
|
tools:backgroundTint="@color/tools_theme" />
|
|
|
|
<common.widget.QkTextView
|
|
android:id="@+id/upgradeDonate"
|
|
style="@style/TextButton"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/rounded_rectangle_outline_2dp"
|
|
android:text="@string/qksms_plus_upgrade_donate"
|
|
app:textColor="primary"
|
|
tools:backgroundTint="@color/separatorLight" />
|
|
|
|
</LinearLayout>
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
android:id="@+id/upgraded"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="24dp"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_marginStart="24dp"
|
|
android:background="@drawable/rounded_rectangle_2dp"
|
|
android:padding="16dp"
|
|
tools:backgroundTint="@color/separatorLight">
|
|
|
|
<ImageView
|
|
android:id="@+id/thanksIcon"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_favorite_black_24dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:tint="@color/tools_theme" />
|
|
|
|
<common.widget.QkTextView
|
|
android:id="@+id/thanksTitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="24dp"
|
|
android:text="@string/qksms_plus_thanks_title"
|
|
android:textStyle="bold"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/thanksIcon"
|
|
app:textColor="primary"
|
|
app:textSize="secondary" />
|
|
|
|
<common.widget.QkTextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/qksms_plus_thanks_summary"
|
|
app:layout_constraintEnd_toEndOf="@id/thanksTitle"
|
|
app:layout_constraintStart_toStartOf="@id/thanksTitle"
|
|
app:layout_constraintTop_toBottomOf="@id/thanksTitle"
|
|
app:textColor="secondary"
|
|
app:textSize="secondary" />
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/free"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="24dp"
|
|
android:layout_marginEnd="32dp"
|
|
android:layout_marginStart="32dp"
|
|
android:orientation="vertical">
|
|
|
|
<common.widget.QkTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/qksms_plus_free_title"
|
|
app:textColor="secondary"
|
|
app:textSize="secondary" />
|
|
|
|
<common.widget.QkTextView
|
|
android:id="@+id/donate"
|
|
style="@style/TextButton"
|
|
android:layout_marginTop="16dp"
|
|
android:background="@drawable/rounded_rectangle_2dp"
|
|
android:text="@string/qksms_plus_donate"
|
|
app:textColor="primaryOnTheme"
|
|
tools:backgroundTint="@color/tools_theme" />
|
|
|
|
</LinearLayout>
|
|
|
|
<common.widget.Separator
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginBottom="8dp" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:icon="@drawable/ic_palette_black_24dp"
|
|
app:summary="@string/qksms_plus_themes_summary"
|
|
app:title="@string/qksms_plus_themes_title" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:icon="@drawable/ic_invert_colors_black_24dp"
|
|
app:summary="@string/qksms_plus_night_summary"
|
|
app:title="@string/qksms_plus_night_title" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:icon="@drawable/ic_more_horiz_black_24dp"
|
|
app:summary="@string/qksms_plus_more_summary"
|
|
app:title="@string/qksms_plus_more_title" />
|
|
|
|
<common.widget.QkTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginTop="24dp"
|
|
android:text="@string/qksms_plus_coming_soon"
|
|
android:textStyle="bold"
|
|
app:textColor="primary"
|
|
app:textSize="primary" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.25"
|
|
app:icon="@drawable/ic_favorite_black_24dp"
|
|
app:summary="@string/qksms_plus_emoji_summary"
|
|
app:title="@string/qksms_plus_emoji_title" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.25"
|
|
app:icon="@drawable/ic_backup_black_24dp"
|
|
app:summary="@string/qksms_plus_backup_summary"
|
|
app:title="@string/qksms_plus_backup_title" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.25"
|
|
app:icon="@drawable/ic_event_black_24dp"
|
|
app:summary="@string/qksms_plus_scheduled_summary"
|
|
app:title="@string/qksms_plus_scheduled_title" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.25"
|
|
app:icon="@drawable/ic_av_timer_black_24dp"
|
|
app:summary="@string/qksms_plus_delayed_summary"
|
|
app:title="@string/qksms_plus_delayed_title" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.25"
|
|
app:icon="@drawable/ic_block_black_24dp"
|
|
app:summary="@string/qksms_plus_blacklist_summary"
|
|
app:title="@string/qksms_plus_blacklist_title" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.25"
|
|
app:icon="@drawable/ic_forward_black_24dp"
|
|
app:summary="@string/qksms_plus_forward_summary"
|
|
app:title="@string/qksms_plus_forward_title" />
|
|
|
|
<common.widget.PreferenceView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:alpha="0.25"
|
|
app:icon="@drawable/ic_reply_white_24dp"
|
|
app:summary="@string/qksms_plus_respond_summary"
|
|
app:title="@string/qksms_plus_respond_title" />
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |