Created
October 15, 2017 18:59
-
-
Save nutchy/ff2f86dfacd816bdc4a59a7bf3d9be7a to your computer and use it in GitHub Desktop.
[MyLazyInstagram] - user_detail.xml
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"?> | |
<LinearLayout 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="wrap_content" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="#FFF" | |
android:orientation="horizontal" | |
android:layout_marginTop="10dp"> | |
<ImageView | |
android:id="@+id/avatar" | |
android:layout_width="80dp" | |
android:layout_height="80dp" | |
android:layout_margin="5dp" | |
app:srcCompat="@mipmap/ic_launcher_round" /> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<TextView | |
android:id="@+id/user_id" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="5dp" | |
android:text="\@ID" | |
android:textAlignment="center" /> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="5dp"> | |
<TextView | |
android:id="@+id/post" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="0.3" | |
android:text="Post\n" | |
android:textAlignment="center" /> | |
<TextView | |
android:id="@+id/following" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="0.3" | |
android:text="Following\n" | |
android:textAlignment="center" /> | |
<TextView | |
android:id="@+id/follower" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="0.3" | |
android:text="Follower\n" | |
android:textAlignment="center" /> | |
</LinearLayout> | |
<TextView | |
android:id="@+id/bio" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="5dp" | |
android:text="Bio bla bla bla" | |
android:textAlignment="center" /> | |
</LinearLayout> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment