Removing unneeded resources and replacing Android icons for minesweeper
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 07 Jun 2014 10:21:59 +0200
changeset 155b66f2620591f
parent 154 b37d0281edf8
child 156 5e92ce046846
Removing unneeded resources and replacing Android icons for minesweeper
minesweeper/AndroidManifest.xml
minesweeper/res/drawable-hdpi/ic_launcher.png
minesweeper/res/drawable-mdpi/ic_launcher.png
minesweeper/res/drawable-xhdpi/ic_launcher.png
minesweeper/res/drawable-xxhdpi/ic_launcher.png
minesweeper/res/layout/activity_main.xml
minesweeper/res/menu/main.xml
minesweeper/res/values-sw600dp/dimens.xml
minesweeper/res/values-sw720dp-land/dimens.xml
minesweeper/res/values-v11/styles.xml
minesweeper/res/values-v14/styles.xml
minesweeper/res/values/dimens.xml
minesweeper/res/values/strings.xml
minesweeper/res/values/styles.xml
     1.1 --- a/minesweeper/AndroidManifest.xml	Sat Jun 07 09:44:30 2014 +0200
     1.2 +++ b/minesweeper/AndroidManifest.xml	Sat Jun 07 10:21:59 2014 +0200
     1.3 @@ -36,7 +36,7 @@
     1.4      <application
     1.5          android:allowBackup="true"
     1.6          android:icon="@drawable/ic_launcher"
     1.7 -        android:label="@string/app_name"
     1.8 +        android:label="MineSweeper"
     1.9          android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
    1.10          <activity android:name="org.apidesign.brwsr.DlvkBrwsr" 
    1.11                    android:configChanges="orientation|screenSize">
     2.1 Binary file minesweeper/res/drawable-hdpi/ic_launcher.png has changed
     3.1 Binary file minesweeper/res/drawable-mdpi/ic_launcher.png has changed
     4.1 Binary file minesweeper/res/drawable-xhdpi/ic_launcher.png has changed
     5.1 Binary file minesweeper/res/drawable-xxhdpi/ic_launcher.png has changed
     6.1 --- a/minesweeper/res/layout/activity_main.xml	Sat Jun 07 09:44:30 2014 +0200
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,40 +0,0 @@
     6.4 -<!--
     6.5 -
     6.6 -    The MIT License (MIT)
     6.7 -
     6.8 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     6.9 -
    6.10 -    Permission is hereby granted, free of charge, to any person obtaining a copy
    6.11 -    of this software and associated documentation files (the "Software"), to deal
    6.12 -    in the Software without restriction, including without limitation the rights
    6.13 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    6.14 -    copies of the Software, and to permit persons to whom the Software is
    6.15 -    furnished to do so, subject to the following conditions:
    6.16 -
    6.17 -    The above copyright notice and this permission notice shall be included in
    6.18 -    all copies or substantial portions of the Software.
    6.19 -
    6.20 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    6.21 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    6.22 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    6.23 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    6.24 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    6.25 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    6.26 -    THE SOFTWARE.
    6.27 -
    6.28 --->
    6.29 -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    6.30 -    android:layout_width="match_parent"
    6.31 -    android:layout_height="match_parent"
    6.32 -    android:paddingBottom="@dimen/activity_vertical_margin"
    6.33 -    android:paddingLeft="@dimen/activity_horizontal_margin"
    6.34 -    android:paddingRight="@dimen/activity_horizontal_margin"
    6.35 -    android:paddingTop="@dimen/activity_vertical_margin" >
    6.36 -    
    6.37 -    <Button android:layout_width="wrap_content"
    6.38 -       android:layout_height="wrap_content"
    6.39 -       android:text="@string/hello_world"
    6.40 -       android:onClick="click"
    6.41 -    />
    6.42 -    
    6.43 -</RelativeLayout>
    6.44 \ No newline at end of file
     7.1 --- a/minesweeper/res/menu/main.xml	Sat Jun 07 09:44:30 2014 +0200
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,34 +0,0 @@
     7.4 -<!--
     7.5 -
     7.6 -    The MIT License (MIT)
     7.7 -
     7.8 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     7.9 -
    7.10 -    Permission is hereby granted, free of charge, to any person obtaining a copy
    7.11 -    of this software and associated documentation files (the "Software"), to deal
    7.12 -    in the Software without restriction, including without limitation the rights
    7.13 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    7.14 -    copies of the Software, and to permit persons to whom the Software is
    7.15 -    furnished to do so, subject to the following conditions:
    7.16 -
    7.17 -    The above copyright notice and this permission notice shall be included in
    7.18 -    all copies or substantial portions of the Software.
    7.19 -
    7.20 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    7.21 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    7.22 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    7.23 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    7.24 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    7.25 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    7.26 -    THE SOFTWARE.
    7.27 -
    7.28 --->
    7.29 -<menu xmlns:android="http://schemas.android.com/apk/res/android" >
    7.30 -
    7.31 -    <item
    7.32 -        android:id="@+id/action_settings"
    7.33 -        android:orderInCategory="100"
    7.34 -        android:showAsAction="never"
    7.35 -        android:title="@string/action_settings"/>
    7.36 -
    7.37 -</menu>
    7.38 \ No newline at end of file
     8.1 --- a/minesweeper/res/values-sw600dp/dimens.xml	Sat Jun 07 09:44:30 2014 +0200
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,33 +0,0 @@
     8.4 -<!--
     8.5 -
     8.6 -    The MIT License (MIT)
     8.7 -
     8.8 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     8.9 -
    8.10 -    Permission is hereby granted, free of charge, to any person obtaining a copy
    8.11 -    of this software and associated documentation files (the "Software"), to deal
    8.12 -    in the Software without restriction, including without limitation the rights
    8.13 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    8.14 -    copies of the Software, and to permit persons to whom the Software is
    8.15 -    furnished to do so, subject to the following conditions:
    8.16 -
    8.17 -    The above copyright notice and this permission notice shall be included in
    8.18 -    all copies or substantial portions of the Software.
    8.19 -
    8.20 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    8.21 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    8.22 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    8.23 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    8.24 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    8.25 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    8.26 -    THE SOFTWARE.
    8.27 -
    8.28 --->
    8.29 -<resources>
    8.30 -
    8.31 -    <!--
    8.32 -         Customize dimensions originally defined in res/values/dimens.xml (such as
    8.33 -         screen margins) for sw600dp devices (e.g. 7" tablets) here.
    8.34 -    -->
    8.35 -
    8.36 -</resources>
    8.37 \ No newline at end of file
     9.1 --- a/minesweeper/res/values-sw720dp-land/dimens.xml	Sat Jun 07 09:44:30 2014 +0200
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,34 +0,0 @@
     9.4 -<!--
     9.5 -
     9.6 -    The MIT License (MIT)
     9.7 -
     9.8 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     9.9 -
    9.10 -    Permission is hereby granted, free of charge, to any person obtaining a copy
    9.11 -    of this software and associated documentation files (the "Software"), to deal
    9.12 -    in the Software without restriction, including without limitation the rights
    9.13 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    9.14 -    copies of the Software, and to permit persons to whom the Software is
    9.15 -    furnished to do so, subject to the following conditions:
    9.16 -
    9.17 -    The above copyright notice and this permission notice shall be included in
    9.18 -    all copies or substantial portions of the Software.
    9.19 -
    9.20 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    9.21 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    9.22 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    9.23 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    9.24 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    9.25 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    9.26 -    THE SOFTWARE.
    9.27 -
    9.28 --->
    9.29 -<resources>
    9.30 -
    9.31 -    <!--
    9.32 -         Customize dimensions originally defined in res/values/dimens.xml (such as
    9.33 -         screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
    9.34 -    -->
    9.35 -    <dimen name="activity_horizontal_margin">128dp</dimen>
    9.36 -
    9.37 -</resources>
    9.38 \ No newline at end of file
    10.1 --- a/minesweeper/res/values-v11/styles.xml	Sat Jun 07 09:44:30 2014 +0200
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,36 +0,0 @@
    10.4 -<!--
    10.5 -
    10.6 -    The MIT License (MIT)
    10.7 -
    10.8 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    10.9 -
   10.10 -    Permission is hereby granted, free of charge, to any person obtaining a copy
   10.11 -    of this software and associated documentation files (the "Software"), to deal
   10.12 -    in the Software without restriction, including without limitation the rights
   10.13 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   10.14 -    copies of the Software, and to permit persons to whom the Software is
   10.15 -    furnished to do so, subject to the following conditions:
   10.16 -
   10.17 -    The above copyright notice and this permission notice shall be included in
   10.18 -    all copies or substantial portions of the Software.
   10.19 -
   10.20 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   10.21 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   10.22 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   10.23 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   10.24 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   10.25 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   10.26 -    THE SOFTWARE.
   10.27 -
   10.28 --->
   10.29 -<resources>
   10.30 -
   10.31 -    <!--
   10.32 -        Base application theme for API 11+. This theme completely replaces
   10.33 -        AppBaseTheme from res/values/styles.xml on API 11+ devices.
   10.34 -    -->
   10.35 -    <style name="AppBaseTheme" parent="android:Theme.Holo.Light">
   10.36 -        <!-- API 11 theme customizations can go here. -->
   10.37 -    </style>
   10.38 -
   10.39 -</resources>
   10.40 \ No newline at end of file
    11.1 --- a/minesweeper/res/values-v14/styles.xml	Sat Jun 07 09:44:30 2014 +0200
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,37 +0,0 @@
    11.4 -<!--
    11.5 -
    11.6 -    The MIT License (MIT)
    11.7 -
    11.8 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    11.9 -
   11.10 -    Permission is hereby granted, free of charge, to any person obtaining a copy
   11.11 -    of this software and associated documentation files (the "Software"), to deal
   11.12 -    in the Software without restriction, including without limitation the rights
   11.13 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   11.14 -    copies of the Software, and to permit persons to whom the Software is
   11.15 -    furnished to do so, subject to the following conditions:
   11.16 -
   11.17 -    The above copyright notice and this permission notice shall be included in
   11.18 -    all copies or substantial portions of the Software.
   11.19 -
   11.20 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   11.21 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   11.22 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   11.23 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   11.24 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   11.25 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   11.26 -    THE SOFTWARE.
   11.27 -
   11.28 --->
   11.29 -<resources>
   11.30 -
   11.31 -    <!--
   11.32 -        Base application theme for API 14+. This theme completely replaces
   11.33 -        AppBaseTheme from BOTH res/values/styles.xml and
   11.34 -        res/values-v11/styles.xml on API 14+ devices.
   11.35 -    -->
   11.36 -    <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
   11.37 -        <!-- API 14 theme customizations can go here. -->
   11.38 -    </style>
   11.39 -
   11.40 -</resources>
   11.41 \ No newline at end of file
    12.1 --- a/minesweeper/res/values/dimens.xml	Sat Jun 07 09:44:30 2014 +0200
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,32 +0,0 @@
    12.4 -<!--
    12.5 -
    12.6 -    The MIT License (MIT)
    12.7 -
    12.8 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    12.9 -
   12.10 -    Permission is hereby granted, free of charge, to any person obtaining a copy
   12.11 -    of this software and associated documentation files (the "Software"), to deal
   12.12 -    in the Software without restriction, including without limitation the rights
   12.13 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   12.14 -    copies of the Software, and to permit persons to whom the Software is
   12.15 -    furnished to do so, subject to the following conditions:
   12.16 -
   12.17 -    The above copyright notice and this permission notice shall be included in
   12.18 -    all copies or substantial portions of the Software.
   12.19 -
   12.20 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   12.21 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   12.22 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   12.23 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   12.24 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   12.25 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   12.26 -    THE SOFTWARE.
   12.27 -
   12.28 --->
   12.29 -<resources>
   12.30 -
   12.31 -    <!-- Default screen margins, per the Android Design guidelines. -->
   12.32 -    <dimen name="activity_horizontal_margin">16dp</dimen>
   12.33 -    <dimen name="activity_vertical_margin">16dp</dimen>
   12.34 -
   12.35 -</resources>
   12.36 \ No newline at end of file
    13.1 --- a/minesweeper/res/values/strings.xml	Sat Jun 07 09:44:30 2014 +0200
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,34 +0,0 @@
    13.4 -<?xml version="1.0" encoding="utf-8"?>
    13.5 -<!--
    13.6 -
    13.7 -    The MIT License (MIT)
    13.8 -
    13.9 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
   13.10 -
   13.11 -    Permission is hereby granted, free of charge, to any person obtaining a copy
   13.12 -    of this software and associated documentation files (the "Software"), to deal
   13.13 -    in the Software without restriction, including without limitation the rights
   13.14 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   13.15 -    copies of the Software, and to permit persons to whom the Software is
   13.16 -    furnished to do so, subject to the following conditions:
   13.17 -
   13.18 -    The above copyright notice and this permission notice shall be included in
   13.19 -    all copies or substantial portions of the Software.
   13.20 -
   13.21 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   13.22 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   13.23 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   13.24 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   13.25 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   13.26 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   13.27 -    THE SOFTWARE.
   13.28 -
   13.29 --->
   13.30 -<resources>
   13.31 -
   13.32 -    <string name="app_name">Minesweeper</string>
   13.33 -    <string name="hello">Hello m4dlvk!</string>
   13.34 -    <string name="action_settings">Settings</string>
   13.35 -    <string name="hello_world">Hello world!</string>
   13.36 -
   13.37 -</resources>
   13.38 \ No newline at end of file
    14.1 --- a/minesweeper/res/values/styles.xml	Sat Jun 07 09:44:30 2014 +0200
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,28 +0,0 @@
    14.4 -<!--
    14.5 -
    14.6 -    The MIT License (MIT)
    14.7 -
    14.8 -    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    14.9 -
   14.10 -    Permission is hereby granted, free of charge, to any person obtaining a copy
   14.11 -    of this software and associated documentation files (the "Software"), to deal
   14.12 -    in the Software without restriction, including without limitation the rights
   14.13 -    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   14.14 -    copies of the Software, and to permit persons to whom the Software is
   14.15 -    furnished to do so, subject to the following conditions:
   14.16 -
   14.17 -    The above copyright notice and this permission notice shall be included in
   14.18 -    all copies or substantial portions of the Software.
   14.19 -
   14.20 -    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   14.21 -    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   14.22 -    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   14.23 -    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   14.24 -    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   14.25 -    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   14.26 -    THE SOFTWARE.
   14.27 -
   14.28 --->
   14.29 -<resources>
   14.30 -
   14.31 -</resources>
   14.32 \ No newline at end of file