app/src/main/res/layout-w800dp/activity_settings.xml
author Da Risk <da_risk@geekorum.com>
Sun, 06 Oct 2019 19:48:26 -0700
changeset 513 0fb677cb65c7
parent 427 9c3bd3ef5ed8
child 611 91b8d76c03cd
permissions -rw-r--r--
ArticleListActivity: add a w800dp layout Also tweaks a few things for w800 existing layouts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     2
<!--
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     3
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     4
    Geekttrss is a RSS feed reader application on the Android Platform.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     5
137
5464f07a306c Update copyright headers for 2019
Da Risk <da_risk@geekorum.com>
parents: 134
diff changeset
     6
    Copyright (C) 2017-2019 by Frederic-Charles Barthelery.
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     7
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     8
    This file is part of Geekttrss.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
     9
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    10
    Geekttrss is free software: you can redistribute it and/or modify
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    11
    it under the terms of the GNU General Public License as published by
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    12
    the Free Software Foundation, either version 3 of the License, or
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    13
    (at your option) any later version.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    14
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    15
    Geekttrss is distributed in the hope that it will be useful,
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    16
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    17
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    18
    GNU General Public License for more details.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    19
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    20
    You should have received a copy of the GNU General Public License
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    21
    along with Geekttrss.  If not, see <http://www.gnu.org/licenses/>.
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    22
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    23
-->
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    24
<layout xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android"
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    25
        xmlns:app="http://schemas.android.com/apk/res-auto">
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    26
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    27
    <androidx.constraintlayout.widget.ConstraintLayout
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    28
            android:layout_width="match_parent"
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    29
            android:layout_height="match_parent">
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    30
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    31
        <com.google.android.material.appbar.AppBarLayout
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    32
                android:id="@+id/app_bar"
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    33
                android:layout_width="match_parent"
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    34
                android:layout_height="@dimen/app_bar_height"
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    35
                app:layout_constraintTop_toTopOf="parent"
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    36
                app:layout_constraintStart_toStartOf="parent"
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    37
                app:layout_constraintEnd_toEndOf="parent"
344
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    38
                app:liftOnScroll="true">
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    39
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    40
            <com.google.android.material.appbar.MaterialToolbar
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    41
                    android:id="@+id/toolbar"
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    42
                    android:layout_width="match_parent"
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    43
                    android:layout_height="wrap_content"
513
0fb677cb65c7 ArticleListActivity: add a w800dp layout
Da Risk <da_risk@geekorum.com>
parents: 427
diff changeset
    44
                    android:elevation="0dp"
344
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    45
                    style="?appBarToolbarStyle"
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    46
                    />
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    47
9fdd34ac0009 tablet ui: keep toolbar
Da Risk <da_risk@geekorum.com>
parents: 337
diff changeset
    48
        </com.google.android.material.appbar.AppBarLayout>
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    49
130
4ecc27333700 Use MaterialCardView everywhere
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    50
        <com.google.android.material.card.MaterialCardView
513
0fb677cb65c7 ArticleListActivity: add a w800dp layout
Da Risk <da_risk@geekorum.com>
parents: 427
diff changeset
    51
                android:layout_width="512dp"
130
4ecc27333700 Use MaterialCardView everywhere
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    52
                android:layout_height="match_parent"
4ecc27333700 Use MaterialCardView everywhere
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    53
                app:layout_constraintStart_toStartOf="parent"
4ecc27333700 Use MaterialCardView everywhere
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    54
                app:layout_constraintEnd_toEndOf="parent"
4ecc27333700 Use MaterialCardView everywhere
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    55
                app:layout_constraintTop_toTopOf="parent"
4ecc27333700 Use MaterialCardView everywhere
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    56
                android:layout_marginTop="?actionBarSize"
4ecc27333700 Use MaterialCardView everywhere
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    57
                app:cardElevation="8dp">
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    58
427
9c3bd3ef5ed8 app: use FragmentContainerView instead of FrameLayout
Da Risk <da_risk@geekorum.com>
parents: 344
diff changeset
    59
            <androidx.fragment.app.FragmentContainerView
9c3bd3ef5ed8 app: use FragmentContainerView instead of FrameLayout
Da Risk <da_risk@geekorum.com>
parents: 344
diff changeset
    60
                         android:id="@+id/preferences_container"
192
8d3a8b9473ae Settings: insert the settings fragment dynamically to be able to replace it later
Da Risk <da_risk@geekorum.com>
parents: 137
diff changeset
    61
                         android:layout_width="match_parent"
8d3a8b9473ae Settings: insert the settings fragment dynamically to be able to replace it later
Da Risk <da_risk@geekorum.com>
parents: 137
diff changeset
    62
                         android:layout_height="match_parent"
8d3a8b9473ae Settings: insert the settings fragment dynamically to be able to replace it later
Da Risk <da_risk@geekorum.com>
parents: 137
diff changeset
    63
                    />
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    64
130
4ecc27333700 Use MaterialCardView everywhere
Da Risk <da_risk@geekorum.com>
parents: 0
diff changeset
    65
        </com.google.android.material.card.MaterialCardView>
0
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    66
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    67
    </androidx.constraintlayout.widget.ConstraintLayout>
14443efede32 Initial commit
Da Risk <da_risk@geekorum.com>
parents:
diff changeset
    68
</layout>