mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-14 11:56:04 +00:00
Initial migration to Android Studio
This commit is contained in:
14
app/src/main/res/values/attrs.xml
Normal file
14
app/src/main/res/values/attrs.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
<declare-styleable name="ButtonBarContainerTheme">
|
||||
<attr name="buttonBarStyle" format="reference" />
|
||||
<attr name="buttonBarButtonStyle" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
7
app/src/main/res/values/dimens.xml
Normal file
7
app/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<resources>
|
||||
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
|
||||
</resources>
|
||||
32
app/src/main/res/values/strings.xml
Normal file
32
app/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<!-- General strings -->
|
||||
<string name="app_name">Limelight (Root)</string>
|
||||
<string name="ip_hint">IP address of GeForce PC</string>
|
||||
|
||||
<!-- PC view activity -->
|
||||
<string name="title_pc_view">PC List</string>
|
||||
<string name="button_stream_settings">Streaming Settings</string>
|
||||
<string name="button_add_pc_manually">Add PC Manually</string>
|
||||
|
||||
<!-- Add computer manually activity -->
|
||||
<string name="button_add_pc">Manually Add PC</string>
|
||||
|
||||
<!-- Stream settings activity -->
|
||||
<string name="title_streaming_settings">Streaming Settings</string>
|
||||
<string name="button_advanced_settings">Advanced Settings</string>
|
||||
<string name="radio_720p30">720p 30 FPS (Only recommended for poor devices or networks)</string>
|
||||
<string name="radio_720p60">720p 60 FPS (Recommended for most devices and networks)</string>
|
||||
<string name="radio_1080p30">1080p 30 FPS (Recommended for most devices if 1080p streaming is desired)</string>
|
||||
<string name="radio_1080p60">1080p 60 FPS (Requires extremely fast device and network)</string>
|
||||
<string name="check_stretchToFill">Stretch video to fill screen</string>
|
||||
<string name="check_enableSops">Allow GFE to modify game settings for optimal streaming</string>
|
||||
<string name="check_disableToasts">Disable on-screen connection warning messages"</string>
|
||||
|
||||
<!-- Advanced settings activity -->
|
||||
<string name="radio_forceSoftware">Force Software Decoding</string>
|
||||
<string name="radio_autoSelect">Auto-select Decoder (Recommended)</string>
|
||||
<string name="radio_forceHardware">Force Hardware Decoding</string>
|
||||
|
||||
</resources>
|
||||
40
app/src/main/res/values/styles.xml
Normal file
40
app/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme">
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
|
||||
-->
|
||||
</style>
|
||||
|
||||
<!-- Application theme. -->
|
||||
<style name="AppTheme" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="FullscreenTheme" parent="android:Theme.NoTitleBar">
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="android:windowBackground">@null</item>
|
||||
<item name="buttonBarStyle">@style/ButtonBar</item>
|
||||
<item name="buttonBarButtonStyle">@style/ButtonBarButton</item>
|
||||
</style>
|
||||
|
||||
<style name="ButtonBar">
|
||||
<item name="android:paddingLeft">2dp</item>
|
||||
<item name="android:paddingTop">5dp</item>
|
||||
<item name="android:paddingRight">2dp</item>
|
||||
<item name="android:paddingBottom">0dp</item>
|
||||
<item name="android:background">@android:drawable/bottom_bar</item>
|
||||
</style>
|
||||
|
||||
<style name="ButtonBarButton" />
|
||||
Reference in New Issue
Block a user