Fix styling
This commit is contained in:
parent
1cb925210d
commit
bcd000e418
|
@ -43,7 +43,7 @@
|
|||
<activity
|
||||
android:name=".AlarmActivity"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.AlarmDialog"
|
||||
android:theme="@style/AlarmDialog"
|
||||
android:excludeFromRecents="true"
|
||||
android:noHistory="true">
|
||||
<intent-filter>
|
||||
|
|
|
@ -9,11 +9,10 @@
|
|||
android:id="@+id/alarmTimePicker"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_marginTop="87dp" />
|
||||
android:layout_alignParentStart="true" />
|
||||
|
||||
<ToggleButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Alarm On/Off"
|
||||
android:id="@+id/alarmToggle"
|
||||
|
|
|
@ -2,24 +2,19 @@
|
|||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.NoActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="PreferenceTheme" parent="Theme.AppCompat.NoActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<style name="PreferenceTheme" parent="AppTheme">
|
||||
<item name="android:windowBackground">@color/colorPrimaryDark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.AlarmDialog" parent="android:style/Theme.Dialog">
|
||||
<style name="AlarmDialog" parent="AppTheme">
|
||||
<item name="android:windowFrame">@null</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue