크기 조절 가능한 비트맵 만들기(9-패치 파일) Draw 9-패치 도구는 Android 스튜디오에 포함된 WYSIWYG 편집기로, 뷰의 콘텐츠와 화면 크기를 수용하기 위해 크기가 자동으로 조절되는 비트맵 이미지를 생성할 수 있는 도구입니다. 이미지에서 선택한 부분은 이미지 내에 그려진 표시기를 기반으로 가로 또는 세로 방향으로 크기가 조정됩니다. 다음은 Android 스튜디오에서 Draw 9-패치 도구를 사용하여 NinePatch 그래픽을 만드는 방법을 안내하는 간략한 가이드입니다. NinePatch 이미지를 만들기 위해 PNG 이미지가 필요할 것입니다. Android 스튜디오에서 NinePatch 이미지를 생성하려는 PNG 이미지를 마우스 오른쪽 버튼으로 클릭하고 Create 9-patch file을 ..
Window10 Java 프로그램 실행안될때 32bit로 설치후 실행하면 동작 합니다. Java 를 제공하는 Oracle 홈페이지 접속 https://www.oracle.com/technical-resources/ Get the latest product technical information from Oracle Oracle Technical Resources provides services and resources to help developers, DBAs, and architects build, deploy, manage, and optimize applications www.oracle.com Java Downloads 페이지에 들어가서 Java (JDK) for Developers 으로 들어감..
Debug keystore SHA-1 value check Error1: This app is not authorized to use Firebase Authentication. Please verify that the correct package name and SHA-1 are configured in the Firebase Console. Error 2: com.google.android.gms.common.api.ApiException:10: Android Studio 오른편에 보면 ‘Gradle’라는 버튼이 있습니다. Gradle 뷰안에서 SHA-1 값을 조회하기를 원하는 프로젝트를 선택한 다음 ‘Tasks → android → signingReport’를 더블 클릭하면 위 그림에서처럼 ‘Gra..
EditText에 inputType을 textPassword 로 지정하면 *** 표시와 같이 패스워드 내용이 가려지게 된다. CheckBox 를 추가하고 체크되면 입력한 패스워드가 보여지게되고 체크가 해제되면 다시 숨기고 싶을때 아래의 방법을 참고 하여 코드를 작성하자. 주석처리된 코드를 이용하거나 아래의 코드를 그대로 사용하면 된다. checkBox_passwd_show = findViewById(R.id.checkBox_passwd_show); checkBox_passwd_show.setOnClickListener(new CheckBox.OnClickListener() { @Override public void onClick(View v) { if (checkBox_passwd_show.isCheck..
Publishing to Google Play Store Android requires that all apps be digitally signed with a certificate before they can be installed. In order to distribute your Android application via Google Play store it needs to be signed with a release key that then needs to be used for all future updates. Since 2017 it is possible for Google Play to manage signing releases automatically thanks to App Signing..