Page 584 - 3-2
P. 584

tools:context="org.androidtown.mdp_0608.MainActivity">


                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text=" 스마트홈"
                    android:textSize="50dp"
                    android:gravity="center"
                    android:id="@+id/name"/>
                <Button
                    android:background="#fbd373"
                    android:id="@+id/connect"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:onClick="onClicked"
                    android:text="connection"
                    tools:ignore="HardcodedText,InefficientWeight"
                    android:layout_below="@+id/name"
                    android:layout_alignParentStart="true" />
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_below="@+id/disconnect"
                    android:orientation="horizontal"
                    android:id="@+id/linearLayout">
                <Button
                    android:id="@+id/led"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_alignParentStart="true"
                    android:layout_weight="1"
                    android:onClick="ledonClicked"
                    android:text="led on/off"
                    tools:ignore="HardcodedText"
                    android:background="#fecbaa"/>


                <Button
                    android:background="#fecbaa"
                    android:layout_weight="1"
                    android:id="@+id/pan"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:onClick="panonClicked"
                    android:text="pan on/off"
                    tools:ignore="HardcodedText"


                                                         - 584 -
   579   580   581   582   583   584   585   586   587   588   589