diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-06-11 18:30:39 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-06-11 18:30:39 +0200 |
commit | 3b67992babe7c60a336bf1243dd4245fc7a4b0ae (patch) | |
tree | 8bf69604f18c3d096d22e7bb8b4cf6668e5b4f28 /OpenKeychain/src/main/res/layout/decrypt_list_entry.xml | |
parent | baea31847022ce88906a0190638ddffed82c8a7c (diff) | |
download | open-keychain-3b67992babe7c60a336bf1243dd4245fc7a4b0ae.tar.gz open-keychain-3b67992babe7c60a336bf1243dd4245fc7a4b0ae.tar.bz2 open-keychain-3b67992babe7c60a336bf1243dd4245fc7a4b0ae.zip |
add ToolableViewAnimator
Diffstat (limited to 'OpenKeychain/src/main/res/layout/decrypt_list_entry.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/decrypt_list_entry.xml | 21 |
1 files changed, 12 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 5832c1ff7..6cd2c0ae6 100644 --- a/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml +++ b/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml @@ -2,17 +2,18 @@ <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" + xmlns:custom="http://schemas.android.com/apk/res-auto" android:id="@+id/card_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="4dp" - card_view:cardBackgroundColor="@android:color/white" - card_view:cardElevation="2dp" - card_view:cardUseCompatPadding="true" - card_view:cardCornerRadius="4dp" > + custom:cardBackgroundColor="@android:color/white" + custom:cardElevation="2dp" + custom:cardUseCompatPadding="true" + custom:cardCornerRadius="4dp" + > - <ViewAnimator + <org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="4dp" @@ -21,9 +22,10 @@ android:paddingLeft="8dp" android:inAnimation="@anim/fade_in" android:outAnimation="@anim/fade_out" - android:id="@+id/view_animator"> + android:id="@+id/view_animator" + custom:initialView="1" + > - <!-- --> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" @@ -172,6 +174,7 @@ <View android:layout_width="match_parent" android:layout_height="1dip" + tools:layout_height="2dip" android:background="?android:attr/listDivider" /> <LinearLayout @@ -238,6 +241,6 @@ </LinearLayout> - </ViewAnimator> + </org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator> </android.support.v7.widget.CardView>
\ No newline at end of file |