diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 110d2fed..3b9b828f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -7,7 +7,9 @@ - + + + + + + + diff --git a/gen/com/limelight/R.java b/gen/com/limelight/R.java index d86869e4..1244305e 100644 --- a/gen/com/limelight/R.java +++ b/gen/com/limelight/R.java @@ -9,6 +9,17 @@ package com.limelight; public final class R { public static final class attr { + /**

Must be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". + */ + public static final int buttonBarButtonStyle=0x7f010001; + /**

Must be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". + */ + public static final int buttonBarStyle=0x7f010000; + } + public static final class color { + public static final int black_overlay=0x7f040000; } public static final class dimen { /** Default screen margins, per the Android Design guidelines. @@ -17,31 +28,41 @@ public final class R { screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here. */ - public static final int activity_horizontal_margin=0x7f040000; - public static final int activity_vertical_margin=0x7f040001; + public static final int activity_horizontal_margin=0x7f050000; + public static final int activity_vertical_margin=0x7f050001; } public static final class drawable { public static final int ic_launcher=0x7f020000; } + public static final class id { + public static final int videoView=0x7f080000; + } public static final class layout { public static final int activity_connection=0x7f030000; + public static final int activity_game=0x7f030001; } public static final class string { - public static final int app_name=0x7f050000; + public static final int app_name=0x7f060000; + public static final int dummy_button=0x7f060002; + public static final int dummy_content=0x7f060003; + public static final int title_activity_game=0x7f060001; } public static final class style { /** Base application theme, dependent on API level. This theme is replaced by AppBaseTheme from res/values-vXX/styles.xml on newer devices. + Theme customizations available in newer API levels can go in res/values-vXX/styles.xml, while customizations related to backward-compatibility can go here. + Base application theme for API 11+. This theme completely replaces AppBaseTheme from res/values/styles.xml on API 11+ devices. + API 11 theme customizations can go here. @@ -51,10 +72,56 @@ public final class R { API 14 theme customizations can go here. */ - public static final int AppBaseTheme=0x7f060000; + public static final int AppBaseTheme=0x7f070000; /** Application theme. All customizations that are NOT specific to a particular API-level can go here. */ - public static final int AppTheme=0x7f060001; + public static final int AppTheme=0x7f070001; + public static final int ButtonBar=0x7f070003; + public static final int ButtonBarButton=0x7f070004; + public static final int FullscreenActionBarStyle=0x7f070005; + public static final int FullscreenTheme=0x7f070002; } + public static final class styleable { + /** + Declare custom theme attributes that allow changing which styles are + used for button bars depending on the API level. + ?android:attr/buttonBarStyle is new as of API 11 so this is + necessary to support previous API levels. + +

Includes the following attributes:

+ + + + + + +
AttributeDescription
{@link #ButtonBarContainerTheme_buttonBarButtonStyle com.limelight:buttonBarButtonStyle}
{@link #ButtonBarContainerTheme_buttonBarStyle com.limelight:buttonBarStyle}
+ @see #ButtonBarContainerTheme_buttonBarButtonStyle + @see #ButtonBarContainerTheme_buttonBarStyle + */ + public static final int[] ButtonBarContainerTheme = { + 0x7f010000, 0x7f010001 + }; + /** +

This symbol is the offset where the {@link com.limelight.R.attr#buttonBarButtonStyle} + attribute's value can be found in the {@link #ButtonBarContainerTheme} array. + + +

Must be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". + @attr name android:buttonBarButtonStyle + */ + public static final int ButtonBarContainerTheme_buttonBarButtonStyle = 1; + /** +

This symbol is the offset where the {@link com.limelight.R.attr#buttonBarStyle} + attribute's value can be found in the {@link #ButtonBarContainerTheme} array. + + +

Must be a reference to another resource, in the form "@[+][package:]type:name" +or to a theme attribute in the form "?[package:][type:]name". + @attr name android:buttonBarStyle + */ + public static final int ButtonBarContainerTheme_buttonBarStyle = 0; + }; } diff --git a/res/layout/activity_game.xml b/res/layout/activity_game.xml new file mode 100644 index 00000000..26f62b06 --- /dev/null +++ b/res/layout/activity_game.xml @@ -0,0 +1,13 @@ + + + + + diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml index 3c02242a..12f5f138 100644 --- a/res/values-v11/styles.xml +++ b/res/values-v11/styles.xml @@ -1,11 +1,24 @@ - - - - - - + AppBaseTheme from res/values/styles.xml on API 11+ devices. + --> + + + + + + + diff --git a/res/values/attrs.xml b/res/values/attrs.xml new file mode 100644 index 00000000..e67df0a3 --- /dev/null +++ b/res/values/attrs.xml @@ -0,0 +1,14 @@ + + + + + + + + + diff --git a/res/values/colors.xml b/res/values/colors.xml new file mode 100644 index 00000000..327c0604 --- /dev/null +++ b/res/values/colors.xml @@ -0,0 +1,5 @@ + + + #66000000 + + diff --git a/res/values/strings.xml b/res/values/strings.xml index 5d9f3c89..fba8ffbf 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -2,5 +2,8 @@ Limelight + Game + Dummy Button + DUMMY\nCONTENT diff --git a/res/values/styles.xml b/res/values/styles.xml index 6ce89c7b..4d77c75e 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -1,20 +1,38 @@ - - - - - - - - - + backward-compatibility can go here. + --> + + + + + + + + + +