···11+# Copyright 2020, Collabora, Ltd.
22+# SPDX-License-Identifier: BSL-1.0
33+# see http://developer.android.com/guide/developing/tools/proguard.html
44+# Trying to keep most of them in source code annotations and let Gradle do the work
55+66+# For library auto-detection in AboutLibraries
77+-keep class .R
88+-keep class **.R$* {
99+ <fields>;
1010+}
···1313import android.widget.TextView;
14141515import androidx.appcompat.app.AppCompatActivity;
1616+import androidx.fragment.app.Fragment;
1617import androidx.fragment.app.FragmentManager;
1718import androidx.fragment.app.FragmentTransaction;
1919+2020+import com.mikepenz.aboutlibraries.LibsBuilder;
18211922public class MainActivity extends AppCompatActivity {
2023···3235 int status = VrModeStatus.detectStatus(this, BuildConfig.APPLICATION_ID);
3336 VrModeStatus statusFrag = VrModeStatus.newInstance(status);
3437 fragmentTransaction.add(R.id.statusFrame, statusFrag, null);
3838+3939+4040+ Fragment libsFragment = (new LibsBuilder())
4141+ .withFields(R.string.class.getFields())
4242+4343+ // We do this ourselves bigger
4444+ .withAboutIconShown(false)
4545+ // Let the fragment show our version
4646+ .withAboutVersionShown(true)
4747+4848+ // Not sure why you'd do this without license info
4949+ .withLicenseShown(true)
5050+ .supportFragment();
5151+ fragmentTransaction.add(R.id.aboutFrame, libsFragment, null);
3552 fragmentTransaction.commit();
3653 }
3754}
···11+Boost Software License - Version 1.0 - August 17th, 2003<br>
22+<br>
33+Permission is hereby granted, free of charge, to any person or organization
44+obtaining a copy of the software and accompanying documentation covered by
55+this license (the "Software") to use, reproduce, display, distribute, execute,
66+and transmit the Software, and to prepare derivative works of the Software,
77+and to permit third-parties to whom the Software is furnished to do so, all
88+subject to the following:<br>
99+<br>
1010+The copyright notices in the Software and this entire statement, including
1111+the above license grant, this restriction and the following disclaimer, must
1212+be included in all copies of the Software, in whole or in part, and all derivative
1313+works of the Software, unless such copies or derivative works are solely in
1414+the form of machine-executable object code generated by a source language
1515+processor.<br>
1616+<br>
1717+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1818+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1919+FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
2020+COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES
2121+OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2222+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323+THE SOFTWARE.
···11+<?xml version="1.0" encoding="utf-8"?>
22+<resources>
33+ <!--
44+ Copyright 2020, Collabora, Ltd.
55+ SPDX-License-Identifier: BSL-1.0
66+ -->
77+ <string name="define_license_bsl_1_0" translatable="false" />
88+ <string name="license_bsl_1_0_licenseName" translatable="false">Boost Software License 1.0</string>
99+ <string name="license_bsl_1_0_licenseWebsite" translatable="false">https://www.boost.org/LICENSE_1_0.txt</string>
1010+1111+ <string name="license_bsl_1_0_licenseShortDescription" translatable="false">
1212+ <![CDATA[
1313+ <p>Boost Software License - Version 1.0 - August 17th, 2003</p>
1414+ <p>Permission is hereby granted, free of charge, to any person or organization
1515+obtaining a copy of the software and accompanying documentation covered by
1616+this license (the "Software") to use, reproduce, display, distribute, execute,
1717+and transmit the Software, and to prepare derivative works of the Software,
1818+and to permit third-parties to whom the Software is furnished to do so, all
1919+subject to the following:</p>
2020+ <p>The copyright notices in the Software and this entire statement, including
2121+the above license grant, this restriction and the following disclaimer, must
2222+be included in all copies of the Software, in whole or in part, and all derivative
2323+works of the Software, unless such copies or derivative works are solely in
2424+the form of machine-executable object code generated by a source language
2525+processor.</p>
2626+ <pTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2727+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
2828+FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
2929+COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES
3030+OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3131+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3232+THE SOFTWARE.</p>
3333+ ]]>
3434+ </string>
3535+ <!-- name of the license file under the raw folder -->
3636+ <string name="license_bsl_1_0_licenseDescription" translatable="false">raw:bsl_1_0</string>
3737+</resources>
···6677 <!-- app_name supplied by build system -->
8899- <string name="notice">"NOTICE text goes here\n\n\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam bibendum enim urna, consectetur mattis urna consectetur et. Aliquam erat volutpat. Nam dictum mi ac metus ullamcorper, eu finibus diam porta. Sed semper arcu mauris, eu porttitor arcu aliquet a. Donec et mauris id nulla aliquet eleifend. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Quisque elementum velit non sem rutrum euismod.\n\nFusce venenatis justo ut suscipit sodales. Nunc tempor nunc nec est rhoncus varius. Quisque eget posuere sem, ac euismod nibh. Mauris viverra nisi varius varius hendrerit. Donec nibh est, ornare et ante eu, ultricies aliquet dolor. Nam laoreet velit tellus. In non felis sit amet velit mattis porttitor. Pellentesque non quam non erat porta auctor ut eget justo. Praesent non sem vitae metus blandit lacinia fringilla id mauris. Fusce quam magna, sodales eu tincidunt quis, accumsan et purus. Integer ipsum quam, egestas in malesuada id, gravida sed justo. Sed at leo tempus, porta turpis id, hendrerit dui. Nunc lobortis tortor ac orci vehicula, in sollicitudin ex pellentesque. Praesent euismod vulputate felis sed consectetur. Ut vitae quam velit.\n\nQuisque sodales sem nunc, sed semper ligula gravida ac. Nulla sit amet justo et enim suscipit lacinia ut vitae quam. Duis magna ipsum, gravida et eros a, vehicula viverra nibh. Fusce eu nisl ut massa congue auctor. Duis metus neque, egestas in accumsan scelerisque, rutrum efficitur libero. Sed bibendum id ante at pellentesque. Cras eget velit eu diam lacinia fringilla. Proin eleifend sit amet orci ac congue. Proin sed consequat justo. Sed et posuere velit.\n\nMauris consequat dignissim dui, nec ultrices augue elementum nec. Cras feugiat, ante non fringilla rhoncus, dolor metus volutpat eros, at rhoncus purus libero et mi. Sed rutrum iaculis nibh finibus congue. Maecenas sed mi vel orci volutpat sodales. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis non tortor aliquam felis mattis ultricies. Etiam iaculis massa id lacus dapibus placerat. Praesent ullamcorper imperdiet risus et commodo.\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent scelerisque tellus purus, vel placerat sem fringilla in. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque lobortis mi nec luctus ullamcorper. Praesent diam tortor, accumsan ut vulputate non, volutpat eget ipsum. Sed sit amet ligula dictum, mollis lorem at, venenatis enim. Nullam mi nisl, pharetra suscipit facilisis non, posuere in nunc. Aliquam augue libero, eleifend non sagittis a, varius et arcu. Quisque arcu velit, lobortis eu felis ut, facilisis maximus urna. Integer nisl nisi, interdum sit amet ante nec, laoreet ullamcorper lacus. Donec lobortis non orci ac scelerisque. "</string>
109 <string name="powered_by_monado">An XR Runtime, powered by <a href="https://monado.dev">Monado</a></string>
11101211</resources>