0

왜 내 등급 파일이있는 경우에도 ListPopupWindowDialog 재료 외관을 가지고 있지 않습니다API 19의 재료 디자인 (KitKat)?

android { 
    compileSdkVersion 24 
    buildToolsVersion "24" 

defaultConfig { 
    applicationId "com.example.test" 
    minSdkVersion 19 
    targetSdkVersion 24 
    versionCode 1 
    versionName "1c" 
} 

    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro' 
     } 
    } 
} 

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    testCompile 'junit:junit:4.12' 
    compile 'com.android.support:appcompat-v7:24.0.0' 
    compile 'com.android.support:support-v4:24.0.0' 

내가 빌드 도구 등의 다른 버전으로 시도했지만 성공하지. 모든 API 수준에 일관된 AlertDialog를 원하는 경우 android.support.v7.app.AlertDialog를 사용한다

enter image description here

+1

그래서 'AlertDialog'를 만드는 곳은 어디입니까? 'AlertDialog'에 사용하고있는 import는 무엇입니까? – ianhanniballake

+0

@anhanniballake는'AlertDialog'에'import android.app.AlertDialog'을 사용합니다 – Chunrand

+0

@ianhanniballake 제 실수가있는 곳을 찾았습니다. – Chunrand

답변

3

: 이 같은 AlertDialog 보이는 방법이다.

+0

그리고'ListPopouWinow'의 표고는 내가 일할 수 없다. .. – Chunrand

+0

@Chaos - 다른 질문입니다. 표고가 존재하지 않습니다. Lollipop – ianhanniballake

+0

아니요 .. 설정할 속성이 아닙니다. http://maogm.com/images/result.png 테두리 그림자를 확인 하시겠습니까? 내 애플의 그림자 같은 게 없다 .. – Chunrand