Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:orientation="vertical" android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/view_story_votes"
- android:layout_width="80dp"
- android:layout_height="wrap_content"
- android:layout_margin="8dp"
- android:textSize="32sp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintHorizontal_bias="0.375"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toLeftOf="@+id/view_story_guideline"
- app:layout_constraintTop_toTopOf="parent"
- tools:text="1234"
- android:textAlignment="center"/>
- <android.support.constraint.Guideline
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/view_story_guideline"
- android:orientation="vertical"
- app:layout_constraintGuide_begin="88dp" />
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/view_story_title"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="@+id/view_story_guideline"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit."
- android:textStyle="bold"
- android:textSize="18sp"
- />
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/view_story_by"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toLeftOf="@+id/view_story_guideline"
- app:layout_constraintTop_toBottomOf="@id/view_story_title"
- tools:text="silentcon"
- />
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/view_story_separator1"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- android:text="@string/story_info_separator"
- app:layout_constraintTop_toBottomOf="@id/view_story_title"
- app:layout_constraintLeft_toRightOf="@id/view_story_by"/>
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/view_story_domain"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintLeft_toRightOf="@+id/view_story_separator1"
- app:layout_constraintTop_toBottomOf="@id/view_story_title"
- tools:text="google.com"
- />
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/view_story_separator2"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- android:text="@string/story_info_separator"
- app:layout_constraintTop_toBottomOf="@id/view_story_title"
- app:layout_constraintLeft_toRightOf="@id/view_story_domain"/>
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/view_story_time"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintLeft_toRightOf="@id/view_story_separator2"
- app:layout_constraintTop_toBottomOf="@id/view_story_title"
- tools:text="8 hours ago"
- />
- <android.support.v7.widget.AppCompatTextView
- android:id="@+id/view_story_comments"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintLeft_toRightOf="@id/view_story_guideline"
- app:layout_constraintTop_toBottomOf="@id/view_story_by"
- app:layout_constraintBottom_toBottomOf="parent"
- tools:text="100 comments"
- />
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement