Skip to content

Commit

Permalink
add a default image background
Browse files Browse the repository at this point in the history
  • Loading branch information
xmuSistone committed May 23, 2017
1 parent b3ec59f commit 1a2164e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/src/main/res/drawable/default_back.xml
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffff" />

<stroke
android:width="1px"
android:color="#dadada" />
<corners android:radius="5dp" />
</shape>
1 change: 1 addition & 0 deletions app/src/main/res/layout/item_layout.xml
Expand Up @@ -2,6 +2,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:background="@drawable/default_back"
android:layout_height="match_parent">


Expand Down

1 comment on commit 1a2164e

@Caoyaping
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so nice

Please sign in to comment.