Created
August 11, 2016 18:28
-
-
Save maksudc/e438b869c7f72cc857e5d1aa4701b622 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"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="horizontal"> | |
<RelativeLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<ImageView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/picField" | |
android:src="@mipmap/profile_picture" | |
android:maxHeight="50dp" | |
android:maxWidth="50dp" | |
android:background="@null" | |
android:scaleType="fitXY" | |
android:adjustViewBounds="true"/> | |
</RelativeLayout> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginRight="10dp" | |
android:layout_marginLeft="10dp" | |
android:background="@color/black"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/titleField" | |
android:text="Demo Text"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/eventDateField" | |
android:text="Demo Text"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/memberCountField" | |
android:text="Demo Text"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/descriptionField" | |
android:text="Demo Text"/> | |
</LinearLayout> | |
<RelativeLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<Button | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/joinPostFieldText" | |
android:id="@+id/joinPostField"/> | |
</RelativeLayout> | |
</LinearLayout> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment