Panduan Praktis Pembuatan Aplikasi Android/TextView
Tampilan
<TextView android:id="@+id/textView" android:layout_width="[fill_parent|wrap_content|70px]" android:layout_height="wrap_content" [android:layout_marginTop="10px"] [android:layout_marginBottom="10px"] [android:layout_marginLeft="10px"] [android:layout_marginRight="10px"] [android:layout_below="@+id/nama_widget"] [android:layout_above="@+id/nama_widget"] [android:layout_toRightOf="@+id/nama_widget"] [android:layout_toLeftOf="@+id/nama_widget"] [android:layout_gravity="[left|center_horizontal|right|top|center_vertical|bottom]"] [android:layout_alignParentTop="true"] [android:layout_alignParentBottom="true"] [android:layout_alignParentRight="true"] [android:layout_alignParentLeft="true"] [android:layout_centerVertical="true"] [android:layout_margin="5dp"] [android:text="Text"] [android:textSize="20sp"] [android:typeface="[sans|monospace|serif]"] [android:gravity="[left|center_horizontal|right|top|center_vertical|bottom]"] [android:lineSpacingExtra="10dp"] [android:isTextSelectable="[true|false]"] [android:padding="5dp"] [style="@android:style/TextAppearance.[Small|Medium|Large]"] />
Pranala luar
[sunting]- (en) TextView.