Skip to content

Commit

Permalink
feat(design): add inventory parameters layout
Browse files Browse the repository at this point in the history
Signed-off-by: Rafa Hernandez <[email protected]>
  • Loading branch information
rafaelje authored and ajsb85 committed Mar 26, 2018
1 parent 268d7f9 commit 1f517a7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions app/src/main/res/xml/inventory_parameters.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/AccueilInventoryParam"
android:summary="@string/AccueilInventoryParamSummary"
>

<PreferenceCategory android:title="@string/InventoryCat"/>

<CheckBoxPreference
android:summary="CheckBox summary"
android:title="@string/InventoryAuto"
android:summaryOn="@string/InventoryAutoSummaryOn"
android:summaryOff="@string/InventoryAutoSummaryOff"
android:key="autoStartInventory" android:defaultValue="true"
/>
<ListPreference
android:key="timeInventory"
android:title="@string/InventoryFrequency"
android:dialogTitle="@string/InventoryFrequency"
android:dependency="autoStartInventory"
android:entries="@array/Time"
android:entryValues="@array/TimeValue"
android:defaultValue="@string/week"
android:summary="@string/InventoryFrequencySummary"
/>

</PreferenceScreen>

0 comments on commit 1f517a7

Please sign in to comment.