Created
May 15, 2018 09:24
-
-
Save mohamedebrahim96/04057c580c92513e0dde5a3eda828853 to your computer and use it in GitHub Desktop.
This file contains 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"?> | |
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:layout_centerVertical="true" | |
android:background="@color/black" | |
android:layout_gravity="center" | |
> | |
<RelativeLayout | |
android:layout_width="250dp" | |
android:background="@color/colorPrimary" | |
android:layout_height="150dp"> | |
<ImageView | |
android:layout_width="300dp" | |
android:layout_height="150dp" | |
android:src="@drawable/cover" | |
android:scaleType="centerCrop" | |
/> | |
<EditText | |
android:layout_width="match_parent" | |
android:layout_height="40dp" | |
android:layout_margin="12dp" | |
android:layout_alignParentBottom="true" | |
android:layout_centerHorizontal="true" | |
android:background="@color/white"/> | |
</RelativeLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can create like this layout ....