aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-06-10 17:40:00 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2015-06-10 17:40:00 +0200
commitc8790f404aaf76db967a16c8fea79eb6f90c8bce (patch)
tree71720205a472a9e3565354e0fe9748fe13a6b7a8 /OpenKeychain/src/main/res/layout/decrypt_list_entry.xml
parenta48de4cd846d5a818e8d1b19e06751cdfa730dbb (diff)
downloadopen-keychain-c8790f404aaf76db967a16c8fea79eb6f90c8bce.tar.gz
open-keychain-c8790f404aaf76db967a16c8fea79eb6f90c8bce.tar.bz2
open-keychain-c8790f404aaf76db967a16c8fea79eb6f90c8bce.zip
multi-decrypt: switch to cardview
Diffstat (limited to 'OpenKeychain/src/main/res/layout/decrypt_list_entry.xml')
-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