forked from penguin86/nextcloud-maps-client
First commit: customized structure from Nextcloud SSO Example: https://github.com/matiasdelellis/app-tutorial-android
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Nextcloud Maps Geofavorites for Android
|
||||
~
|
||||
~ 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/>.
|
||||
-->
|
||||
|
||||
<RelativeLayout
|
||||
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"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/spacer_2x"
|
||||
android:theme="@style/SplashTheme"
|
||||
tools:context="it.danieleverducci.nextcloudmaps.activity.login.LoginActivity">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/logo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:layout_above="@+id/text_logo"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="32dp"
|
||||
android:src="@drawable/ic_app"
|
||||
app:tint="@color/defaultBrand"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_logo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/welcome"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginBottom="48dp"
|
||||
android:textSize="24sp"
|
||||
android:gravity="center_horizontal"
|
||||
android:textColor="@color/accent"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/chose_button"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/text_logo"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:paddingStart="32dp"
|
||||
android:paddingTop="24dp"
|
||||
android:paddingEnd="32dp"
|
||||
android:paddingBottom="24dp"
|
||||
android:text="@string/choose_account"
|
||||
app:backgroundTint="@color/defaultBrand" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="35dp"
|
||||
android:layout_below="@id/chose_button"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:visibility="gone"
|
||||
android:progressTint="@color/defaultBrand"/>
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user