일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- #다차원포인터
- html charset
- #JAVASCRIPT
- docker example
- #CallByAddress
- mac terminal command
- html id
- 하이퍼레저패브릭
- #binary
- html object
- #성적관리프로그램
- html code
- 토큰경제
- html5 new tag
- border-box
- #C++ has~a
- html plug-in
- git flow
- html youtube
- #자바상속#자바이즈어#is~a
- hyperledger transaction
- #1차원배열
- #android activity
- relative path
- html multimedia
- html video
- #3차원배열
- #bubbleSort
- #C++ 연산자함수오버로딩
- #2차원배열
Archives
- Today
- Total
A sentimental robot
GridLayout2 본문
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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.example.i310_54.myapplication08.MainActivity"
>
<GridLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:columnCount="4"
android:rowCount="3"
>
<Button android:text="Button" android:layout_row="0" android:layout_column="0"
android:layout_columnSpan="2" android:layout_rowSpan="2"
android:layout_gravity="fill"
/>
<!-- <Button android:text="Button" android:layout_row="0" android:layout_column="1"/>-->
<Button android:text="Button" android:layout_row="0" android:layout_column="2"/>
<Button android:text="Button" android:layout_row="0" android:layout_column="3"
android:layout_rowSpan="2" android:layout_gravity="fill_vertical"/>
<!--<Button android:text="Button" android:layout_row="1" android:layout_column="0"/>
<Button android:text="Button" android:layout_row="1" android:layout_column="1"/>-->
<Button android:text="Button" android:layout_row="1" android:layout_column="2"/>
<!--<Button android:text="Button" android:layout_row="1" android:layout_column="3" />-->
<Button android:text="Button" android:layout_row="2" android:layout_column="0"
android:layout_columnSpan="4" android:layout_gravity="fill_horizontal"/>
<!--<Button android:text="Button" android:layout_row="2" android:layout_column="1" />
<Button android:text="Button" android:layout_row="2" android:layout_column="2"/>
<Button android:text="Button" android:layout_row="2" android:layout_column="3" />-->
</GridLayout>
</LinearLayout>
'Android Studio' 카테고리의 다른 글
RelativeLayout (0) | 2018.02.06 |
---|---|
Handler (0) | 2018.02.05 |
GridLayout (0) | 2018.02.05 |
배경색 자동으로 바꾸기 (0) | 2018.02.01 |
TableLayout (0) | 2018.02.01 |