fix: Add build script and fix manifest
- Add build-apk.sh for easy compilation - Simplify AndroidManifest.xml - Fix themes.xml to use basic Android themes - Enable BuildConfig - Add okhttp-dnsoverhttps dependency
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for watch products. Do not translate. -->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Show smaller list of items due to smaller real estate. -->
|
||||
<string-array translatable="false" name="config_globalActionsList">
|
||||
<item>power</item>
|
||||
<item>restart</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Minimum velocity to initiate a fling, as measured in dips per second. -->
|
||||
<dimen name="config_viewMinFlingVelocity">500dp</dimen>
|
||||
|
||||
<!-- Maximum velocity to initiate a fling, as measured in dips per second. -->
|
||||
<dimen name="config_viewMaxFlingVelocity">8000dp</dimen>
|
||||
|
||||
<!-- Number of notifications to keep in the notification service historical archive.
|
||||
Reduced intentionally for watches to retain minimal memory footprint -->
|
||||
<integer name="config_notificationServiceArchiveSize">1</integer>
|
||||
|
||||
<!-- Flags enabling default window features. See Window.java -->
|
||||
<bool name="config_defaultWindowFeatureOptionsPanel">false</bool>
|
||||
<bool name="config_defaultWindowFeatureContextMenu">false</bool>
|
||||
|
||||
<!-- Time adjustment, in milliseconds, applied to the default double tap threshold
|
||||
used for gesture detection by the screen magnifier. -->
|
||||
<integer name="config_screen_magnification_multi_tap_adjustment">25</integer>
|
||||
|
||||
<!-- Scale factor threshold used by the screen magnifier to determine when to switch from
|
||||
panning to scaling the magnification viewport. -->
|
||||
<item name="config_screen_magnification_scaling_threshold" format="float" type="dimen">0.1</item>
|
||||
|
||||
<!-- Do not show the message saying USB is connected in charging mode. -->
|
||||
<bool name="config_usbChargingMessage">false</bool>
|
||||
|
||||
<!-- Use a custom transition for RemoteViews. -->
|
||||
<bool name="config_overrideRemoteViewsActivityTransition">true</bool>
|
||||
|
||||
<!-- Default value for android:focusableInTouchMode for some framework scrolling containers.
|
||||
ListView/GridView are notably absent since this is their default anyway.
|
||||
Set to true for watch devices. -->
|
||||
<bool name="config_focusScrollContainersInTouchMode">true</bool>
|
||||
|
||||
<bool name="config_supportsMultiWindow">false</bool>
|
||||
<bool name="config_supportsMultiDisplay">false</bool>
|
||||
<bool name="config_supportsSplitScreenMultiWindow">false</bool>
|
||||
|
||||
<!-- Default Gravity setting for the system Toast view. Equivalent to: Gravity.CENTER -->
|
||||
<integer name="config_toastDefaultGravity">0x00000011</integer>
|
||||
|
||||
<!-- Default hyphenation frequency setting (0=NONE, 1=NORMAL, 2=FULL). -->
|
||||
<item name="config_preferredHyphenationFrequency" format="integer" type="dimen">1</item>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user