Skip to content

Instantly share code, notes, and snippets.

@graffiti75
Created May 5, 2017 22:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graffiti75/b12d088df6bad4c84db3f0967bbe4094 to your computer and use it in GitHub Desktop.
Save graffiti75/b12d088df6bad4c84db3f0967bbe4094 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000"
android:orientation="vertical"
android:weightSum="1"
tools:context="com.example.android.fingerboard.MainActivity">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/powwow"
android:textColor="#FFD700"
android:textSize="34sp"
android:typeface="serif" />
<View
android:layout_width="match_parent"
android:layout_height="4dp"
android:layout_margin="14dp"
android:background="@android:color/darker_gray" />
<ImageView
android:id="@+id/imageView"
android:layout_width="223dp"
android:layout_height="167dp"
android:layout_gravity="center"
android:src="@drawable/fingerboard" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/date"
android:textColor="#FFFFFF"
android:textSize="24sp"
android:typeface="serif" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/local"
android:textAllCaps="true"
android:textColor="#FFFFFF"
android:typeface="serif" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/city"
android:textAllCaps="true"
android:textColor="#FFFFFF"
android:typeface="serif" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:gravity="center_horizontal"
android:text="@string/question1"
android:textColor="#FFD700"
android:textStyle="bold"
android:typeface="serif" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/question2"
android:textColor="#FFD700"
android:textStyle="bold"
android:typeface="serif" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:gravity="center_horizontal"
android:text="@string/meeting_start"
android:textColor="#FFFFFF"
android:typeface="serif" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/game_start"
android:textColor="#FFFFFF"
android:typeface="serif" />
<View
android:layout_width="match_parent"
android:layout_height="4dp"
android:layout_margin="14dp"
android:background="@android:color/darker_gray" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/facebook"
android:textColor="#FFD700" />
</LinearLayout>
</ScrollView>
@JorgeRibeiroGomes
Copy link

Thank you for the review!!! About the scroll view, i think in that but than i thought it was to many things... but i still think that there is lots of improvements that can be made specially not hard coding things like text color or backgrounds....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment