Created
October 5, 2017 16:27
-
-
Save theerasan/5aa8fddeb34e3c963ae7c233b6112110 to your computer and use it in GitHub Desktop.
activity_main.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v4.widget.NestedScrollView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<android.support.v7.widget.CardView | |
android:id="@+id/card_view" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_margin="16dp" | |
android:clickable="true" | |
android:foreground="?android:attr/selectableItemBackground" | |
app:cardBackgroundColor="#000000" | |
app:cardCornerRadius="20dp" | |
app:cardElevation="10dp"> | |
<ImageView | |
android:id="@+id/imageBackground" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:scaleType="centerCrop" | |
android:src="@drawable/bg1"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:padding="20dp"> | |
<ImageView | |
android:layout_width="80dp" | |
android:layout_height="80dp" | |
android:layout_marginBottom="16dp" | |
android:src="@drawable/ic_launcher_round"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/happy" | |
android:textColor="#daffffff" | |
android:textSize="20sp"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/coding_with" | |
android:textColor="#daffffff" | |
android:textSize="20sp"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/eatigo" | |
android:textColor="#ffffff" | |
android:textSize="48sp" | |
android:textStyle="bold"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="32dp" | |
android:text="@string/we_looking_for_godhand_developer_both_android_and_ios" | |
android:textColor="#daffffff" | |
android:textSize="14sp" | |
android:textStyle="normal"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="end" | |
android:layout_marginTop="8dp" | |
android:background="@drawable/rounded_bg" | |
android:paddingEnd="16dp" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:paddingStart="16dp" | |
android:text="@string/detail" | |
android:textColor="#000000" | |
android:textSize="14sp"/> | |
</LinearLayout> | |
</android.support.v7.widget.CardView> | |
<android.support.v7.widget.CardView | |
android:id="@+id/card_view2" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_margin="16dp" | |
android:clickable="true" | |
android:foreground="?android:attr/selectableItemBackground" | |
app:cardBackgroundColor="#000000" | |
app:cardCornerRadius="20dp" | |
app:cardElevation="10dp"> | |
<ImageView | |
android:id="@+id/imageBackground2" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:scaleType="centerCrop" | |
android:src="@drawable/bg1"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:padding="20dp"> | |
<ImageView | |
android:layout_width="80dp" | |
android:layout_height="80dp" | |
android:layout_marginBottom="16dp" | |
android:src="@drawable/ic_launcher_round"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/happy" | |
android:textColor="#daffffff" | |
android:textSize="20sp"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/coding_with" | |
android:textColor="#daffffff" | |
android:textSize="20sp"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/eatigo" | |
android:textColor="#ffffff" | |
android:textSize="48sp" | |
android:textStyle="bold"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="32dp" | |
android:text="@string/we_looking_for_godhand_developer_both_android_and_ios" | |
android:textColor="#daffffff" | |
android:textSize="14sp" | |
android:textStyle="normal"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="end" | |
android:layout_marginTop="8dp" | |
android:background="@drawable/rounded_bg" | |
android:paddingEnd="16dp" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:paddingStart="16dp" | |
android:text="@string/detail" | |
android:textColor="#000000" | |
android:textSize="14sp"/> | |
</LinearLayout> | |
</android.support.v7.widget.CardView> | |
<Button | |
android:id="@+id/applyButton" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:backgroundTint="#482509" | |
android:text="@string/apply_for_job" | |
android:textColor="#fff"/> | |
</LinearLayout> | |
</android.support.v4.widget.NestedScrollView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment