Kaydet (Commit) 74463457 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

android: chanhe handles to use alias, tint handles with color

Change-Id: I86ad5eefd70bc8b768780cac66ca466aa0926dc4
üst d38abe1d
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/handle_image_end"
android:tint="@color/handle_color"/>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/handle_image_middle"
android:tint="@color/handle_color"/>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/handle_image_start"
android:tint="@color/handle_color"/>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- LTR -->
<item android:maxLevel="0" android:drawable="@drawable/handle_end"/>
<!-- RTL -->
<item android:maxLevel="1" android:drawable="@drawable/handle_start"/>
</level-list>
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- LTR -->
<item android:maxLevel="0" android:drawable="@drawable/handle_start"/>
<!-- RTL -->
<item android:maxLevel="1" android:drawable="@drawable/handle_end"/>
</level-list>
......@@ -91,5 +91,8 @@
<color name="home_last_tab_bar_bg">#FFF5F7F9</color>
<color name="panel_grid_item_image_background">#D1D9E1</color>
<color name="handle_color">#40A040</color>
</resources>
......@@ -9,7 +9,7 @@ import org.libreoffice.R;
*/
public class SelectionHandleEnd extends SelectionHandle {
public SelectionHandleEnd(Context context) {
super(getBitmapForDrawable(context, R.drawable.handle_end));
super(getBitmapForDrawable(context, R.drawable.handle_alias_end));
}
/**
......
......@@ -9,7 +9,7 @@ import org.libreoffice.R;
*/
public class SelectionHandleMiddle extends SelectionHandle {
public SelectionHandleMiddle(Context context) {
super(getBitmapForDrawable(context, R.drawable.handle_middle));
super(getBitmapForDrawable(context, R.drawable.handle_alias_middle));
}
/**
......
......@@ -9,7 +9,7 @@ import org.libreoffice.R;
*/
public class SelectionHandleStart extends SelectionHandle {
public SelectionHandleStart(Context context) {
super(getBitmapForDrawable(context, R.drawable.handle_start));
super(getBitmapForDrawable(context, R.drawable.handle_alias_start));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment