Twitter redesign: Text style
android:layout_marginLeft="8dp"
android:layout_marginTop="4dp"
android:ellipsize="end"
+ android:maxLength="20"
android:maxLines="1"
android:textColor="@android:color/white"
android:textStyle="bold"
- app:layout_constraintLeft_toRightOf="@id/tweet_user_image"
- app:layout_constraintStart_toEndOf="@id/tweet_user_image"
+ app:layout_constraintEnd_toStartOf="@+id/tweet_user_handle"
+ app:layout_constraintStart_toEndOf="@+id/tweet_user_image"
app:layout_constraintTop_toTopOf="@+id/tweet_user_image"
tools:text="Critical Maps" />
android:layout_marginRight="8dp"
android:maxLines="1"
android:textColor="@color/twitter_nickname"
- app:layout_constraintBottom_toBottomOf="@+id/tweet_user_name"
app:layout_constraintEnd_toStartOf="@+id/tweet_creation_date_time"
- app:layout_constraintLeft_toRightOf="@id/tweet_user_name"
- app:layout_constraintRight_toLeftOf="@id/tweet_creation_date_time"
app:layout_constraintStart_toEndOf="@+id/tweet_user_name"
app:layout_constraintTop_toTopOf="@+id/tweet_user_name"
tools:text="\@CriticalMapsDoubleLengthName" />
android:layout_marginRight="16dp"
android:textColor="@android:color/white"
android:textSize="12sp"
- app:layout_constraintBottom_toBottomOf="@+id/tweet_user_name"
+ android:textStyle="bold"
+ app:layout_constraintBottom_toBottomOf="@+id/tweet_user_handle"
app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="@id/tweet_user_name"
- tools:text="01.01.2015" />
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toEndOf="@+id/tweet_user_handle"
+ app:layout_constraintTop_toTopOf="@+id/tweet_user_handle"
+ tools:text="02. Nov" />
<TextView
android:id="@+id/tweet_text"
