1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- Nextcloud Android client application
- Copyright (C) 2017 Andy Scherzinger
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- License as published by the Free Software Foundation; either
- version 3 of the License, or any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU AFFERO GENERAL PUBLIC LICENSE for more details.
- You should have received a copy of the GNU Affero General Public
- License along with this program. If not, see <http://www.gnu.org/licenses/>.
- -->
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:paddingTop="@dimen/standard_padding"
- android:paddingRight="@dimen/standard_padding"
- android:paddingBottom="@dimen/standard_padding"
- android:paddingLeft="@dimen/standard_padding">
- <ImageView
- android:id="@+id/activity_icon"
- android:layout_width="@dimen/activity_icon_width"
- android:layout_height="@dimen/activity_icon_height"
- android:layout_alignParentTop="true"
- android:layout_marginRight="@dimen/activity_icon_layout_right_end_margin"
- android:layout_marginEnd="@dimen/activity_icon_layout_right_end_margin"
- android:alpha="0.5"
- android:src="@drawable/ic_activity"
- android:contentDescription="@string/activity_icon"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_alignTop="@id/activity_icon"
- android:layout_toRightOf="@id/activity_icon"
- android:layout_toEndOf="@id/activity_icon">
- <TextView
- android:id="@+id/activity_subject"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:text="@string/placeholder_filename"
- android:textAppearance="?android:attr/textAppearanceListItem"/>
- <TextView
- android:id="@+id/activity_message"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:text="@string/placeholder_sentence"
- android:textColor="?android:attr/textColorSecondary"/>
- <GridLayout
- android:id="@+id/list"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/alternate_half_margin"
- android:layout_marginLeft="@dimen/activity_list_item_grid_layout_left_start_margin"
- android:layout_marginStart="@dimen/activity_list_item_grid_layout_left_start_margin"
- android:columnCount="3" />
- <TextView
- android:id="@+id/activity_datetime"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="end"
- android:ellipsize="end"
- android:text="@string/placeholder_sentence"
- android:textColor="?android:attr/textColorSecondary"/>
- </LinearLayout>
- </RelativeLayout>
|