aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/src')
-rw-r--r--OpenKeychain/src/main/res/layout/decrypt_list_entry.xml24
1 files changed, 15 insertions, 9 deletions
diff --git a/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml b/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml
index f5cb5b22a..5832c1ff7 100644
--- a/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml
+++ b/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml
@@ -1,18 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
+<android.support.v7.widget.CardView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:card_view="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/card_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="@drawable/attachment_bg_holo"
- android:paddingTop="4dp"
- android:paddingBottom="4dp"
- android:paddingRight="8dp"
- android:paddingLeft="8dp"
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools">
+ android:layout_margin="4dp"
+ card_view:cardBackgroundColor="@android:color/white"
+ card_view:cardElevation="2dp"
+ card_view:cardUseCompatPadding="true"
+ card_view:cardCornerRadius="4dp" >
<ViewAnimator
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:paddingTop="4dp"
+ android:paddingBottom="4dp"
+ android:paddingRight="8dp"
+ android:paddingLeft="8dp"
android:inAnimation="@anim/fade_in"
android:outAnimation="@anim/fade_out"
android:id="@+id/view_animator">
@@ -234,4 +240,4 @@
</ViewAnimator>
-</LinearLayout> \ No newline at end of file
+</android.support.v7.widget.CardView> \ No newline at end of file