rename MyWidgetConfigure activity

This commit is contained in:
tibbi 2016-06-18 23:47:10 +02:00
parent ea4c740316
commit 9b4da81eb9
3 changed files with 8 additions and 4 deletions

View File

@ -19,7 +19,7 @@
</activity> </activity>
<activity <activity
android:name=".MyWidgetConfigure" android:name=".activities.WidgetConfigureActivity"
android:screenOrientation="portrait" android:screenOrientation="portrait"
android:theme="@style/MyWidgetConfigTheme"> android:theme="@style/MyWidgetConfigTheme">
<intent-filter> <intent-filter>

View File

@ -1,4 +1,4 @@
package com.simplemobiletools.calculator; package com.simplemobiletools.calculator.activities;
import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetManager;
import android.content.Context; import android.content.Context;
@ -13,12 +13,16 @@ import android.widget.RemoteViews;
import android.widget.SeekBar; import android.widget.SeekBar;
import android.widget.TextView; import android.widget.TextView;
import com.simplemobiletools.calculator.Constants;
import com.simplemobiletools.calculator.MyWidgetProvider;
import com.simplemobiletools.calculator.R;
import butterknife.BindView; import butterknife.BindView;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import butterknife.OnClick; import butterknife.OnClick;
import yuku.ambilwarna.AmbilWarnaDialog; import yuku.ambilwarna.AmbilWarnaDialog;
public class MyWidgetConfigure extends AppCompatActivity { public class WidgetConfigureActivity extends AppCompatActivity {
@BindView(R.id.btn_reset) View mResetBtn; @BindView(R.id.btn_reset) View mResetBtn;
@BindView(R.id.config_bg_color) View mBgColorPicker; @BindView(R.id.config_bg_color) View mBgColorPicker;
@BindView(R.id.config_bg_seekbar) SeekBar mBgSeekBar; @BindView(R.id.config_bg_seekbar) SeekBar mBgSeekBar;

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="com.simplemobiletools.calculator.MyWidgetConfigure" android:configure="com.simplemobiletools.calculator.activities.WidgetConfigureActivity"
android:initialLayout="@layout/activity_main" android:initialLayout="@layout/activity_main"
android:minHeight="250dp" android:minHeight="250dp"
android:minWidth="250dp" android:minWidth="250dp"