You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
89 lines
4.4 KiB
XML
89 lines
4.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<resources>
|
|
<style name="Theme.MicroBase" parent="Theme.Material.NoActionBar">
|
|
<item name="alertDialogTheme">@style/Theme.Micro.Dialog.Alert</item>
|
|
<item name="alertDialogStyle">@style/AlertDialog.Micro</item>
|
|
<item name="dialogTheme">@style/Theme.Micro.Dialog</item>
|
|
<item name="textViewStyle">@style/Widget.Micro.TextView</item>
|
|
<item name="numberPickerStyle">@style/Widget.Micro.NumberPicker</item>
|
|
<item name="windowAnimationStyle">@style/Animation.Micro.Activity</item>
|
|
<item name="windowBackground">@color/black</item>
|
|
<item name="windowContentOverlay">@null</item>
|
|
<item name="windowIsFloating">false</item>
|
|
<item name="windowSwipeToDismiss">true</item>
|
|
<!-- Required to force windowInsets dispatch through application UI. -->
|
|
<item name="windowOverscan">true</item>
|
|
</style>
|
|
|
|
<style name="Theme.Micro" parent="Theme.MicroBase">
|
|
</style>
|
|
|
|
<style name="Theme.Micro.LightBase" parent="Theme.Material.Light.NoActionBar">
|
|
<item name="alertDialogTheme">@style/Theme.Micro.Dialog.Alert</item>
|
|
<item name="alertDialogStyle">@style/AlertDialog.Micro</item>
|
|
<item name="dialogTheme">@style/Theme.Micro.Dialog</item>
|
|
<item name="textViewStyle">@style/Widget.Micro.TextView</item>
|
|
<item name="numberPickerStyle">@style/Widget.Micro.NumberPicker</item>
|
|
<item name="windowAnimationStyle">@style/Animation.Micro.Activity</item>
|
|
<item name="windowBackground">@color/white</item>
|
|
<item name="windowContentOverlay">@null</item>
|
|
<item name="windowIsFloating">false</item>
|
|
<item name="windowSwipeToDismiss">true</item>
|
|
<!-- Required to force windowInsets dispatch through application UI. -->
|
|
<item name="windowOverscan">true</item>
|
|
</style>
|
|
|
|
<!-- Indirection needed for overlays to make sure there is a common base parent -->
|
|
<style name="Theme.Micro.Light" parent="Theme.Micro.LightBase">
|
|
</style>
|
|
|
|
<style name="Theme.Micro.DialogBase" parent="Theme.Material.Light.Dialog">
|
|
<item name="windowTitleStyle">@android:style/DialogWindowTitle.Micro</item>
|
|
<item name="windowIsFloating">false</item>
|
|
<item name="windowFullscreen">true</item>
|
|
<item name="textAppearance">@style/TextAppearance.Micro</item>
|
|
<item name="textAppearanceInverse">@style/TextAppearance.Micro</item>
|
|
<!-- Required to force windowInsets dispatch through application UI. -->
|
|
<item name="windowOverscan">true</item>
|
|
</style>
|
|
|
|
<!-- Indirection needed for overlays to make sure there is a common base parent -->
|
|
<style name="Theme.Micro.Dialog" parent="Theme.Micro.DialogBase">
|
|
</style>
|
|
|
|
<style name="Theme.Micro.Dialog.Alert">
|
|
<item name="windowTitleStyle">@style/DialogWindowTitle.Micro</item>
|
|
<item name="alertDialogStyle">@style/AlertDialog.Micro</item>
|
|
<item name="windowIsFloating">false</item>
|
|
<item name="windowBackground">@android:color/transparent</item>
|
|
<item name="windowOverscan">true</item>
|
|
<item name="windowContentOverlay">@null</item>
|
|
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
|
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
|
</style>
|
|
|
|
<style name="Theme.Micro.Dialog.AppError" parent="Theme.Micro.Dialog">
|
|
<item name="windowBackground">@null</item>
|
|
<item name="alertDialogStyle">@style/AlertDialog.Micro</item>
|
|
<item name="windowOverscan">true</item>
|
|
<item name="windowCloseOnTouchOutside">false</item>
|
|
<item name="textSize">20sp</item>
|
|
<item name="fontFamily">sans-serif-condensed-light</item>
|
|
<item name="textColor">@color/micro_text_light</item>
|
|
</style>
|
|
</resources>
|