You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by ia...@apache.org on 2016/03/17 16:00:02 UTC
[2/7] incubator-taverna-mobile git commit: final cardview alignment
final cardview alignment
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/commit/296168c9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/296168c9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/296168c9
Branch: refs/heads/master
Commit: 296168c99268cd29b35ef4240b4ed299f09bca1d
Parents: 5916319
Author: therajanmaurya <ra...@gmail.com>
Authored: Wed Mar 9 13:20:27 2016 +0530
Committer: therajanmaurya <ra...@gmail.com>
Committed: Wed Mar 9 13:20:27 2016 +0530
----------------------------------------------------------------------
.../main/res/layout/favorite_item_layout.xml | 27 +++++++++++---------
1 file changed, 15 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/296168c9/app/src/main/res/layout/favorite_item_layout.xml
----------------------------------------------------------------------
diff --git a/app/src/main/res/layout/favorite_item_layout.xml b/app/src/main/res/layout/favorite_item_layout.xml
index 6da614c..0c9cf3e 100644
--- a/app/src/main/res/layout/favorite_item_layout.xml
+++ b/app/src/main/res/layout/favorite_item_layout.xml
@@ -18,17 +18,21 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:card_view="http://schemas.android.com/apk/res-auto"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:materialdesign="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- card_view:cardElevation="@dimen/abc_text_size_menu_material"
- card_view:cardBackgroundColor="@color/background_floating_material_light"
- card_view:cardCornerRadius="2dp"
- card_view:paddingEnd="2dp"
- card_view:paddingStart="2dp">
+<android.support.v7.widget.CardView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:card_view="http://schemas.android.com/apk/res-auto"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ card_view:cardElevation="@dimen/abc_text_size_menu_material"
+ card_view:cardBackgroundColor="@color/background_floating_material_light"
+ android:layout_marginBottom="@dimen/cardMarginVertical"
+ android:layout_marginLeft="@dimen/cardMarginHorizontal"
+ android:layout_marginRight="@dimen/cardMarginHorizontal"
+ android:layout_marginTop="@dimen/cardMarginVertical"
+ card_view:cardCornerRadius="2dp"
+ card_view:paddingEnd="2dp"
+ card_view:paddingStart="2dp">
<LinearLayout
android:orientation="vertical"
@@ -66,7 +70,6 @@ limitations under the License.
android:layout_height="wrap_content"
app:layout_anchorGravity="bottom|right|end"
android:layout_margin="5dp"
- android:background="#33b5ee"
android:src="@android:drawable/ic_menu_delete" />
</LinearLayout>