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.
124 lines
4.6 KiB
124 lines
4.6 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2013 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.
|
|
-->
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/event_info_headline"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="16dip"
|
|
android:paddingLeft="16dip"
|
|
android:paddingRight="16dip"
|
|
android:paddingTop="8dip" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<!-- WHAT -->
|
|
<TextView
|
|
android:id="@+id/title"
|
|
style="?android:attr/textAppearanceLarge"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight=".8"
|
|
android:autoLink="all"
|
|
android:textColor="@color/event_info_headline_color"
|
|
android:textColorLink="@color/event_info_headline_color"
|
|
android:textIsSelectable="true"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
<!-- BUTTONS -->
|
|
|
|
<LinearLayout
|
|
android:id="@+id/event_info_buttons_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:orientation="horizontal" >
|
|
|
|
<Button
|
|
android:id="@+id/change_color"
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:enabled="false"
|
|
android:visibility="gone"
|
|
android:text="@string/choose_event_color_label"
|
|
android:textColor="@color/event_info_headline_color" />
|
|
|
|
<Button
|
|
android:id="@+id/edit"
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:enabled="false"
|
|
android:text="@string/edit_event_label"
|
|
android:textColor="@color/event_info_headline_color" />
|
|
|
|
<Button
|
|
android:id="@+id/delete"
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/delete_label"
|
|
android:textColor="@color/event_info_headline_color" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<!-- WHEN -->
|
|
|
|
<TextView
|
|
android:id="@+id/when_datetime"
|
|
style="?android:attr/textAppearanceLarge"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dip"
|
|
android:textColor="@color/event_info_headline_color"
|
|
android:textIsSelectable="true"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/when_repeat"
|
|
style="?android:attr/textAppearanceLarge"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="-3dip"
|
|
android:textColor="@color/event_info_headline_transparent_color"
|
|
android:textSize="14sp" />
|
|
|
|
<!-- WHERE -->
|
|
|
|
<TextView
|
|
android:id="@+id/where"
|
|
style="?android:attr/textAppearanceLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dip"
|
|
android:ellipsize="end"
|
|
android:singleLine="false"
|
|
android:textColor="@color/event_info_headline_color"
|
|
android:textColorLink="@color/event_info_headline_link_color"
|
|
android:textIsSelectable="true"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout> |