mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
162 lines
5.3 KiB
XML
162 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
|
|
android:id="@+id/taskEditParent"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
style="@style/Content">
|
|
|
|
<!-- Header -->
|
|
<LinearLayout
|
|
android:id="@+id/edit_header"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="43dip"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal"
|
|
android:layout_alignParentTop="true">
|
|
|
|
<LinearLayout
|
|
style="@style/Header"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<!-- Header Logo -->
|
|
<ImageView android:id="@+id/headerLogo"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="100"
|
|
android:gravity="center"
|
|
android:paddingRight="43dip"
|
|
android:src="@drawable/header_logo_new"
|
|
android:scaleType="center"
|
|
android:visibility="gone"/>
|
|
|
|
<!-- List Label -->
|
|
<TextView android:id="@+id/taskLabel"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="100"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
style="@style/TextAppearance.TLA_Header"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout android:id="@+id/activityContainer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:visibility="gone">
|
|
<View
|
|
android:layout_width="0.5dip"
|
|
android:layout_height="fill_parent"
|
|
android:background="#ff222222"/>
|
|
|
|
<ImageView android:id="@+id/activity"
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="43dip"
|
|
android:background="?attr/asHeaderButtonBackground"
|
|
android:padding="7dip"
|
|
android:src="@drawable/icn_cmmt_off"
|
|
android:scaleType="fitCenter" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- buttons -->
|
|
<LinearLayout android:id="@+id/edit_footer"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="50dip"
|
|
android:layout_alignParentBottom="true"
|
|
android:padding="5dip"
|
|
android:background="@drawable/footer_background"
|
|
android:baselineAligned="false">
|
|
<Button
|
|
android:id="@+id/save"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginRight="5dip"
|
|
android:background="@drawable/footer_editbutton"
|
|
android:gravity="center"
|
|
android:text="@string/DLG_save"
|
|
android:textStyle="bold"
|
|
style="@style/TextAppearance.TEA_action"
|
|
android:layout_weight="1" />
|
|
<Button
|
|
android:id="@+id/discard"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginLeft="5dip"
|
|
android:background="@drawable/footer_editbutton"
|
|
android:gravity="center"
|
|
android:text="@android:string/cancel"
|
|
style="@style/TextAppearance.TEA_action"
|
|
android:textColor="#000000"
|
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:id="@+id/edit_scroll"
|
|
android:layout_below="@id/edit_header"
|
|
android:layout_above="@id/edit_footer"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
style="@style/Content">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:padding="10dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/basic_controls"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/more_header"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="50dip"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center"
|
|
style="@style/TextAppearance.EditRowDisplay"
|
|
android:textStyle="bold"
|
|
android:text="@string/TEA_more"/>
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1px"
|
|
android:padding="5dip"
|
|
style="@style/TEA_Separator" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/more_controls"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</RelativeLayout>
|