Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-android
Commits
790f73f5
Commit
790f73f5
authored
Jan 11, 2017
by
Robert Hitt
Browse files
Added new layout for NotificationDialog in landscape
parent
b7c65322
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/layout-land/fragment_notification_dialog.xml
0 → 100644
View file @
790f73f5
<ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:orientation=
"horizontal"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:orientation=
"vertical"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
>
<android.support.v7.widget.CardView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:elevation=
"1dp"
android:layout_margin=
"6dp"
>
<LinearLayout
android:orientation=
"vertical"
android:padding=
"8dp"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<TextView
android:text=
"Notification Type"
android:paddingStart=
"2dp"
android:paddingLeft=
"2dp"
android:paddingRight=
"2dp"
android:paddingTop=
"2dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<CheckBox
android:id=
"@+id/type_opening_check"
android:text=
"Opening"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<CheckBox
android:id=
"@+id/type_closing_check"
android:text=
"Closing"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</android.support.v7.widget.CardView>
<LinearLayout
android:orientation=
"vertical"
android:paddingTop=
"2dp"
android:paddingBottom=
"4dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<Button
android:id=
"@+id/save_button"
android:layout_gravity=
"center_horizontal"
android:text=
"Save"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
<Button
android:id=
"@+id/cancel_button"
android:layout_gravity=
"center_horizontal"
android:text=
"Cancel"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</LinearLayout>
<android.support.v7.widget.CardView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:elevation=
"1dp"
android:layout_margin=
"6dp"
>
<LinearLayout
android:orientation=
"vertical"
android:padding=
"8dp"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<TextView
android:text=
"Notification Interval"
android:textAlignment=
"center"
android:paddingStart=
"2dp"
android:paddingLeft=
"2dp"
android:paddingRight=
"2dp"
android:paddingTop=
"2dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<CheckBox
android:id=
"@+id/interval_on_check"
android:text=
"On opening/closing"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<CheckBox
android:id=
"@+id/interval_15_check"
android:text=
"15 minutes before"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<CheckBox
android:id=
"@+id/interval_30_check"
android:text=
"30 minutes before"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<CheckBox
android:id=
"@+id/interval_hour_check"
android:text=
"An hour before"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
</ScrollView>
\ No newline at end of file
app/src/main/res/layout/fragment_notification_dialog.xml
View file @
790f73f5
...
...
@@ -107,7 +107,7 @@
<Button
android:id=
"@+id/cancel_button"
android:text=
"
Edit
"
android:text=
"
Cancel
"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment