greg
greg

Reputation: 1

Android preferences xml design help needed

I need some help about android preferences to a window XML file, so look what I want:

enter image description here

for 2) on a picture I create only the line but isn't correct, my code is:

<View
  android:layout_width="match_parent"
  android:layout_height="1dp"
  android:background="#A4A4A4"
  android:layout_marginTop="7dp"
/>

and my second problem I need this mask code for corners on popup windows like this:

enter image description here

Upvotes: 0

Views: 68

Answers (2)

Jaydeep parmar
Jaydeep parmar

Reputation: 569

You can use cardview and second option is you can create file in drawable and add it in background.

Upvotes: 1

G&#246;kberk Yağcı
G&#246;kberk Yağcı

Reputation: 436

You can use cardview and elevation attiribute for the first question. Second question you need to move your view into root parent which has really full width.

Upvotes: 0

Related Questions