«android» 태그된 질문

Android는 Google의 모바일 운영체제로 디지털 기기 (스마트 폰, 태블릿, 자동차, TV, 마모, 유리, IoT)를 프로그래밍하거나 개발하는 데 사용됩니다. Android 관련 주제의 경우 android-intent, android-activity, android-adapter 등과 같은 Android 관련 태그를 사용하십시오. 개발 또는 프로그래밍 이외의 질문이지만 Android 프레임 워크와 관련된 질문은 다음 링크를 사용하십시오. https : // android.stackexchange.com.

10
취소 선 텍스트를 만드시겠습니까?
Android에서 취소 선 텍스트를 TextView만들 수 있습니까? 태그에 특수 값을 추가 하면 가능합니다. <TextView android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#040404" android:typeface="sans" android:textSize="12dip" android:textStyle="bold"/>

15
Android에서 날짜 및 시간 선택기를 만드는 방법은 무엇입니까? [닫은]
닫은. 이 질문은 스택 오버플로 지침을 충족하지 않습니다 . 현재 답변을받지 않습니다. 이 질문을 개선하고 싶습니까? 질문을 업데이트하여 스택 오버플로에 대한 주제 입니다. 휴일 2 년 전 . 이 질문을 개선하십시오 날짜와 시간을 동시에 선택할 수있는 안드로이드 위젯이 있습니까? 나는 이미 기본 시간 선택기 와 날짜 선택기를 사용하고 있습니다. 그러나 …

8
Android에서 LinearLayout에 TextView를 추가하는 방법
TextViews코드에서 XML 정의 레이아웃에 추가하려고합니다 . 많은 XML 시트 Views가 정의되어 있습니다. 그러나 코드에 몇 가지 뷰를 추가해야하므로 LinearLayoutxml-sheet에을 만듭니다 . <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:id="@+id/info" android:layout_height="wrap_content" android:orientation="vertical"> </LinearLayout> 그리고이 레이아웃에서는 다음을 추가하고 싶습니다 TextView. View linearLayout = findViewById(R.id.info); //LinearLayout layout = (LinearLayout) findViewById(R.id.info); TextView valueTV = new TextView(this); valueTV.setText("hallo hallo"); …

6
프로그래밍 방식으로 Android에서 사용자 정의보기의 높이와 너비 설정
이라는 이름의 사용자 지정보기를 만들었습니다 Graphview. 다음은 GraphView 클래스의 구조입니다. public class GraphView extends View { public GraphView(Context context, float[] values, String title, String[] horlabels, String[] verlabels, boolean type) { super(context); ........ } .................. ................. } 을 사용하여 표를 뷰에 추가했습니다 addview(). 잘 작동합니다. 이제의 높이와 너비를 설정하고 싶습니다 GraphView. …
128 android  view  height  width  params 

4
Android 키 저장소 파일이란 무엇이며 어떤 용도로 사용됩니까?
이것은 일반적인 질문이지만 특히 Android 사용에 관심이 있습니다. 키 스토어 파일이란 무엇이며 어떤 용도로 사용됩니까? 여러 Android 애플리케이션이 동일한 키 저장소를 사용하여 애플리케이션에 서명 할 수 있습니까 (.apk에 "서명"하는 것이 정확히 무엇을 의미합니까?), 이것의 의미는 무엇입니까?
128 android  keystore 


2
Android : 활동을 호출하는 활동에 결과를 반환하는 방법은 무엇입니까?
나는이 Location같은 많은 활동에서 호출 할 수있는 활동 Sign up과 Order. 에서 Location활동이 있도록 활동 사용자는 자신의 위치를 입력 Location라고 불렀다 그 활동이 새로운 위치를 반환합니다. 따라서 Sign up활동 이 활동을 호출 할 때 활동 Location에 데이터를 반환해야합니다 Sign up. 다른 시간에는 Order활동이 동일한 작업을 수행합니다. 노트 나는 당신이 코드를 …


3
Observable vs Flowable rxJava2
나는 새로운 rx java 2를보고 있었고 backpressure더 이상 아이디어를 이해하고 있는지 잘 모르겠습니다 ... 나는 우리 Observable가 backpressure지원 하지 않는 것과 그것을 가지고 있다는 것을 알고 Flowable있습니다. 따라서 예를 들어 다음 flowable과 interval같이 말합니다 . Flowable.interval(1, TimeUnit.MILLISECONDS, Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Consumer<Long>() { @Override public void accept(Long aLong) throws Exception { …
128 java  android  rx-java 


13
Realm Browser에서 Realm 파일을 보려면 어떻게합니까?
방금 Realm을 발견하고 더 자세히 살펴보고 싶었으므로 샘플 응용 프로그램을 만들고 엉망으로 만들었습니다. 여태까지는 그런대로 잘됐다. 그러나 아직 해결하지 못한 것 중 하나는 Realm Browser에서 데이터베이스를 보는 방법입니다. 이것을 어떻게 할 수 있습니까?
127 java  android  realm 

3
ProjectScopeServices에 팩토리 유형의 서비스가 없습니다.
apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.jfrog.bintray' // load properties Properties properties = new Properties() File localPropertiesFile = project.file("local.properties"); if(localPropertiesFile.exists()){ properties.load(localPropertiesFile.newDataInputStream()) } File projectPropertiesFile = project.file("project.properties"); if(projectPropertiesFile.exists()){ properties.load(projectPropertiesFile.newDataInputStream()) } //read properties def projectName = properties.getProperty("project.name") def projectGroupId = properties.getProperty("project.groupId") def projectArtifactId = properties.getProperty("project.artifactId") def projectVersionName = android.defaultConfig.versionName def projectPackaging = properties.getProperty("project.packaging") …
127 android  bintray 


10
ImageButton에 텍스트를 표시하는 방법?
나는 ImageButton있고 그것에 텍스트와 이미지를 보여주고 싶습니다. 그러나 에뮬레이터를 시도하면 : <ImageButton android:text="OK" android:id="@+id/buttonok" android:src="@drawable/buttonok" android:layout_width="match_parent" android:layout_height="wrap_content" /> 텍스트는 없지만 이미지를 얻습니다. 텍스트를 어떻게 표시 할 수 있습니까? 도와주세요!


당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.