Page 648 - 3-2
P. 648

</manifest>
            //activity_main.xml
            <?xml version="1.0" encoding="utf-8"?>
            <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"


            xmlns:app="http://schemas.android.com/apk/res-auto"
            xmlns:tools="http://schemas.android.com/tools"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            tools:context="com.example.user.mosquito_empty_1.MainActivity"
            android:orientation="vertical"
            android:weightSum="1">


            <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">


            <TextView
            android:id="@+id/tf1"
            android:layout_width="130dp"
            android:layout_height="match_parent"
            android:layout_weight="0.45"
            android:text=" 웨웽이"
            android:textAlignment="center"
            android:textAllCaps="true"
            android:textSize="30sp" />


            <ToggleButton
            android:id="@+id/toggleButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="ToggleButton" />


            </LinearLayout>


            <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">


            <TextView
            android:id="@+id/tf2"


                                                         - 648 -
   643   644   645   646   647   648   649   650   651   652   653