Fix margin issue with screen name

This commit is contained in:
tom79 2019-05-12 18:38:51 +02:00
parent 8476ebd5ed
commit bc7dcdde1f
4 changed files with 7 additions and 2 deletions

View File

@ -7,7 +7,7 @@ android {
applicationId "fr.gouv.etalab.mastodon" applicationId "fr.gouv.etalab.mastodon"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 28 targetSdkVersion 28
versionCode 263 versionCode 264
versionName "1.81.0" versionName "1.81.0"
multiDexEnabled true multiDexEnabled true
renderscriptTargetApi 28 as int renderscriptTargetApi 28 as int

View File

@ -221,13 +221,16 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<TextView <TextView
android:layout_marginLeft="5dp"
android:layout_marginStart="5dp"
android:textSize="12sp" android:textSize="12sp"
android:maxLines="1" android:maxLines="1"
android:ellipsize="end" android:ellipsize="end"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_weight="1" android:layout_weight="1"
android:id="@+id/status_account_username" android:id="@+id/status_account_username"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
/>
<TextView <TextView
android:layout_marginStart="2dp" android:layout_marginStart="2dp"
android:layout_marginLeft="2dp" android:layout_marginLeft="2dp"

View File

@ -180,6 +180,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<TextView <TextView
android:layout_marginLeft="5dp"
android:layout_marginStart="5dp"
android:textSize="12sp" android:textSize="12sp"
android:maxLines="1" android:maxLines="1"
android:ellipsize="end" android:ellipsize="end"