일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
29 | 30 | 31 |
- html video
- #binary
- #3차원배열
- #자바상속#자바이즈어#is~a
- html charset
- html multimedia
- #2차원배열
- #CallByAddress
- #1차원배열
- docker example
- #bubbleSort
- html code
- git flow
- 토큰경제
- #다차원포인터
- #성적관리프로그램
- html plug-in
- 하이퍼레저패브릭
- #JAVASCRIPT
- #android activity
- html object
- hyperledger transaction
- mac terminal command
- #C++ has~a
- #C++ 연산자함수오버로딩
- border-box
- html youtube
- html id
- html5 new tag
- relative path
- Today
- Total
목록Android Studio (21)
A sentimental robot
xml version="1.0" encoding="utf-8"?>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" > android:layout_width="match_parent"..
* android:layout_row 와 column은 필수 속성은 아니지만 그 부분(ex.0,1)만 지우고 싶을때 주석 잡고 쓰임
package com.example.i310_54.myapplication08; import android.graphics.Color; import android.os.CountDownTimer; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import java.util.Random; public class Main..
TableLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="#ff0000" android:stretchColumns="0,1,2"> TableRow> Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button" /> Button and..
// MainActivity.java public void f1(View view) { Intent intent=new Intent(getApplicationContext(),AppleActivity.class); intent.putExtra("text3",new Tiger(10,"sora")); // 객체 넘기기 // 배열 넘기기int ar[]=new int[]{1,2,3,4,5}; intent.putExtra("text4",ar); String str[]=new String[]{"so","ra"}; intent.putExtra("text5",str);Tiger []ta2=new Tiger[]{ new Tiger(100,"개나리"), new Tiger(200,"민들레"), new Tiger(300,"버..
//activity_main.xml // MainActivity.java package com.example.i310_54.myapplication01; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.DataSetObserver; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.ut..
// activity_main.xml // MainActivity.java package com.example.i310_54.myapplication01; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.DataSetObserver; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.u..
// activity_main.xml // milk.xml // MainActivity.java class Milk{ String name; int age; public Milk(String name, int age) { this.name = name; this.age = age; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } } class MilkAdapter extends ArrayAdapter{ Context context;..