changed package for decode sdk

This commit is contained in:
strawmanbobi
2019-02-09 14:28:07 +08:00
parent c5df776aa6
commit a5148c63ee
164 changed files with 14130 additions and 14130 deletions

12
android-example/app/src/main/res/values/colors.xml Normal file → Executable file
View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F3F3F</color>
<color name="colorPrimaryDark">#000000</color>
<color name="colorAccent">#3FAF2F</color>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F3F3F</color>
<color name="colorPrimaryDark">#000000</color>
<color name="colorAccent">#3FAF2F</color>
</resources>

12
android-example/app/src/main/res/values/dimens.xml Normal file → Executable file
View File

@@ -1,6 +1,6 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="fab_margin">16dp</dimen>
</resources>
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="fab_margin">16dp</dimen>
</resources>

View File

@@ -1,56 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="ptr_headerContainer">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">0px</item>
<item name="android:gravity">bottom</item>
</style>
<style name="ptr_header">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:padding">5dp</item>
<item name="android:gravity">center_vertical</item>
</style>
<style name="ptr_arrow">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_centerVertical">true</item>
<item name="android:src">@mipmap/ptr_pulltorefresh_arrow</item>
<item name="android:layout_marginLeft">25dp</item>
</style>
<style name="ptr_spinner" parent="@android:style/Widget.ProgressBar.Small">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_centerVertical">true</item>
<item name="android:indeterminate">true</item>
<item name="android:layout_marginLeft">25dp</item>
</style>
<style name="ptr_textwrapper">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_centerInParent">true</item>
<item name="android:orientation">vertical</item>
<item name="android:gravity">center_horizontal</item>
</style>
<style name="ptr_text">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:gravity">center</item>
<item name="android:layout_weight">1</item>
<item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
<item name="android:textColor">@android:color/black</item>
</style>
<style name="ptr_last_updated" parent="ptr_text">
<item name="android:textStyle">normal</item>
<item name="android:visibility">gone</item>
<item name="android:layout_weight">1</item>
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
<item name="android:layout_below">@+id/ptr_id_text</item>
</style>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="ptr_headerContainer">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">0px</item>
<item name="android:gravity">bottom</item>
</style>
<style name="ptr_header">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:padding">5dp</item>
<item name="android:gravity">center_vertical</item>
</style>
<style name="ptr_arrow">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_centerVertical">true</item>
<item name="android:src">@mipmap/ptr_pulltorefresh_arrow</item>
<item name="android:layout_marginLeft">25dp</item>
</style>
<style name="ptr_spinner" parent="@android:style/Widget.ProgressBar.Small">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_centerVertical">true</item>
<item name="android:indeterminate">true</item>
<item name="android:layout_marginLeft">25dp</item>
</style>
<style name="ptr_textwrapper">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_centerInParent">true</item>
<item name="android:orientation">vertical</item>
<item name="android:gravity">center_horizontal</item>
</style>
<style name="ptr_text">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:gravity">center</item>
<item name="android:layout_weight">1</item>
<item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
<item name="android:textColor">@android:color/black</item>
</style>
<style name="ptr_last_updated" parent="ptr_text">
<item name="android:textStyle">normal</item>
<item name="android:visibility">gone</item>
<item name="android:layout_weight">1</item>
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
<item name="android:layout_below">@+id/ptr_id_text</item>
</style>
</resources>

66
android-example/app/src/main/res/values/strings.xml Normal file → Executable file
View File

@@ -1,33 +1,33 @@
<resources>
<string name="app_name">IRControl</string>
<string name="title_activity_main">IRControl</string>
<string name="action_settings">Settings</string>
<!-- Public UI -->
<string name="ptr_pull_to_refresh">Pull to refresh</string>
<string name="ptr_release_to_refresh">Release to refresh</string>
<string name="ptr_refreshing">Refreshing...</string>
<string name="ptr_last_updated">Updated: %1$s</string>
<!-- Main UI -->
<string name="create_new">Tap + to create new remote control</string>
<!-- Create New -->
<string name="default_category">TV</string>
<string name="button_save">Save</string>
<string name="button_cancel">Cancel</string>
<!-- Control panel -->
<string name="button_power">POWER</string>
<string name="button_back">BACK</string>
<string name="button_home">HOME</string>
<string name="button_menu">MENU</string>
<string name="button_up">UP</string>
<string name="button_down">DOWN</string>
<string name="button_left">LEFT</string>
<string name="button_right">RIGHT</string>
<string name="button_ok">OK</string>
<string name="button_plus">+</string>
<string name="button_minus">-</string>
</resources>
<resources>
<string name="app_name">IRControl</string>
<string name="title_activity_main">IRControl</string>
<string name="action_settings">Settings</string>
<!-- Public UI -->
<string name="ptr_pull_to_refresh">Pull to refresh</string>
<string name="ptr_release_to_refresh">Release to refresh</string>
<string name="ptr_refreshing">Refreshing...</string>
<string name="ptr_last_updated">Updated: %1$s</string>
<!-- Main UI -->
<string name="create_new">Tap + to create new remote control</string>
<!-- Create New -->
<string name="default_category">TV</string>
<string name="button_save">Save</string>
<string name="button_cancel">Cancel</string>
<!-- Control panel -->
<string name="button_power">POWER</string>
<string name="button_back">BACK</string>
<string name="button_home">HOME</string>
<string name="button_menu">MENU</string>
<string name="button_up">UP</string>
<string name="button_down">DOWN</string>
<string name="button_left">LEFT</string>
<string name="button_right">RIGHT</string>
<string name="button_ok">OK</string>
<string name="button_plus">+</string>
<string name="button_minus">-</string>
</resources>

34
android-example/app/src/main/res/values/styles.xml Normal file → Executable file
View File

@@ -1,17 +1,17 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- 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="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>
</resources>
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- 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="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>
</resources>