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"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<android.support.design.widget.CoordinatorLayout |
||||
|
xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
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_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.support.v7.widget.Toolbar |
||||
android:id="@+id/appbar" |
android:id="@+id/toolbar" |
||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="?attr/actionBarSize" |
||||
android:paddingTop="@dimen/appbar_padding_top" |
android:background="?attr/colorPrimary" |
||||
android:theme="@style/ToolbarTheme"> |
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" |
<pl.droidsonroids.gif.GifImageView |
||||
xmlns:tools="http://schemas.android.com/tools" |
android:id="@+id/logoView" |
||||
android:layout_width="match_parent" |
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:paddingBottom="@dimen/activity_vertical_margin" |
android:layout_alignParentTop="true" |
||||
android:paddingLeft="@dimen/activity_horizontal_margin" |
android:layout_centerHorizontal="true" |
||||
android:paddingRight="@dimen/activity_horizontal_margin" |
android:contentDescription="@string/logo" |
||||
android:paddingTop="@dimen/activity_vertical_margin" |
android:src="@drawable/logo_animated" |
||||
tools:context="com.eternalpixels.toinfinity.Info"> |
/> |
||||
|
|
||||
<TextView |
<Space |
||||
android:id="@+id/appName" |
android:id="@+id/space" |
||||
android:layout_width="wrap_content" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="50dp" |
||||
android:layout_alignParentTop="true" |
android:layout_below="@+id/logoView"/> |
||||
android:layout_centerHorizontal="true" |
|
||||
android:text="@string/app_name" |
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" |
|
||||
android:textStyle="bold"/> |
|
||||
|
|
||||
<TextView |
<TextView |
||||
android:id="@+id/version" |
android:id="@+id/appName" |
||||
android:layout_width="wrap_content" |
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:layout_below="@+id/appName" |
android:layout_below="@id/space" |
||||
android:layout_centerHorizontal="true" |
android:layout_centerHorizontal="true" |
||||
android:textAppearance="?android:attr/textAppearanceSmall" |
android:text="@string/app_name" |
||||
android:textStyle="italic"/> |
android:textAppearance="?android:attr/textAppearanceLarge" |
||||
|
android:textSize="25sp" |
||||
|
android:textStyle="bold"/> |
||||
|
|
||||
<ImageView |
<TextView |
||||
android:id="@+id/logoView" |
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_width="wrap_content" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:layout_below="@id/version" |
android:layout_gravity="center" |
||||
android:layout_centerHorizontal="true" |
android:contentDescription="@string/trollGif" |
||||
android:layout_margin="15dp" |
android:foregroundGravity="center" |
||||
android:contentDescription="@string/logo" |
android:src="@drawable/fun" |
||||
android:src="@mipmap/ic_launcher"/> |
/> |
||||
</RelativeLayout> |
</FrameLayout> |
||||
</ScrollView> |
</android.support.design.widget.CoordinatorLayout> |
||||
</LinearLayout> |
|
Loading…
Reference in new issue