Skip to content

Commit

Permalink
Added rest resources files
Browse files Browse the repository at this point in the history
  • Loading branch information
opticod committed Aug 8, 2016
1 parent e3c9d9a commit 28eaa37
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
android:orientation="horizontal">

<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/cardview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/margin_mini"
app:cardBackgroundColor="@color/white_primary_text"
app:cardCornerRadius="@dimen/margin_mini">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/image_quiz" />

<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/transparent_black" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical">

<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="@dimen/margin_mini"
android:layout_marginRight="@dimen/margin_mini"
android:background="@color/grey_shade_4" />

<TextView
android:id="@+id/answertext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/margin_large"
android:paddingTop="@dimen/margin_large"
android:textColor="@color/white_color"
android:textSize="@dimen/font_small"
android:textStyle="bold" />

<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="@dimen/margin_mini"
android:layout_marginRight="@dimen/margin_mini"
android:background="@color/grey_shade_4" />
</LinearLayout>

</FrameLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center"
android:orientation="horizontal">

<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/cardview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/margin_mini"
app:cardBackgroundColor="@color/white_primary_text"
app:cardCornerRadius="@dimen/margin_mini">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<ImageView
android:id="@+id/questionimage"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:scaleType="centerCrop"
android:src="@drawable/image_quiz" />
</LinearLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_about"
android:focusableInTouchMode="true"
android:icon="@drawable/ic_info_outline_white_24dp"
android:orderInCategory="100"
android:title="@string/title_activity_about"
app:showAsAction="always" />

</menu>

0 comments on commit 28eaa37

Please sign in to comment.