나는 모서리를 가지고 노는 중이었고, 나는이 행동에 흥미가있었습니다. XML 레이아웃 :Android : 모양 "모서리"문제. 이거 버그 야?
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/list_header_title"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:padding="10dip"
android:gravity="center_vertical"
android:background="@layout/my_outline"
android:text="Example"
android:textSize="14sp"
android:textStyle="bold"
/>
이 my_outline.xml입니다 : 이 (모서리 태그에주의)
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
android:topLeftRadius="10dip"
android:bottomRightRadius="10dip"/>
<padding
android:left="50dip"
android:top="5dip"
android:bottom="5dip" />
<solid
android:color="#0fff" />
<stroke
android:width="1dip"
android:color="#f0f0f0" />
</shape>
사진 :
변경 모양 :
<corners
android:topLeftRadius="10dip"
android:bottomLeftRadius="10dip"/>
그리고 하단 모서리가 거꾸로되어 있음을 분명히 볼 수 있습니다 (모든 경우에 나는 설명하기 위해 "수요일"을 자릅니다). 이것은 내 휴대 전화의 사진입니다 (넥서스 S 2.3.2하지만,뿐만 아니라 에뮬레이터에서 발생) : 당신이 알고
있습니까? 나는 Google ("안드로이드 모양 거꾸로 된 구석")을 보았고, 아무것도 얻지 못했다. 여기에 "관련 질문"이 없습니다.
나는 똑같은 문제에 직면했다 !! 그리고 나는 그것을 버그라고 생각한다. – Chandrashekhar