Question from the Android test

How to set the padding of a TextView in Android

Medium

In an application supporting a multitude of languages (German, English, Arabic, French, etc...). Given the following TextView. What will be the final padding values of it?

<TextView
    android:id="@+id/text"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:text="Hello World!"
    android:padding="5dp"
    android:paddingBottom="2dp"
    android:paddingEnd="10dp"
    android:paddingHorizontal="30dp"
    android:paddingLeft="20dp"
    android:paddingRight="20dp"
    android:paddingStart="11dp" />
Author: Fanny DemeyStatus: PublishedQuestion passed 46 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!