Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
android_packages_apps_DeskClock
Commits
bbe49110
Commit
bbe49110
authored
Dec 01, 2020
by
narinder Rana
Browse files
Update SwitchCompat like Ios
parent
39318a54
Changes
1
Hide whitespace changes
Inline
Side-by-side
res/layout/alarm_time_expanded.xml
View file @
bbe49110
...
...
@@ -38,19 +38,18 @@
app:layout_row=
"0"
/>
<!--android:theme="@style/ThemeOverlay.Control.Accent"
SwitchCompat:track="@drawable/switch_track_selector"
-->
<androidx.appcompat.widget.SwitchCompat
<android.support.v7.widget.SwitchCompat
android:id=
"@+id/onoff"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/alarm_clock_vertical_margin"
android:minHeight=
"@dimen/touch_target_min_size"
android:minWidth=
"@dimen/touch_target_min_size"
android:thumb=
"@drawable/thumb_selector"
SwitchCompat:track=
"@drawable/track_selector"
app:layout_column=
"6"
SwitchCompat:track=
"@drawable/switch_track_selector"
app:layout_columnSpan=
"2"
app:layout_gravity=
"center_vertical"
app:layout_row=
"0"
/>
...
...
Write
Preview
Supports
Markdown
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