mirror of https://github.com/ThmmyNoLife/mTHMMY
Apostolos Fanakis
8 years ago
7 changed files with 156 additions and 64 deletions
After Width: | Height: | Size: 3.1 MiB |
@ -1,73 +1,105 @@ |
|||
<?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" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:paddingTop="@dimen/appbar_padding_top" |
|||
android:theme="@style/ToolbarTheme"> |
|||
|
|||
<android.support.design.widget.AppBarLayout |
|||
android:id="@+id/appbar" |
|||
<android.support.v7.widget.Toolbar |
|||
android:id="@+id/toolbar" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:paddingTop="@dimen/appbar_padding_top" |
|||
android:theme="@style/ToolbarTheme"> |
|||
android:layout_height="?attr/actionBarSize" |
|||
android:background="?attr/colorPrimary" |
|||
app:popupTheme="@style/ToolbarTheme"> |
|||
</android.support.v7.widget.Toolbar> |
|||
</android.support.design.widget.AppBarLayout> |
|||
|
|||
<android.support.v7.widget.Toolbar |
|||
android:id="@+id/toolbar" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="?attr/actionBarSize" |
|||
android:background="?attr/colorPrimary" |
|||
app:popupTheme="@style/ToolbarTheme"> |
|||
</android.support.v7.widget.Toolbar> |
|||
|
|||
</android.support.design.widget.AppBarLayout> |
|||
<ScrollView |
|||
android:id="@+id/scrollview" |
|||
android:layout_width="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" |
|||
xmlns:tools="http://schemas.android.com/tools" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:paddingBottom="@dimen/activity_vertical_margin" |
|||
android:paddingLeft="@dimen/activity_horizontal_margin" |
|||
android:paddingRight="@dimen/activity_horizontal_margin" |
|||
android:paddingTop="@dimen/activity_vertical_margin" |
|||
tools:context="com.eternalpixels.toinfinity.Info"> |
|||
|
|||
<ScrollView android:layout_marginTop="64dp" |
|||
android:id="@+id/scrollview" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="match_parent"> |
|||
|
|||
<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" |
|||
android:paddingBottom="@dimen/activity_vertical_margin" |
|||
android:paddingLeft="@dimen/activity_horizontal_margin" |
|||
android:paddingRight="@dimen/activity_horizontal_margin" |
|||
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" |
|||
/> |
|||
|
|||
<TextView |
|||
android:id="@+id/appName" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_alignParentTop="true" |
|||
android:layout_centerHorizontal="true" |
|||
android:text="@string/app_name" |
|||
android:textAppearance="?android:attr/textAppearanceLarge" |
|||
android:textStyle="bold"/> |
|||
<Space |
|||
android:id="@+id/space" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="50dp" |
|||
android:layout_below="@+id/logoView"/> |
|||
|
|||
<TextView |
|||
android:id="@+id/version" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@+id/appName" |
|||
android:layout_centerHorizontal="true" |
|||
android:textAppearance="?android:attr/textAppearanceSmall" |
|||
android:textStyle="italic"/> |
|||
<TextView |
|||
android:id="@+id/appName" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
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"/> |
|||
|
|||
<ImageView |
|||
android:id="@+id/logoView" |
|||
<TextView |
|||
android:id="@+id/version" |
|||
android:layout_width="wrap_content" |
|||
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> |
|||
|
|||
<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> |
Loading…
Reference in new issue