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.
tasks/astrid/res/layout/widget_config_activity.xml

51 lines
1.6 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:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/background_gradient">
<!-- header -->
<LinearLayout android:id="@+id/colors"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:text="@string/PPW_color"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<Spinner
android:id="@+id/PPW_color"
android:drawSelectorOnTop="true"
android:prompt="@string/PPW_color"
android:entries="@array/PPW_colors"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
<CheckBox
android:id="@+id/PPW_disable_encouragements"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/PPW_disable_encouragements" />
<!-- List -->
<ExpandableListView android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="100"
android:scrollbars="vertical"
android:cacheColorHint="#00000000"/>
<!-- List -->
<Button android:id="@+id/ok"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@android:string/ok"/>
</LinearLayout>