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.
113 lines
4.0 KiB
XML
113 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- See the file "LICENSE" for the full license governing this code. -->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/taskListParent"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:descendantFocusability="beforeDescendants"
|
|
style="@style/Content"
|
|
android:orientation="vertical">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="5dip"
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
android:visibility="gone"
|
|
android:layout_weight="1" />
|
|
|
|
<!-- Body goes here -->
|
|
|
|
<!-- Footer -->
|
|
<LinearLayout
|
|
android:id="@+id/taskListFooter"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="5dip"
|
|
style="@style/Content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="50dip"
|
|
android:padding="3dip"
|
|
android:paddingBottom="0dip"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<!-- Voice Add Button -->
|
|
<ImageButton android:id="@+id/voiceAddButton"
|
|
android:layout_width="39dip"
|
|
android:layout_height="39dip"
|
|
android:layout_gravity="top"
|
|
android:layout_marginLeft="5dip"
|
|
android:layout_marginRight="3dip"
|
|
android:paddingLeft="10dip"
|
|
android:paddingRight="10dip"
|
|
android:layout_weight="1"
|
|
android:visibility="gone"
|
|
android:background="@android:color/transparent"
|
|
android:src="?attr/asMicButtonImg"
|
|
android:scaleType="center"/>
|
|
|
|
<!-- Quick Add Task -->
|
|
<EditText android:id="@+id/quickAddText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="39dip"
|
|
android:layout_marginRight="8dip"
|
|
android:layout_marginLeft="5dip"
|
|
android:layout_marginBottom="2dip"
|
|
android:layout_weight="100"
|
|
android:paddingLeft="5dip"
|
|
android:background="@drawable/edit_title_background"
|
|
android:hint="@string/TLA_quick_add_hint"
|
|
android:textSize="16sp"
|
|
android:autoText="true"
|
|
android:textColor="@android:color/black"
|
|
android:capitalize="sentences"/>
|
|
|
|
<!-- Extended Add Button -->
|
|
<ImageButton android:id="@+id/quickAddButton"
|
|
android:layout_width="39dip"
|
|
android:layout_height="39dip"
|
|
android:layout_gravity="top"
|
|
android:layout_marginRight="5dip"
|
|
android:layout_weight="1"
|
|
android:background="@android:color/transparent"
|
|
android:src="?attr/asAddButtonImg"
|
|
android:scaleType="center"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/taskListQuickaddControlsContainer"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/taskListQuickaddControls"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="50dip"
|
|
android:orientation="horizontal">
|
|
|
|
<View
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="1px"
|
|
android:background="?attr/asSeparatorBackground"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|