AndroidAPS/app/src/main/res/layout/objectives_fragment.xml

42 lines
1.5 KiB
XML
Raw Normal View History

2018-06-09 22:07:41 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-06-04 17:28:05 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-06-09 22:07:41 +02:00
android:orientation="vertical"
2019-02-28 23:16:50 +01:00
tools:context=".plugins.constraints.objectives.ObjectivesFragment">
2016-06-04 17:28:05 +02:00
2016-06-15 21:47:26 +02:00
<LinearLayout
2016-06-04 17:28:05 +02:00
android:layout_width="match_parent"
2018-06-09 22:07:41 +02:00
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:visibility="gone">
<CheckBox
android:id="@+id/objectives_fake"
android:layout_width="0dp"
2016-06-15 21:47:26 +02:00
android:layout_height="wrap_content"
2018-06-09 22:07:41 +02:00
android:layout_marginRight="16dp"
android:layout_weight="1"
android:text="Enable fake time and progress" />
<Button
android:id="@+id/objectives_reset"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Reset" />
2016-06-15 21:47:26 +02:00
</LinearLayout>
2016-06-04 17:28:05 +02:00
2019-05-16 13:57:37 +02:00
<androidx.recyclerview.widget.RecyclerView
2018-06-09 22:07:41 +02:00
android:id="@+id/objectives_recyclerview"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:clipToPadding="false"
android:paddingBottom="16dp" />
</LinearLayout>