125 lines
5.1 KiB
XML
125 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" />
|
|
|
|
<!--If you encounter them in a conversation, not only remember your training, but remember that they had their training as well. / they have a better mask/can control better-->
|
|
<TextView
|
|
android:text="@string/ending_loser"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/textFailure"
|
|
android:textSize="30sp"
|
|
android:textColor="@color/textPrimary"
|
|
android:visibility="gone"/>
|
|
|
|
<!-- Next time you have a conversation, remember your training: you are better at adapting yourself to the requirements of a situation than any other. / mask?-->
|
|
<TextView
|
|
android:text="@string/ending_winner"
|
|
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>
|