app/src/main/res/layout-w800dp/activity_login_account.xml
changeset 62 c9d5f3546fc1
parent 0 14443efede32
child 137 5464f07a306c
equal deleted inserted replaced
61:4c99647b9a58 62:c9d5f3546fc1
       
     1 <!--
       
     2 
       
     3     Geekttrss is a RSS feed reader application on the Android Platform.
       
     4 
       
     5     Copyright (C) 2017-2018 by Frederic-Charles Barthelery.
       
     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>
       
    27 
       
    28         <import type="com.geekorum.ttrss.accounts.LoginViewModel" />
       
    29 
       
    30         <variable name="viewModel" type="com.geekorum.ttrss.accounts.LoginViewModel" />
       
    31     </data>
       
    32 
       
    33 
       
    34     <androidx.constraintlayout.widget.ConstraintLayout
       
    35             android:layout_width="match_parent"
       
    36             android:layout_height="match_parent"
       
    37             tools:context="com.geekorum.ttrss.accounts.LoginActivity">
       
    38 
       
    39         <com.google.android.material.appbar.AppBarLayout
       
    40                 android:id="@+id/app_bar"
       
    41                 android:layout_width="match_parent"
       
    42                 android:layout_height="@dimen/app_bar_height"
       
    43                 app:layout_constraintTop_toTopOf="parent"
       
    44                 app:layout_constraintStart_toStartOf="parent"
       
    45                 app:layout_constraintEnd_toEndOf="parent"
       
    46                 android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
       
    47 
       
    48             <androidx.appcompat.widget.Toolbar
       
    49                     android:id="@+id/toolbar"
       
    50                     android:layout_width="match_parent"
       
    51                     android:layout_height="wrap_content"
       
    52                     app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
       
    53 
       
    54         </com.google.android.material.appbar.AppBarLayout>
       
    55 
       
    56         <com.google.android.material.card.MaterialCardView
       
    57                 android:layout_width="560dp"
       
    58                 android:layout_height="match_parent"
       
    59                 app:layout_constraintStart_toStartOf="parent"
       
    60                 app:layout_constraintEnd_toEndOf="parent"
       
    61                 app:layout_constraintTop_toTopOf="parent"
       
    62                 android:layout_marginTop="?actionBarSize"
       
    63                 app:contentPadding="@dimen/activity_horizontal_margin"
       
    64                 app:cardElevation="8dp">
       
    65 
       
    66             <include android:id="@+id/form" layout="@layout/include_form_login"
       
    67                      app:viewModel="@{viewModel}"/>
       
    68         </com.google.android.material.card.MaterialCardView>
       
    69 
       
    70     </androidx.constraintlayout.widget.ConstraintLayout>
       
    71 </layout>