Monday, February 5, 2018

Android Stickers and other new Mo

$*#@%$ ca-app-pub-6084316122566523/1287182667
What is Android Text View

A user interface element that displays text to the user.

 <LinearLayout
       xmlns:android="http://schemas.android.com/apk/res/android"
       android:layout_width="match_parent"
       android:layout_height="match_parent">
    <TextView
        android:id="@+id/text_view_id"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:text="@string/hello" />
 </LinearLayout>
TextView textView = (TextView) findViewById(R.id.textView);
textView.setText("AbhiAndroid"); //set text for text view

No comments:

Post a Comment