mirror of
				https://github.com/SimpleMobileTools/Simple-Flashlight.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	update the circles
This commit is contained in:
		| @@ -111,7 +111,7 @@ public class WidgetConfigureActivity extends AppCompatActivity { | ||||
|     private void updateColors() { | ||||
|         mWidgetColor = adjustAlpha(mWidgetColorWithoutTransparency, mWidgetAlpha); | ||||
|         mWidgetColorPicker.setBackgroundColor(mWidgetColor); | ||||
|         mImage.getDrawable().mutate().setColorFilter(mWidgetColor, PorterDuff.Mode.SRC_IN); | ||||
|         mImage.getBackground().mutate().setColorFilter(mWidgetColor, PorterDuff.Mode.SRC_IN); | ||||
|     } | ||||
|  | ||||
|     private SeekBar.OnSeekBarChangeListener seekbarChangeListener = new SeekBar.OnSeekBarChangeListener() { | ||||
|   | ||||
| @@ -1,28 +1,28 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <item | ||||
|         android:bottom="60dp" | ||||
|         android:left="60dp" | ||||
|         android:right="60dp" | ||||
|         android:top="60dp"> | ||||
|         android:bottom="52dp" | ||||
|         android:left="52dp" | ||||
|         android:right="52dp" | ||||
|         android:top="52dp"> | ||||
|         <shape | ||||
|             android:shape="oval"> | ||||
|             <stroke | ||||
|                 android:width="15dp" | ||||
|                 android:color="@color/translucent_white"/> | ||||
|                 android:width="13dp" | ||||
|                 android:color="#ff0000"/> | ||||
|             <solid android:color="@android:color/transparent"/> | ||||
|         </shape> | ||||
|     </item> | ||||
|  | ||||
|     <item | ||||
|         android:bottom="30dp" | ||||
|         android:left="30dp" | ||||
|         android:right="30dp" | ||||
|         android:top="30dp"> | ||||
|         android:bottom="26dp" | ||||
|         android:left="26dp" | ||||
|         android:right="26dp" | ||||
|         android:top="26dp"> | ||||
|         <shape | ||||
|             android:shape="oval"> | ||||
|             <stroke | ||||
|                 android:width="15dp" | ||||
|                 android:width="13dp" | ||||
|                 android:color="@color/translucent_white"/> | ||||
|             <solid android:color="@android:color/transparent"/> | ||||
|         </shape> | ||||
| @@ -32,7 +32,7 @@ | ||||
|         <shape | ||||
|             android:shape="oval"> | ||||
|             <stroke | ||||
|                 android:width="15dp" | ||||
|                 android:width="13dp" | ||||
|                 android:color="@color/translucent_white"/> | ||||
|             <solid android:color="@android:color/transparent"/> | ||||
|         </shape> | ||||
|   | ||||
| @@ -7,13 +7,19 @@ | ||||
|     android:layout_margin="@dimen/activity_margin" | ||||
|     android:paddingBottom="@dimen/activity_margin"> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/config_image" | ||||
|     <RelativeLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent" | ||||
|         android:layout_above="@+id/config_widget_color" | ||||
|         android:scaleType="centerInside" | ||||
|         android:src="@drawable/circles_big"/> | ||||
|         android:layout_marginBottom="@dimen/activity_margin" | ||||
|         android:gravity="center"> | ||||
|  | ||||
|         <ImageView | ||||
|             android:id="@+id/config_image" | ||||
|             android:layout_width="@dimen/main_button_size" | ||||
|             android:layout_height="@dimen/main_button_size" | ||||
|             android:background="@drawable/circles_big"/> | ||||
|     </RelativeLayout> | ||||
|  | ||||
|     <Button | ||||
|         android:id="@+id/config_widget_color" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user