general post-release cleanup
removed lots of unused strings/resources/drawables extracted all translatable strings added new logo
|
Before Width: | Height: | Size: 953 B |
|
Before Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 228 B |
|
Before Width: | Height: | Size: 186 B |
|
Before Width: | Height: | Size: 721 B |
|
Before Width: | Height: | Size: 213 B |
|
Before Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 594 B |
|
Before Width: | Height: | Size: 108 B |
|
Before Width: | Height: | Size: 168 B |
|
Before Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 517 B |
|
Before Width: | Height: | Size: 167 B |
|
Before Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 288 B |
|
Before Width: | Height: | Size: 222 B |
|
Before Width: | Height: | Size: 963 B |
|
Before Width: | Height: | Size: 269 B |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 130 B |
|
Before Width: | Height: | Size: 432 B |
|
Before Width: | Height: | Size: 294 B |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 402 B |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 133 B |
|
Before Width: | Height: | Size: 624 B |
|
Before Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 551 B |
@@ -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" />
|
||||
@@ -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"/>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||