xml에서  예를 들면 

<ScrollView
     android:fadingEdge="none"
     android:layout_width="fill_parent"
     android:layout_height="0dp" 
android:layout_weight="1" >
     <LinearLayout
     android:orientation="vertical"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:gravity="center" >


    </LinearLayout>
    </ScrollView>

이걸 계속 써야 하는데   이걸 따로 정의해서 
<ScrollView
     android:fadingEdge="none"
     android:layout_width="fill_parent"
     android:layout_height="0dp" 
android:layout_weight="1" >
     <LinearLayout
     android:orientation="vertical"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:gravity="center" >
이부분을 다 안쓰고 <openscrolllinear>  이렇게 줄여서 쓰고 
안이다
     <TextView  
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:textSize="40dp"
     android:text="9번라인" />
이런걸 이런 필요 요소 들을 입력후 
    </LinearLayout>
    </ScrollView> 이것을  </openscrolllinear>이런식으로 정의해서 만들고 싶은데 
이런게 만들 방법 없나요?
제가 알고 있는것이라곤 
<ScrollView 이걸 쓴후 
     android:fadingEdge="none"
     android:layout_width="fill_parent"
     android:layout_height="0dp" 
android:layout_weight="1"
이걸 스탈일로 정의해서 불러오는 방법밖에는 모르는데..
profile