안드로이드

 

 

 

 

 

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context="com.example.cyj.myapplication.MainActivity">


    <Button
        android:text="Button1"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:id="@+id/button"
        android:layout_weight="1"
        />

    <Button
        android:text="Button2"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:id="@+id/button2"
        android:layout_weight="1"
        />

</LinearLayout>

 

 

 

 

 

 

 

 

about author

PHRASE

Level 60  머나먼나라

챈 발이 곱 챈다 , 어려움에 빠진 사람이 더욱 어렵게 됨을 이르는 말.

댓글 ( 4)

댓글 남기기

작성