initial push of android app and bt server. these are used to make a remote usable via phone

This commit is contained in:
Elias Quinn
2025-06-30 07:53:58 +01:00
parent 9e5b7a6999
commit 654af164ab
2009 changed files with 102252 additions and 2084 deletions

View File

@@ -0,0 +1,22 @@
<?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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.cardview" >
<uses-sdk android:minSdkVersion="14" />
</manifest>

View File

@@ -0,0 +1,37 @@
int attr cardBackgroundColor 0x7f040001
int attr cardCornerRadius 0x7f040002
int attr cardElevation 0x7f040003
int attr cardMaxElevation 0x7f040004
int attr cardPreventCornerOverlap 0x7f040005
int attr cardUseCompatPadding 0x7f040006
int attr cardViewStyle 0x7f040007
int attr contentPadding 0x7f040008
int attr contentPaddingBottom 0x7f040009
int attr contentPaddingLeft 0x7f04000a
int attr contentPaddingRight 0x7f04000b
int attr contentPaddingTop 0x7f04000c
int color cardview_dark_background 0x7f060001
int color cardview_light_background 0x7f060002
int color cardview_shadow_end_color 0x7f060003
int color cardview_shadow_start_color 0x7f060004
int dimen cardview_compat_inset_shadow 0x7f080001
int dimen cardview_default_elevation 0x7f080002
int dimen cardview_default_radius 0x7f080003
int style Base_CardView 0x7f160001
int style CardView 0x7f160002
int style CardView_Dark 0x7f160003
int style CardView_Light 0x7f160004
int[] styleable CardView { 0x1010140, 0x101013f, 0x7f040001, 0x7f040002, 0x7f040003, 0x7f040004, 0x7f040005, 0x7f040006, 0x7f040008, 0x7f040009, 0x7f04000a, 0x7f04000b, 0x7f04000c }
int styleable CardView_android_minHeight 0
int styleable CardView_android_minWidth 1
int styleable CardView_cardBackgroundColor 2
int styleable CardView_cardCornerRadius 3
int styleable CardView_cardElevation 4
int styleable CardView_cardMaxElevation 5
int styleable CardView_cardPreventCornerOverlap 6
int styleable CardView_cardUseCompatPadding 7
int styleable CardView_contentPadding 8
int styleable CardView_contentPaddingBottom 9
int styleable CardView_contentPaddingLeft 10
int styleable CardView_contentPaddingRight 11
int styleable CardView_contentPaddingTop 12

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CardView" parent="Base.CardView">
<item name="cardBackgroundColor">?android:attr/colorBackgroundFloating</item>
</style>
</resources>

View File

@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr format="reference" name="cardViewStyle"/>
<color name="cardview_dark_background">#FF424242</color>
<color name="cardview_light_background">#FFFFFFFF</color>
<color name="cardview_shadow_end_color">#03000000</color>
<color name="cardview_shadow_start_color">#37000000</color>
<declare-styleable name="CardView">
<!-- Background color for CardView. -->
<attr format="color" name="cardBackgroundColor"/>
<!-- Corner radius for CardView. -->
<attr format="dimension" name="cardCornerRadius"/>
<!-- Elevation for CardView. -->
<attr format="dimension" name="cardElevation"/>
<!-- Maximum Elevation for CardView. -->
<attr format="dimension" name="cardMaxElevation"/>
<!-- Add padding in API v21+ as well to have the same measurements with previous versions. -->
<attr format="boolean" name="cardUseCompatPadding"/>
<!-- Add padding to CardView on v20 and before to prevent intersections between the Card content and rounded corners. -->
<attr format="boolean" name="cardPreventCornerOverlap"/>
<!-- Inner padding between the edges of the Card and children of the CardView. -->
<attr format="dimension" name="contentPadding"/>
<!-- Inner padding between the left edge of the Card and children of the CardView. -->
<attr format="dimension" name="contentPaddingLeft"/>
<!-- Inner padding between the right edge of the Card and children of the CardView. -->
<attr format="dimension" name="contentPaddingRight"/>
<!-- Inner padding between the top edge of the Card and children of the CardView. -->
<attr format="dimension" name="contentPaddingTop"/>
<!-- Inner padding between the bottom edge of the Card and children of the CardView. -->
<attr format="dimension" name="contentPaddingBottom"/>
<!-- Workaround to read user defined minimum width -->
<attr name="android:minWidth"/>
<!-- Workaround to read user defined minimum height -->
<attr name="android:minHeight"/>
</declare-styleable>
<dimen name="cardview_compat_inset_shadow">1dp</dimen>
<dimen name="cardview_default_elevation">2dp</dimen>
<dimen name="cardview_default_radius">2dp</dimen>
<style name="Base.CardView" parent="android:Widget">
<item name="cardCornerRadius">@dimen/cardview_default_radius</item>
<item name="cardElevation">@dimen/cardview_default_elevation</item>
<item name="cardMaxElevation">@dimen/cardview_default_elevation</item>
<item name="cardUseCompatPadding">false</item>
<item name="cardPreventCornerOverlap">true</item>
</style>
<style name="CardView" parent="Base.CardView">
</style>
<style name="CardView.Dark">
<item name="cardBackgroundColor">@color/cardview_dark_background</item>
</style>
<style name="CardView.Light">
<item name="cardBackgroundColor">@color/cardview_light_background</item>
</style>
</resources>