mirror of https://github.com/etesync/android
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
4.7 KiB
117 lines
4.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2006 The Android Open Source 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.
|
|
-->
|
|
<FrameLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:background="#fafafa"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="0dp">
|
|
<RelativeLayout
|
|
android:id="@+id/event_info_loading_msg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<ProgressBar
|
|
android:id="@+id/event_info_progress_bar"
|
|
android:layout_width="100dip"
|
|
android:layout_height="100dip"
|
|
android:indeterminate="true"
|
|
android:layout_centerInParent="true" />
|
|
<TextView
|
|
android:layout_below="@id/event_info_progress_bar"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="16dip"
|
|
android:text="@string/loading"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</RelativeLayout>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/event_info_scroll_view"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:fadingEdge="none"
|
|
android:animateLayoutChanges="true"
|
|
android:visibility="gone"
|
|
android:layout_height="match_parent" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<!-- Container for the event's headline
|
|
Name, Date, Time & Location
|
|
-->
|
|
<include layout="@layout/event_info_headline" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="16dip"
|
|
android:paddingRight="16dip"
|
|
android:layout_marginTop="8dip"
|
|
android:orientation="vertical">
|
|
|
|
<!-- Organizer -->
|
|
<LinearLayout
|
|
android:id="@+id/organizer_container"
|
|
android:visibility="gone"
|
|
android:paddingRight="16dip"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:id="@+id/organizer_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:text="@string/event_info_organizer"
|
|
style="?android:attr/textAppearanceSmall"
|
|
android:textSize="14sp"/>
|
|
<TextView
|
|
android:id="@+id/organizer"
|
|
android:layout_width="0px"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:layout_weight="1"
|
|
android:singleLine="true"
|
|
android:layout_marginLeft="2dip"
|
|
android:textIsSelectable="true"
|
|
style="?android:attr/textAppearanceSmall"
|
|
android:textSize="14sp"/>
|
|
</LinearLayout>
|
|
|
|
<!-- DESCRIPTION -->
|
|
<TextView
|
|
android:id="@+id/description"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"/>
|
|
|
|
<TextView
|
|
android:id="@+id/attendees"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"/>
|
|
|
|
<TextView
|
|
android:id="@+id/reminders"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</FrameLayout>
|