Page 516 - 3-3
P. 516

android:layout_height="wrap_content"
                        android:layout_marginRight="10dp"
                        android:background="@drawable/apartment"/>
                    <TextView     <!-- “Outside APP”   문구를 표시하는 TextView -->
                        android:id="@+id/textView2"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_vertical"
                        android:text="Outside APP"
                        android:textSize="30sp"
                        android:textStyle="bold"
                        android:textColor="#ffffff"/>
                </LinearLayout>
            </android.support.constraint.ConstraintLayout>


             처음 어플을 시작 시 나오는 로딩화면이다.


                타. activity_main


            <?xml version="1.0" encoding="utf-8"?>
            <android.support.design.widget.CoordinatorLayout
            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:id="@+id/main_content"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:fitsSystemWindows="true"
                tools:context="com.example.jbtc_01_06.outside.MainActivity">


                <!--  화면 상단을 차지하는 AppBar. Toolbar         와 TabLayout   으로 구성됨 -->
                <android.support.design.widget.AppBarLayout
                    android:id="@+id/appbar"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">
                    <android.support.v7.widget.Toolbar    <!--  어플리케이션 최상단의 Toolbar -->
                        android:id="@+id/toolbar"
                        android:layout_width="match_parent"
                        android:layout_height="?attr/actionBarSize"
                        android:background="#AAF68800"
                        app:layout_scrollFlags="scroll|enterAlways">
                    </android.support.v7.widget.Toolbar>
                    <android.support.design.widget.TabLayout     <!-- Tab 을 표시하는 Layout -->
                        android:id="@+id/tabs"
                        android:layout_width="match_parent"


                                                        - 516 -
   511   512   513   514   515   516   517   518   519   520   521