|
|
@ -1,11 +1,13 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
<android.support.design.widget.CoordinatorLayout |
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
android:orientation="vertical" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:id="@+id/main_content" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:fitsSystemWindows="true" |
|
|
|
tools:context=".activities.topic.TopicActivity"> |
|
|
|
|
|
|
|
<android.support.design.widget.AppBarLayout |
|
|
|
android:id="@+id/appbar" |
|
|
@ -21,16 +23,18 @@ |
|
|
|
android:background="?attr/colorPrimary" |
|
|
|
app:popupTheme="@style/ToolbarTheme"> |
|
|
|
</android.support.v7.widget.Toolbar> |
|
|
|
|
|
|
|
</android.support.design.widget.AppBarLayout> |
|
|
|
|
|
|
|
|
|
|
|
<ScrollView android:layout_marginTop="64dp" |
|
|
|
<ScrollView |
|
|
|
android:id="@+id/scrollview" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_marginTop="64dp" |
|
|
|
android:background="@color/background"> |
|
|
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
<RelativeLayout |
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
@ -40,14 +44,32 @@ |
|
|
|
android:paddingTop="@dimen/activity_vertical_margin" |
|
|
|
tools:context="com.eternalpixels.toinfinity.Info"> |
|
|
|
|
|
|
|
|
|
|
|
<pl.droidsonroids.gif.GifImageView |
|
|
|
android:id="@+id/logoView" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_alignParentTop="true" |
|
|
|
android:layout_centerHorizontal="true" |
|
|
|
android:contentDescription="@string/logo" |
|
|
|
android:src="@drawable/logo_animated" |
|
|
|
/> |
|
|
|
|
|
|
|
<Space |
|
|
|
android:id="@+id/space" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="50dp" |
|
|
|
android:layout_below="@+id/logoView"/> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/appName" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_alignParentTop="true" |
|
|
|
android:layout_below="@id/space" |
|
|
|
android:layout_centerHorizontal="true" |
|
|
|
android:text="@string/app_name" |
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" |
|
|
|
android:textSize="25sp" |
|
|
|
android:textStyle="bold"/> |
|
|
|
|
|
|
|
<TextView |
|
|
@ -56,18 +78,28 @@ |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_below="@+id/appName" |
|
|
|
android:layout_centerHorizontal="true" |
|
|
|
android:clickable="true" |
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" |
|
|
|
android:textColor="@color/accent" |
|
|
|
android:textStyle="italic"/> |
|
|
|
</RelativeLayout> |
|
|
|
</ScrollView> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:id="@+id/logoView" |
|
|
|
<FrameLayout |
|
|
|
android:id="@+id/trollGifFrame" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_gravity="center" |
|
|
|
android:visibility="gone"> |
|
|
|
|
|
|
|
<pl.droidsonroids.gif.GifImageView |
|
|
|
android:id="@+id/trollGif" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_below="@id/version" |
|
|
|
android:layout_centerHorizontal="true" |
|
|
|
android:layout_margin="15dp" |
|
|
|
android:contentDescription="@string/logo" |
|
|
|
android:src="@mipmap/ic_launcher"/> |
|
|
|
</RelativeLayout> |
|
|
|
</ScrollView> |
|
|
|
</LinearLayout> |
|
|
|
android:layout_gravity="center" |
|
|
|
android:contentDescription="@string/trollGif" |
|
|
|
android:foregroundGravity="center" |
|
|
|
android:src="@drawable/fun" |
|
|
|
/> |
|
|
|
</FrameLayout> |
|
|
|
</android.support.design.widget.CoordinatorLayout> |