general post-release cleanup

removed lots of unused strings/resources/drawables
extracted all translatable strings
added new logo
This commit is contained in:
Giovanni Harting
2015-09-16 13:40:04 +02:00
parent 608a9c48d1
commit 42ff424622
58 changed files with 342 additions and 478 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 953 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

View File

@@ -1,23 +0,0 @@
<!--
~ LEDD Project
~ Copyright (C) 2015 LEDD Team
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<FrameLayout
android:id="@+id/fragmentContainer"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" />

View File

@@ -46,7 +46,7 @@
android:layout_marginLeft="7dp"
android:layout_toRightOf="@id/img_host"
android:gravity="center"
android:text="Add Controller"
android:text="@string/text_add_controller"
android:textAppearance="?android:textAppearanceMedium"
/>
</RelativeLayout>
@@ -62,7 +62,7 @@
android:id="@+id/input_i2c"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="i2c device number"
android:hint="@string/hint_i2c_device"
android:inputType="number"
android:minWidth="350dp"/>
@@ -79,7 +79,7 @@
android:id="@+id/input_address"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="controller address in hex format"
android:hint="@string/hint_controller_address"
android:minWidth="350dp"/>
</android.support.design.widget.TextInputLayout>
@@ -95,7 +95,7 @@
android:id="@+id/input_channel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="channels"
android:hint="@string/hint_channels"
android:inputType="number"
android:minWidth="350dp"/>

View File

@@ -80,7 +80,7 @@
android:layout_marginBottom="5dp"
android:layout_marginTop="5dp"
android:gravity="center_horizontal"
android:text="or"
android:text="@string/text_or"
android:textAppearance="?android:textAppearanceMedium"/>
<android.support.design.widget.TextInputLayout
@@ -93,7 +93,7 @@
android:id="@+id/input_ip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="ip address[:port]"
android:hint="@string/hint_daemon_ip_port"
android:minWidth="250dp"/>
</android.support.design.widget.TextInputLayout>

View File

@@ -46,7 +46,7 @@
android:layout_marginLeft="7dp"
android:layout_toRightOf="@id/img_host"
android:gravity="center"
android:text="Choose Daemon"
android:text="@string/text_choose_daemon"
android:textAppearance="?android:textAppearanceSmall"
/>
@@ -99,7 +99,7 @@
android:layout_marginLeft="7dp"
android:layout_toRightOf="@id/img_controller"
android:gravity="center"
android:text="Choose Controller"
android:text="@string/text_choose_controller"
android:textAppearance="?android:textAppearanceSmall"
/>
@@ -151,7 +151,7 @@
android:layout_marginLeft="7dp"
android:layout_toRightOf="@id/img_stripe"
android:gravity="center"
android:text="Stripe Properties"
android:text="@string/text_stripe_properties"
android:textAppearance="?android:textAppearanceSmall"
/>
@@ -169,7 +169,7 @@
android:id="@+id/input_stripe_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Stripe name"
android:hint="@string/hint_stripe_name"
android:inputType="text"
android:minEms="12"/>
</android.support.design.widget.TextInputLayout>
@@ -180,7 +180,7 @@
android:layout_marginLeft="9dp"
android:layout_marginTop="15dp"
android:gravity="center"
android:text="Channel Mapping"
android:text="@string/text_channel_mapping"
android:textAppearance="?android:textAppearanceSmall"
/>
@@ -206,7 +206,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="2"
android:hint="R"
android:hint="@string/hint_channel_r"
android:inputType="number"/>
</android.support.design.widget.TextInputLayout>
@@ -231,7 +231,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="2"
android:hint="G"
android:hint="@string/hint_channel_g"
android:inputType="number"/>
</android.support.design.widget.TextInputLayout>
@@ -256,7 +256,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="2"
android:hint="B"
android:hint="@string/hint_channel_b"
android:inputType="number"/>
</android.support.design.widget.TextInputLayout>

View File

@@ -41,7 +41,7 @@
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:gravity="center_vertical"
android:text="textHost"
android:text=""
android:textAppearance="?android:textAppearanceMedium"
android:textColor="@color/primaryColorDark"/>

View File

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ LEDD Project
~ Copyright (C) 2015 LEDD Team
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ProgressBar
android:id="@+id/activity_bar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="-8dp" />
<FrameLayout
android:id="@+id/activity_frame"
android:layout_width="match_parent"
android:layout_height="fill_parent" />
</LinearLayout>

View File

@@ -23,13 +23,13 @@
android:id="@+id/nv_add_stripe"
android:icon="@drawable/ic_add_circle_black_48dp"
android:orderInCategory="51"
android:title="Add Stripe"/>
android:title="@string/text_add_stripe"/>
<item
android:id="@+id/nv_settings"
android:icon="@drawable/ic_tune_black_48dp"
android:orderInCategory="52"
android:title="Settings"/>
android:title="@string/test_settings"/>
</menu>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -19,9 +19,5 @@
<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="nd_icon">30dp</dimen>
<dimen name="space_before_icon">7dp</dimen>
</resources>

View File

@@ -20,8 +20,21 @@
<resources>
<string name="app_name">LedD</string>
<string name="button_label">OK</string>
<string name="pref_name">Pick a color</string>
<string name="pref_summary">DialogPreference with Color Picker.</string>
<string name="text_add_controller">Add Controller</string>
<string name="hint_i2c_device">i2c device number</string>
<string name="hint_controller_address">controller address in hex format</string>
<string name="hint_channels">channels</string>
<string name="text_or">or</string>
<string name="hint_daemon_ip_port">ip address[:port]</string>
<string name="text_choose_daemon">Choose Daemon</string>
<string name="text_choose_controller">Choose Controller</string>
<string name="text_stripe_properties">Stripe Properties</string>
<string name="hint_stripe_name">Stripe name</string>
<string name="text_channel_mapping">Channel Mapping</string>
<string name="hint_channel_r">R</string>
<string name="hint_channel_g">G</string>
<string name="hint_channel_b">B</string>
<string name="text_add_stripe">Add Stripe</string>
<string name="test_settings">Settings</string>
</resources>