2011-11-23 2 views
2
<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:background="@color/yellow" 
    android:orientation="vertical" > 
    <LinearLayout 
     android:id="@+id/progresscontent" 
     android:layout_width="266dp" 
     android:layout_height="52dp" 
     android:layout_margin="8dp" 
     android:background="@color/red" 
     android:orientation="horizontal" > 

     <ProgressBar 
      android:id="@+id/progress" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:layout_marginRight="12dip" 
      android:visibility="visible" 
      android:padding="5dp" 
      style="@android:style/Widget.ProgressBar.Inverse"/> 

     <TextView 
      android:id="@+id/progressmessage" 
      style="@style/DialogText.Title" 
      android:layout_width="wrap_content" 
      android:layout_height="wrap_content" 
      android:paddingBottom="10dip" 
      android:paddingLeft="40dip" 
      android:paddingTop="10dip" 
      android:textColor="@color/codeFont" 
      android:textSize="15dip" /> 

    </LinearLayout> 

</LinearLayout> 

내 자신의 사용자 지정 대화 상자를 만들려고하는데 여기에 한 가지 문제가 있습니다. 사용자 정의 대화 상자 테두리는 항상 흰색으로 표시됩니다. 문제는 무엇입니까? 제발 도와주세요. 당신이 대화 국경 당신이 레이아웃 스타일를 사용할 필요가 원하는 색상과 테마에 표시 할 경우 enter image description here사용자 지정 대화 상자 테두리가 항상 흰색입니다.

+1

스크린 샷을 추가 할 수 있습니까? – Arslan

+0

스냅 = 1000 단어 –

+0

시도해 볼 수 있습니다. http://stackoverflow.com/questions/5910239/how-to-remove-border-in-custom-alertdialog –

답변

관련 문제