nextcloud-talk-android/app/src/main/res/layout/controller_locked.xml

67 lines
2.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?><!--
~ Nextcloud Talk application
~
~ @author Mario Danic
~ @author Andy Scherzinger
~ Copyright (C) 2021 Andy Scherzinger <info@andy-scherzinger.de>
~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
~
~ This program 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.
~
~ This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/unlockContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:background="@color/colorPrimary"
android:gravity="center"
android:orientation="vertical">
<FrameLayout
android:id="@+id/appLogoContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal">
<ImageView
android:id="@+id/appLogo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:contentDescription="@string/nc_app_product_name"
android:src="@drawable/ic_logo" />
<ImageView
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
android:contentDescription="@string/nc_locked"
android:src="@drawable/ic_lock_white_24px" />
</FrameLayout>
<TextView
android:id="@+id/unlockTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:paddingTop="16dp"
android:paddingBottom="56dp"
android:text="@string/nc_locked_tap_to_unlock"
android:textAlignment="center"
android:textColor="@color/textColorOnPrimaryBackground"
android:textSize="22sp" />
</LinearLayout>