1. shift+ctrl+P 를 눌러 install을 검색 Install Package를 선택한다.



2. 설치할 패키지에 sftp를 검색하여 선택한다.



3. 설치가 완료되면 FTP 연결할 폴더를 우클릭하여 FTP메뉴에 Map to Remote... 를 선택한다.



4. 사진을 참고하여 FTP 설정을 변경한다. (안될경우 "type": "ftp"로 다시 시도.)



'Web' 카테고리의 다른 글

패킷 부호 명칭 정의(SOH, STX, ...)  (0) 2020.02.20
[PHP] FTP 파일질라 설정  (0) 2019.02.26

Main Camera 선택 Inspector뷰의 Projection을 Perspective -> Orthographic 변경.



'유니티' 카테고리의 다른 글

[유니티]Object 삭제  (0) 2019.03.04
[유니티] Object 좌우 이동  (0) 2019.03.02
[유니티] Object에 Script연결  (0) 2019.03.01
[유니티] 2D 배경 설정  (0) 2019.02.28
[유니티] 유니티 API 메뉴얼  (0) 2019.02.26

TextView는 긴 문자열의 생략을 표현할 수 있다.


1) 레이아웃에서 표현방법.


- ellipsize 속성을 사용한다.


1
2
3
4
5
6
7
    <TextView
        android:id="@+id/textView2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:singleLine="true"
        android:ellipsize="end"
        android:text="레이아웃에서 설정한 문자 생략 : 반갑습니다. 안녕하세요. 봄여름가을겨울"/>
cs


2) 클래스에서 표현방법.


- setEllipsize 메소드를 사용한다.


1
2
3
4
5
6
7
8
9
10
11
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
 
        TextView textView1 = (TextView) findViewById(R.id.textView1);
 
        textView1.setEllipsize(TextUtils.TruncateAt.END);
        textView1.setSingleLine(true);
        textView1.setText("프로그램에서 설정한 문자 생략 : 반갑습니다. 안녕하세요. 봄여름가을겨울");
    }
cs


'Android' 카테고리의 다른 글

[Android] ProgressBar Customize  (0) 2019.03.04
[Android] ProgressBar 표시하기  (0) 2019.03.02
[Android] gravity 속성  (0) 2019.03.01
[Android] style 속성 사용  (0) 2019.02.28
[Android] TextView에 HTML링크 넣기  (0) 2019.02.26


1) 파일질라 다운로드

Download FileZilla Client for Windows (32bit)
Download FileZilla Client 3.40.0 for Windows (32bit)
filezilla-project.org

2) 파일질라 설정


상단의 사이트 관리자 버튼 클릭 - 호스트, 사용자 입력




'Web' 카테고리의 다른 글

패킷 부호 명칭 정의(SOH, STX, ...)  (0) 2020.02.20
[PHP] sublime text(서브라임텍스트) FTP 설정  (0) 2019.02.27

유니티 API 메뉴얼 https://docs.unity3d.com/kr/current/Manual/index.html


Unity User Manual (2018.3 beta) - Unity 매뉴얼
Unity 에디터를 사용하여 2D 및 3D 게임, 앱 및 경험을 만들 수 있습니다. unity3d.com에서 에디터를 다운로드합니다.
docs.unity3d.com


'유니티' 카테고리의 다른 글

[유니티]Object 삭제  (0) 2019.03.04
[유니티] Object 좌우 이동  (0) 2019.03.02
[유니티] Object에 Script연결  (0) 2019.03.01
[유니티] 2D 배경 설정  (0) 2019.02.28
[유니티] 메인카메라 3D -> 2D 변경  (0) 2019.02.27

Android에서 TextView에 HTML링크를 넣는 방법 2가지.


1) 레이아웃에 직접 써주는 방법


- TextView의 autoLink 속성을 사용하여 URL을 넣어준다.

1
2
3
4
5
6
7
8
9
10
11
<TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:autoLink="web"
        android:text="레이아웃에서 설정한 URL https://www.google.com"/>
 
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:autoLink="web"
        android:text="레이아웃에서 설정한 URL https://www.naver.com"/>
cs


2) 클래스에서 메소드를 이용하여 넣는 방법.


- setAutoLinkMask 메소드를 이용하여 URL을 넣어준다.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
 
        TextView textView1 = (TextView) findViewById(R.id.textView1);
        TextView textView2 = (TextView) findViewById(R.id.textView2);
 
        textView1.setAutoLinkMask(Linkify.WEB_URLS);
        textView2.setAutoLinkMask(Linkify.WEB_URLS);
 
        textView1.setText("프로그램에서 설정한 URL https://www.google.com");
        textView2.setText("프로그램에서 설정한 URL https://www.naver.com");
    }
cs


'Android' 카테고리의 다른 글

[Android] ProgressBar Customize  (0) 2019.03.04
[Android] ProgressBar 표시하기  (0) 2019.03.02
[Android] gravity 속성  (0) 2019.03.01
[Android] style 속성 사용  (0) 2019.02.28
[Android] TextView에 긴 문자열 생략해서 표시하기  (0) 2019.02.27

+ Recent posts