Page 229 - 3-3
P. 229

app:scale_left="25"
                            app:scale_textsize="8"
                            app:scale_top="135"
                            app:scale_width="80"
                            />


                        <ImageView
                            android:id="@+id/imageView"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_alignParentBottom="true"
                            android:layout_alignParentStart="true"
                            android:layout_marginBottom="51dp"
                            android:layout_marginStart="31dp"
                            app:srcCompat="@drawable/school"
                            app:scale_height="20"
                            app:scale_left="-10"
                            app:scale_top="140"
                            app:scale_width="48"/>




                    </com.ssomai.android.scalablelayout.ScalableLayout>




                </RelativeLayout>




                나) input.xml
                <?xml version="1.0" encoding="utf-8"?>
                <RelativeLayout 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.helloworld.smartschool.Office_menu"
                    android:background="#FFFFFF">


                    <!-- 화면에 맞추기 위해 ScalableLayout         사용-->
                    <com.ssomai.android.scalablelayout.ScalableLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        app:scale_base_width="110"
                        app:scale_base_height="175"
                        android:splitMotionEvents="false"
                        android:layout_alignParentTop="true"


                                                          - 229 -
   224   225   226   227   228   229   230   231   232   233   234