emotionhero/app/src/main/res/layout/activity_ending.xml

123 lines
5.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_ending"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.rubenvandeven.emotionhero.EndingActivity">
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/appbar_padding_top"
android:theme="@style/AppTheme.AppBarOverlay"
android:layout_marginBottom="10dp"
>
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/AppTheme.PopupOverlay"
app:titleTextColor="@color/textHighlight">
</android.support.v7.widget.Toolbar>
</android.support.design.widget.AppBarLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/appbar"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
>
<TextView
android:text="Loading your position in the general rank list..."
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/textLoading"
android:textSize="30sp"
android:textColor="@color/textPrimary" />
<TextView
android:text="You seek desperately to become the Emotion Hero. However, you are not yet there. \nDespite finishing all steps in the training, your peers have done the same. They are better at employing this technology for their own benefit, so you are still one step behind.\nKeep on training young padawan, and eventually, you might become the one and only..."
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/textFailure"
android:textSize="30sp"
android:textColor="@color/textPrimary"
android:visibility="gone"/>
<TextView
android:text="You are the one and only Emotion Hero. As number one in the general ranklist, you are the 'Master of the face'."
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/textSuccess"
android:textSize="30sp"
android:textColor="@color/textPrimary"
android:visibility="gone" />
<TextView
android:text="Your position"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/fab_margin"
android:id="@+id/textRank"
android:textSize="30sp"
android:textColor="@color/textHighlight"
android:textAlignment="center"
android:visibility="gone" />
<TextView
android:text="23"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/rank"
android:textSize="45sp"
android:textColor="@color/textHighlight"
android:textAlignment="center"
android:visibility="gone" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/emotionhero_logo"
android:id="@+id/logoEmotionHero"
android:cropToPadding="false"
android:adjustViewBounds="true"
android:layout_marginTop="20dp"
android:contentDescription="@string/app_name"
android:visibility="gone" />
<ProgressBar
style="?android:attr/progressBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/scoreProgressBar"
android:indeterminate="true"
android:indeterminateTint="@color/textHighlight"
android:layout_marginTop="20dp" />
</LinearLayout>
</ScrollView>
</RelativeLayout>