2017-02-26 4 views

Antwort

1

für Ecke haben Sie drawable wie unten verwenden:

<shape 
xmlns:android="http://schemas.android.com/apk/res/android" 
android:shape="rectangle" 
> 

<!-- view border color and width --> 
<stroke 
    android:width="1dip" 
    android:color="#a4a2a2" > 
</stroke> 

<corners android:radius="180px"> 

</corners> 
<!-- Here is the corner radius --> 

und über Schatten

Ich glaube, Sie meinen android:elevation="8dp"

<Yourbox 
android:width="match_parent" 
android:height="match_parent" 
.... 
android:elevation="8dp" 
android:layout_gravity="center" 
.. 
/> 
+0

danke, und Box-Schatten? –

+0

versuchen, 'android: höhe ' – Ibrahim

+0

thx, aber evelation nicht in CENTER genau –