diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/basic_dashclock_card_inner.xml | 13 | ||||
-rw-r--r-- | res/layout/calendar_card.xml | 41 | ||||
-rw-r--r-- | res/layout/calendar_event_item.xml | 70 | ||||
-rw-r--r-- | res/layout/card_image_layout.xml | 88 | ||||
-rw-r--r-- | res/layout/card_status_header_inner.xml | 28 | ||||
-rw-r--r-- | res/layout/contact_card.xml | 62 | ||||
-rw-r--r-- | res/layout/dashclock_card_expand_inner_content.xml | 33 | ||||
-rw-r--r-- | res/layout/dashclock_card_inner_content.xml | 34 | ||||
-rw-r--r-- | res/layout/dashclock_icon_thumbnail_layout.xml | 9 | ||||
-rw-r--r-- | res/layout/home_layout.xml | 57 | ||||
-rw-r--r-- | res/layout/list_card_image_layout.xml | 30 | ||||
-rw-r--r-- | res/layout/news_card.xml | 62 | ||||
-rw-r--r-- | res/layout/news_card_first.xml | 73 | ||||
-rw-r--r-- | res/layout/simple_message_card_inner_content.xml | 27 | ||||
-rw-r--r-- | res/layout/status_card_inner_content.xml | 19 |
15 files changed, 646 insertions, 0 deletions
diff --git a/res/layout/basic_dashclock_card_inner.xml b/res/layout/basic_dashclock_card_inner.xml new file mode 100644 index 000000000..7b989e4d7 --- /dev/null +++ b/res/layout/basic_dashclock_card_inner.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/card_main_inner_simple_title" + android:layout_alignParentLeft="true" + android:layout_marginLeft="10dp" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + +</RelativeLayout> diff --git a/res/layout/calendar_card.xml b/res/layout/calendar_card.xml new file mode 100644 index 000000000..814cb2c32 --- /dev/null +++ b/res/layout/calendar_card.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:card_view="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:id="@+id/calendar_card" + android:layout_marginLeft="14dp" + android:layout_marginRight="14dp" + android:layout_marginTop="20dp"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/calendar_card_title" + android:textSize="16sp" + android:layout_marginStart="2dp" + android:fontFamily="sans-serif-light" + android:textColor="@color/home_next_text_divider" + android:layout_marginBottom="6dp"/> + + <android.support.v7.widget.CardView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/item_card" + card_view:cardElevation="2dp" + card_view:cardCornerRadius="3dp" + card_view:cardUseCompatPadding="true" + card_view:cardBackgroundColor="#bb36474f"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:id="@+id/event_container" + android:paddingTop="8dp" + android:paddingBottom="8dp"/> + + </android.support.v7.widget.CardView> + +</LinearLayout> diff --git a/res/layout/calendar_event_item.xml b/res/layout/calendar_event_item.xml new file mode 100644 index 000000000..403b0767c --- /dev/null +++ b/res/layout/calendar_event_item.xml @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <LinearLayout + android:layout_width="88dp" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingTop="4dp" + android:paddingBottom="4dp"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="end" + android:textSize="24sp" + android:fontFamily="sans-serif-light" + android:id="@+id/start_time" + android:textColor="@color/calendar_text_primary"/> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="end" + android:textSize="12sp" + android:layout_marginTop="-4dp" + android:fontFamily="sans-serif-light" + android:id="@+id/end_time" + android:textColor="@color/calendar_text_secondary"/> + + </LinearLayout> + + <View + android:layout_width="1dp" + android:layout_height="match_parent" + android:background="@color/calendar_text_secondary" + android:layout_marginLeft="12dp" + android:layout_marginRight="12dp"/> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingTop="4dp"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="start" + android:textSize="18sp" + android:id="@+id/event_title" + android:layout_marginTop="1dp" + android:fontFamily="sans-serif-light" + android:textColor="@color/calendar_text_primary"/> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="start" + android:textSize="12sp" + android:layout_marginTop="2dp" + android:id="@+id/event_location" + android:fontFamily="sans-serif-light" + android:textColor="@color/calendar_text_secondary"/> + + </LinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/res/layout/card_image_layout.xml b/res/layout/card_image_layout.xml new file mode 100644 index 000000000..c887fb7c6 --- /dev/null +++ b/res/layout/card_image_layout.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + ~ ******************************************************************************* + ~ Copyright (c) 2013-2014 Gabriele Mariotti. + ~ Modified 2014 for CyanogenMod. + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ 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. + ~ ***************************************************************************** + --> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:card="http://schemas.android.com/apk/res-auto" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <!-- Card visible layout --> + <LinearLayout + android:id="@+id/card_main_layout" + style="@style/card.main_layout" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + > + + <!-- Compound view for Header Card + If you want to customize this element use attr card:card_header_layout_resourceID + You can also use your CardHeader subclass--> + <it.gmariotti.cardslib.library.view.component.CardHeaderView + style="@style/card.header_outer_layout" + android:id="@+id/card_header_layout" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + <LinearLayout + android:id="@+id/card_thumb_and_content_layout" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <it.gmariotti.cardslib.library.view.component.CardThumbnailView + style="@style/card_thumbnail_outer_layout" + android:id="@+id/card_thumbnail_layout" + card:card_thumbnail_layout_resourceID="@layout/dashclock_icon_thumbnail_layout" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + <!-- Main Content View --> + <FrameLayout + android:id="@+id/card_main_content_layout" + style="@style/card.content_outer_layout" + android:layout_marginBottom="10dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + </LinearLayout> + + </LinearLayout> + + <!-- Compound view for Shadow + If you want to customize this element use attr card:card_shadow_layout_resourceID --> + <it.gmariotti.cardslib.library.view.component.CardShadowView + style="@style/card.shadow_outer_layout" + android:id="@+id/card_shadow_layout" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + <!-- Expand layout. You can customize this element with your CardExpand class --> + <FrameLayout + android:id="@+id/card_content_expand_layout" + style="@style/card.main_contentExpand" + android:layout_width="match_parent" + android:layout_height="wrap_content" + > + </FrameLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/res/layout/card_status_header_inner.xml b/res/layout/card_status_header_inner.xml new file mode 100644 index 000000000..bec9b0c24 --- /dev/null +++ b/res/layout/card_status_header_inner.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="vertical" + android:padding="5dp" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + tools:text="CyanogenMod" + android:id="@+id/status_card_title" + style="@style/simple_message_card_inner_title_text" + android:ellipsize="end" + android:maxLines="2" + android:layout_marginBottom="5dp" + android:layout_marginRight="10dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + <TextView + tools:text="One day ago" + android:id="@+id/status_card_date" + android:textStyle="italic" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + +</LinearLayout>
\ No newline at end of file diff --git a/res/layout/contact_card.xml b/res/layout/contact_card.xml new file mode 100644 index 000000000..367e79f84 --- /dev/null +++ b/res/layout/contact_card.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:id="@+id/contact_card" + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp" + android:layout_marginTop="20dp"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/contact_card_title" + android:textSize="16sp" + android:fontFamily="sans-serif-light" + android:textColor="@color/home_next_text_divider" + android:layout_marginBottom="12dp"/> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <de.hdodenhof.circleimageview.CircleImageView + android:layout_width="64dp" + android:layout_height="64dp" + android:id="@+id/contact_image_one"/> + + <View + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_weight="1"/> + + <de.hdodenhof.circleimageview.CircleImageView + android:layout_width="64dp" + android:layout_height="64dp" + android:id="@+id/contact_image_two"/> + + <View + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_weight="1"/> + + <de.hdodenhof.circleimageview.CircleImageView + android:layout_width="64dp" + android:layout_height="64dp" + android:id="@+id/contact_image_three"/> + + <View + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_weight="1"/> + + <de.hdodenhof.circleimageview.CircleImageView + android:layout_width="64dp" + android:layout_height="64dp" + android:id="@+id/contact_image_four"/> + + </LinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/res/layout/dashclock_card_expand_inner_content.xml b/res/layout/dashclock_card_expand_inner_content.xml new file mode 100644 index 000000000..bccc03b68 --- /dev/null +++ b/res/layout/dashclock_card_expand_inner_content.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="horizontal" + android:layout_marginBottom="10dp" + android:layout_marginTop="10dp" + android:paddingLeft="10dp" + android:paddingRight="10dp" + style="@style/card" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <Button + tools:text="Action" + android:layout_width="0px" + android:layout_height="50dp" + android:id="@+id/dashclock_card_expand_action_button" + android:textColor="@color/card_expand_title_color" + android:text="@string/dashclock_card_expand_action" + android:textSize="20sp" + android:layout_weight="1" + /> + <Button + tools:text="Settings" + android:layout_width="0px" + android:layout_height="50dp" + android:id="@+id/dashclock_card_expand_settings_button" + android:textColor="@color/card_expand_title_color" + android:text="@string/dashclock_card_expand_settings" + android:textSize="20sp" + android:layout_weight="1" + /> +</LinearLayout>
\ No newline at end of file diff --git a/res/layout/dashclock_card_inner_content.xml b/res/layout/dashclock_card_inner_content.xml new file mode 100644 index 000000000..9c02ff9cf --- /dev/null +++ b/res/layout/dashclock_card_inner_content.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="vertical" + android:gravity="top" + style="@style/card" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + tools:text="Gmail" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/dashclock_card_inner_title_text" + style="@style/card.header_simple_title" + android:textSize="20sp" + /> + + <TextView + tools:text="42 new messages" + android:id="@+id/dashclock_card_inner_status_text" + style="@style/dashclock_card_inner_status_text" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + <TextView + tools:text="This is an expanded body message for testing purposes." + android:id="@+id/dashclock_card_inner_body_text" + style="@style/dashclock_card_inner_body_text" + android:lines="4" + android:ellipsize="end" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> +</LinearLayout>
\ No newline at end of file diff --git a/res/layout/dashclock_icon_thumbnail_layout.xml b/res/layout/dashclock_icon_thumbnail_layout.xml new file mode 100644 index 000000000..2e52b3b68 --- /dev/null +++ b/res/layout/dashclock_icon_thumbnail_layout.xml @@ -0,0 +1,9 @@ +<ImageView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/card_thumbnail_image" + android:layout_width="100dp" + android:background="@android:color/black" + android:layout_height="100dp" + android:padding="10dp" + android:layout_margin="10dp" + style="@style/card_thumbnail_image"/>
\ No newline at end of file diff --git a/res/layout/home_layout.xml b/res/layout/home_layout.xml new file mode 100644 index 000000000..04f7da143 --- /dev/null +++ b/res/layout/home_layout.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + 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. + --> + +<org.cyanogenmod.launcher.home.HomeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:card="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@android:color/transparent" + android:orientation="vertical" + android:layout_marginBottom="16dp"> + + <!--<ImageView--> + <!--android:id="@+id/header"--> + <!--android:layout_width="match_parent"--> + <!--android:layout_height="150dp"--> + <!--android:src="@drawable/bg_header"--> + <!--android:scaleType="centerCrop"/>--> + + <!--<FrameLayout--> + <!--android:layout_width="match_parent"--> + <!--android:layout_height="match_parent">--> + + <!--<it.gmariotti.cardslib.library.view.CardListView--> + <!--android:layout_marginTop="10dp"--> + <!--android:layout_width="match_parent"--> + <!--android:layout_height="match_parent"--> + <!--android:id="@+id/cm_home_cards_list"--> + <!--card:list_card_layout_resourceID="@layout/list_card_image_layout"/>--> + + <!--<include layout="@layout/list_card_undo_message"--> + <!--android:layout_height="45dp"--> + <!--android:layout_width="300dp"--> + <!--android:layout_gravity="bottom|center_horizontal"--> + <!--android:layout_marginBottom="45dp"/>--> + + <!--</FrameLayout>--> + + <android.support.v7.widget.RecyclerView + android:id="@+id/main_recycler_view" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:scrollbars="vertical"/> + +</org.cyanogenmod.launcher.home.HomeLayout>
\ No newline at end of file diff --git a/res/layout/list_card_image_layout.xml b/res/layout/list_card_image_layout.xml new file mode 100644 index 000000000..c9abbaa44 --- /dev/null +++ b/res/layout/list_card_image_layout.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> + + <!-- + ~ ******************************************************************************* + ~ Copyright (c) 2013-2014 Gabriele Mariotti. + ~ Modified 2014 for CyanogenMod. + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ 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. + ~ ***************************************************************************** + --> + +<it.gmariotti.cardslib.library.view.CardView + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:card="http://schemas.android.com/apk/res-auto" + android:id="@+id/list_cardId" + android:layout_width="match_parent" + android:layout_height="wrap_content" + style="@style/list_card.thumbnail" + card:card_layout_resourceID="@layout/card_image_layout" +/> diff --git a/res/layout/news_card.xml b/res/layout/news_card.xml new file mode 100644 index 000000000..2ef51a3f7 --- /dev/null +++ b/res/layout/news_card.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:card_view="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/news_card" + android:layout_marginLeft="14dp" + android:layout_marginRight="14dp" + android:layout_marginTop="4dp"> + + <android.support.v7.widget.CardView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/item_card" + card_view:cardCornerRadius="3dp" + card_view:cardElevation="2dp" + card_view:cardUseCompatPadding="true" + card_view:cardBackgroundColor="#bb36474f"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="134dp" + android:orientation="horizontal"> + + <ImageView + android:layout_width="88dp" + android:layout_height="match_parent" + android:scaleType="centerCrop" + android:id="@+id/news_image"/> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="12dp"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textSize="18sp" + android:textColor="@color/calendar_text_primary" + android:fontFamily="sans-serif-light" + android:maxLines="4" + android:layout_weight="1" + android:id="@+id/news_title"/> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textSize="12sp" + android:textColor="@color/calendar_text_secondary" + android:id="@+id/news_source_time" + android:fontFamily="sans-serif-light" + android:layout_weight="0"/> + + </LinearLayout> + + </LinearLayout> + + </android.support.v7.widget.CardView> + +</LinearLayout> diff --git a/res/layout/news_card_first.xml b/res/layout/news_card_first.xml new file mode 100644 index 000000000..d63039db1 --- /dev/null +++ b/res/layout/news_card_first.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:card_view="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:id="@+id/news_card" + android:layout_marginLeft="14dp" + android:layout_marginRight="14dp" + android:layout_marginTop="20dp"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/news_card_title" + android:textSize="16sp" + android:layout_marginStart="2dp" + android:fontFamily="sans-serif-light" + android:textColor="@color/home_next_text_divider" + android:layout_marginBottom="12dp"/> + + <android.support.v7.widget.CardView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/item_card" + card_view:cardCornerRadius="3dp" + card_view:cardElevation="2dp" + card_view:cardUseCompatPadding="true" + card_view:cardBackgroundColor="#bb36474f"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="134dp" + android:orientation="horizontal"> + + <ImageView + android:layout_width="88dp" + android:layout_height="match_parent" + android:scaleType="centerCrop" + android:id="@+id/news_image"/> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="12dp"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textSize="18sp" + android:textColor="@color/calendar_text_primary" + android:fontFamily="sans-serif-light" + android:maxLines="4" + android:layout_weight="1" + android:id="@+id/news_title"/> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textSize="12sp" + android:textColor="@color/calendar_text_secondary" + android:id="@+id/news_source_time" + android:fontFamily="sans-serif-light" + android:layout_weight="0"/> + + </LinearLayout> + + </LinearLayout> + + </android.support.v7.widget.CardView> + +</LinearLayout> diff --git a/res/layout/simple_message_card_inner_content.xml b/res/layout/simple_message_card_inner_content.xml new file mode 100644 index 000000000..c2b43ed6b --- /dev/null +++ b/res/layout/simple_message_card_inner_content.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="vertical" + android:gravity="top" + style="@style/card" + android:layout_margin="15dp" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + tools:text="Testing Title" + android:id="@+id/simple_message_card_title" + style="@style/simple_message_card_inner_title_text" + android:lines="1" + android:ellipsize="end" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + + <TextView + tools:text="This is an example message for testing purposes." + android:id="@+id/simple_message_card_text" + style="@style/simple_message_card_inner_body_text" + android:layout_marginTop="5dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> +</LinearLayout>
\ No newline at end of file diff --git a/res/layout/status_card_inner_content.xml b/res/layout/status_card_inner_content.xml new file mode 100644 index 000000000..82cdc50b1 --- /dev/null +++ b/res/layout/status_card_inner_content.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="vertical" + android:gravity="top" + style="@style/card" + android:layout_marginLeft="15dp" + android:layout_marginRight="15dp" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + tools:text="Cards are awesome!!" + android:id="@+id/status_card_status_text" + style="@style/simple_message_card_inner_body_text" + android:layout_marginTop="5dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> +</LinearLayout>
\ No newline at end of file |