| author | Da Risk <da_risk@geekorum.com> |
| Thu, 04 Jul 2019 14:04:11 -0700 | |
| changeset 344 | 9fdd34ac0009 |
| parent 337 | e602305367e0 |
| child 513 | 0fb677cb65c7 |
| permissions | -rw-r--r-- |
| 0 | 1 |
<!-- |
2 |
||
3 |
Geekttrss is a RSS feed reader application on the Android Platform. |
|
4 |
||
|
137
5464f07a306c
Update copyright headers for 2019
Da Risk <da_risk@geekorum.com>
parents:
62
diff
changeset
|
5 |
Copyright (C) 2017-2019 by Frederic-Charles Barthelery. |
| 0 | 6 |
|
7 |
This file is part of Geekttrss. |
|
8 |
||
9 |
Geekttrss is free software: you can redistribute it and/or modify |
|
10 |
it under the terms of the GNU General Public License as published by |
|
11 |
the Free Software Foundation, either version 3 of the License, or |
|
12 |
(at your option) any later version. |
|
13 |
||
14 |
Geekttrss is distributed in the hope that it will be useful, |
|
15 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
16 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
17 |
GNU General Public License for more details. |
|
18 |
||
19 |
You should have received a copy of the GNU General Public License |
|
20 |
along with Geekttrss. If not, see <http://www.gnu.org/licenses/>. |
|
21 |
||
22 |
--> |
|
23 |
<layout xmlns:android="http://schemas.android.com/apk/res/android" |
|
24 |
xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto"> |
|
25 |
||
26 |
<data> |
|
|
62
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
27 |
|
| 0 | 28 |
<import type="com.geekorum.ttrss.accounts.LoginViewModel" /> |
|
62
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
29 |
|
| 0 | 30 |
<variable name="viewModel" type="com.geekorum.ttrss.accounts.LoginViewModel" /> |
31 |
</data> |
|
32 |
||
33 |
||
|
62
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
34 |
<androidx.constraintlayout.widget.ConstraintLayout |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
35 |
android:layout_width="match_parent" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
36 |
android:layout_height="match_parent" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
37 |
tools:context="com.geekorum.ttrss.accounts.LoginActivity"> |
| 0 | 38 |
|
|
62
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
39 |
<com.google.android.material.appbar.AppBarLayout |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
40 |
android:id="@+id/app_bar" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
41 |
android:layout_width="match_parent" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
42 |
android:layout_height="@dimen/app_bar_height" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
43 |
app:layout_constraintTop_toTopOf="parent" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
44 |
app:layout_constraintStart_toStartOf="parent" |
| 344 | 45 |
app:layout_constraintEnd_toEndOf="parent"> |
46 |
||
47 |
<com.google.android.material.appbar.MaterialToolbar |
|
48 |
android:id="@+id/toolbar" |
|
49 |
android:layout_width="match_parent" |
|
50 |
android:layout_height="wrap_content" |
|
51 |
style="?appBarToolbarStyle" |
|
52 |
/> |
|
53 |
||
54 |
</com.google.android.material.appbar.AppBarLayout> |
|
| 0 | 55 |
|
|
226
1568630bdfba
Hide ManageFeatures and manage feeds
Da Risk <da_risk@geekorum.com>
parents:
224
diff
changeset
|
56 |
<!-- not a MaterialCardView because they can't have databinding included view |
|
1568630bdfba
Hide ManageFeatures and manage feeds
Da Risk <da_risk@geekorum.com>
parents:
224
diff
changeset
|
57 |
Bug: https://issuetracker.google.com/issues/134379499 --> |
|
224
eb51bb26ab5e
LoginActivity: fix crash on wide layout (w800dp)
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
58 |
<androidx.cardview.widget.CardView |
|
62
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
59 |
android:layout_width="560dp" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
60 |
android:layout_height="match_parent" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
61 |
app:layout_constraintStart_toStartOf="parent" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
62 |
app:layout_constraintEnd_toEndOf="parent" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
63 |
app:layout_constraintTop_toTopOf="parent" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
64 |
android:layout_marginTop="?actionBarSize" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
65 |
app:contentPadding="@dimen/activity_horizontal_margin" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
66 |
app:cardElevation="8dp"> |
| 0 | 67 |
|
|
62
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
68 |
<include android:id="@+id/form" layout="@layout/include_form_login" |
|
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
69 |
app:viewModel="@{viewModel}"/>
|
|
224
eb51bb26ab5e
LoginActivity: fix crash on wide layout (w800dp)
Da Risk <da_risk@geekorum.com>
parents:
137
diff
changeset
|
70 |
</androidx.cardview.widget.CardView> |
| 0 | 71 |
|
|
62
c9d5f3546fc1
LoginActivity: rework the layout to be better for large screen
Da Risk <da_risk@geekorum.com>
parents:
0
diff
changeset
|
72 |
</androidx.constraintlayout.widget.ConstraintLayout> |
| 0 | 73 |
</layout> |