Use material icons in widget

This commit is contained in:
serso 2016-03-08 23:38:47 +01:00
parent a753ca0562
commit 3dabe37576
9 changed files with 27 additions and 30 deletions

View File

@ -21,9 +21,8 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_history"
style="@style/CppKeyboardButton.Metro.Simple.Control"
a:text="@string/c_history_button"
a:textStyle="bold" />
style="@style/CppKeyboardButton.Metro.Simple.Control.Image"
a:src="@drawable/ic_history_white_48dp"/>

View File

@ -21,9 +21,8 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_history"
style="@style/CppKeyboardButton.Material.Simple.Control"
a:text="@string/c_history_button"
a:textStyle="bold" />
style="@style/CppKeyboardButton.Material.Simple.Control.Image"
a:src="@drawable/ic_history_white_48dp"/>

View File

@ -21,9 +21,8 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_history"
style="@style/CppKeyboardButton.Material.Light.Simple.Control"
a:text="@string/c_history_button"
a:textStyle="bold" />
style="@style/CppKeyboardButton.Material.Light.Simple.Control.Image"
a:src="@drawable/ic_history_white_48dp"/>

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_left"
style="@style/CppKeyboardButton.Metro.Simple.Control"
a:text="◁" />
style="@style/CppKeyboardButton.Metro.Simple.Control.Image"
a:src="@drawable/ic_keyboard_arrow_left_white_48dp" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_left"
style="@style/CppKeyboardButton.Material.Simple.Control"
a:text="◁" />
style="@style/CppKeyboardButton.Material.Simple.Control.Image"
a:src="@drawable/ic_keyboard_arrow_left_white_48dp" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_left"
style="@style/CppKeyboardButton.Material.Light.Simple.Control"
a:text="◁" />
style="@style/CppKeyboardButton.Material.Light.Simple.Control.Image"
a:src="@drawable/ic_keyboard_arrow_left_white_48dp" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_right"
style="@style/CppKeyboardButton.Metro.Simple.Control"
a:text="▷" />
style="@style/CppKeyboardButton.Metro.Simple.Control.Image"
a:src="@drawable/ic_keyboard_arrow_right_white_48dp" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_right"
style="@style/CppKeyboardButton.Material.Simple.Control"
a:text="▷" />
style="@style/CppKeyboardButton.Material.Simple.Control.Image"
a:src="@drawable/ic_keyboard_arrow_right_white_48dp" />

View File

@ -22,8 +22,8 @@
~ Site: http://se.solovyev.org
-->
<Button
<ImageButton
xmlns:a="http://schemas.android.com/apk/res/android"
a:id="@id/cpp_button_right"
style="@style/CppKeyboardButton.Material.Light.Simple.Control"
a:text="▷" />
style="@style/CppKeyboardButton.Material.Light.Simple.Control.Image"
a:src="@drawable/ic_keyboard_arrow_right_white_48dp" />