extracted some more strings, yay
exchanged svbar with separate value and saturation bar added switch in toolbar to disable (set black) the stripe and ignore all following inputs until reactivated again
This commit is contained in:
@@ -37,20 +37,39 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:minHeight="?android:attr/actionBarSize"/>
|
||||
android:minHeight="?android:attr/actionBarSize">
|
||||
|
||||
<Switch
|
||||
android:id="@+id/switch_onoff"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"/>
|
||||
|
||||
</android.support.v7.widget.Toolbar>
|
||||
|
||||
<com.larswerkman.holocolorpicker.ColorPicker
|
||||
android:id="@+id/picker"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="25dp"/>
|
||||
android:layout_marginTop="25dp"
|
||||
app:color_center_radius="140dp"
|
||||
app:color_wheel_radius="180dp"
|
||||
app:color_wheel_thickness="30dp"/>
|
||||
|
||||
<com.larswerkman.holocolorpicker.SVBar
|
||||
android:id="@+id/svbar"
|
||||
<com.larswerkman.holocolorpicker.SaturationBar
|
||||
android:id="@+id/saturationbar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="25dp"/>
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="15dp"/>
|
||||
|
||||
<com.larswerkman.holocolorpicker.ValueBar
|
||||
android:id="@+id/valuebar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -17,12 +17,11 @@
|
||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="192dp"
|
||||
android:background="?attr/colorPrimaryDark"
|
||||
android:gravity="bottom"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark">
|
||||
|
||||
@@ -32,4 +31,13 @@
|
||||
android:text="-- stripes infos go here --"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
||||
|
||||
</LinearLayout>
|
||||
<ImageButton
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_clear_white_48dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -17,6 +17,4 @@
|
||||
-->
|
||||
|
||||
<menu>
|
||||
|
||||
|
||||
</menu>
|
||||
|
||||
@@ -38,7 +38,13 @@
|
||||
<string name="test_settings">Settings</string>
|
||||
<string name="snackbar_no_wlan">We currently only support WLAN, please connect to one</string>
|
||||
<string name="snackbar_stripes_reloaded">LED stripes reloaded</string>
|
||||
<string name="snackbar_no_connection_stripes">"Coudn't get stripes from daemon: "</string>
|
||||
<string name="snackbar_connection_failed">"Coudn't connect to daemon: "</string>
|
||||
<string name="snackbar_no_connection_stripes">Couldn\'t get stripes from daemon: </string>
|
||||
<string name="snackbar_connection_failed">Couldn\'t connect to daemon: </string>
|
||||
<string name="snachbar_added_controller">Added Controller (Id=%1$d)</string>
|
||||
<string name="snackbar_error">Error: </string>
|
||||
<string name="snackbar_daemon_connection_failed">Couldn\'t connect to daemon at %1$s: %2$s</string>
|
||||
<string name="snackbar_added_daemon_version">Added LedD Daemon version: </string>
|
||||
<string name="snackbar_added_stripe_id">Added Stripe (Id=%1$d)</string>
|
||||
<string name="snackbar_failed_add_stripe">Failed to add Stripe: </string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user