Created
June 11, 2014 04:08
-
-
Save SemonCat/ce1d718b68da84cf462f 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
<RelativeLayout | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:gravity="center" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<com.makeramen.RoundedImageView | |
android:id="@+id/avatar" | |
android:layout_width="100dp" | |
android:layout_height="100dp" | |
android:maxWidth="50dp" | |
android:maxHeight="50dp" | |
android:layout_margin="10dp" | |
android:scaleType="centerCrop" | |
app:corner_radius="360dip" | |
app:border_width="2dip" | |
app:border_color="#333333" | |
app:round_background="true"/> | |
<TextView | |
android:id="@+id/name" | |
android:layout_height="wrap_content" | |
android:layout_width="wrap_content" | |
android:text="里里里" | |
android:layout_below="@+id/avatar" | |
android:layout_alignLeft="@+id/avatar" | |
android:layout_alignRight="@+id/avatar" | |
android:gravity="center"/> | |
<TextView | |
android:id="@+id/department" | |
android:layout_height="wrap_content" | |
android:layout_width="wrap_content" | |
android:text="資工系" | |
android:layout_below="@+id/name" | |
android:layout_alignLeft="@+id/avatar" | |
android:layout_alignRight="@+id/avatar" | |
android:gravity="center"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment