mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-09 23:41:08 +01:00
include custon_switch_btn for choice between Export/Import. The dialog SHOULD change aspect.
This commit is contained in:
parent
2f6b46a4e6
commit
8c9baa6b8f
1 changed files with 2 additions and 23 deletions
|
@ -13,11 +13,7 @@
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/constraintLayout"
|
android:id="@+id/constraintLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
||||||
|
|
||||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||||
android:id="@+id/btn_addFruit"
|
android:id="@+id/btn_addFruit"
|
||||||
|
@ -38,31 +34,14 @@
|
||||||
app:layout_anchor="@+id/constraintLayout"
|
app:layout_anchor="@+id/constraintLayout"
|
||||||
app:layout_anchorGravity="center">
|
app:layout_anchorGravity="center">
|
||||||
|
|
||||||
<RadioGroup
|
|
||||||
android:id="@+id/radio_select"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<RadioButton
|
|
||||||
android:id="@+id/backup_btn"
|
|
||||||
android:layout_width="194dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/export_prescriptions"/>
|
|
||||||
|
|
||||||
<RadioButton
|
<include layout="@layout/custom_switch_btn"/>
|
||||||
android:id="@+id/restore_btn"
|
|
||||||
android:layout_width="194dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/import_prescriptions" />
|
|
||||||
</RadioGroup>
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/btn_backup_location"
|
android:id="@+id/btn_backup_location"
|
||||||
style="@style/Widget.MaterialComponents.Button"
|
style="@style/Widget.MaterialComponents.Button"
|
||||||
|
|
Loading…
Reference in a new issue