update commons to 3.0.10

This commit is contained in:
tibbi 2017-11-30 19:20:10 +01:00
parent c34b5e9954
commit f1e4507d6c
5 changed files with 9 additions and 9 deletions

View File

@ -37,7 +37,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:3.0.3' implementation 'com.simplemobiletools:commons:3.0.10'
implementation 'com.squareup:otto:1.3.8' implementation 'com.squareup:otto:1.3.8'
} }

View File

@ -28,10 +28,10 @@
android:name=".activities.SplashActivity" android:name=".activities.SplashActivity"
android:theme="@style/SplashTheme"> android:theme="@style/SplashTheme">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN"/>
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES"/>
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter> </intent-filter>
</activity> </activity>
@ -87,11 +87,11 @@
<service <service
android:name=".helpers.MyTileService" android:name=".helpers.MyTileService"
android:label="@string/app_launcher_name"
android:icon="@drawable/img_widget_preview" android:icon="@drawable/img_widget_preview"
android:label="@string/app_launcher_name"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"> android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter> <intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" /> <action android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter> </intent-filter>
</service> </service>
</application> </application>

View File

@ -34,6 +34,7 @@ class MainActivity : SimpleActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main) setContentView(R.layout.activity_main)
appLaunched()
mBus = BusProvider.instance mBus = BusProvider.instance
translucentWhite = resources.getColor(R.color.translucent_white) translucentWhite = resources.getColor(R.color.translucent_white)

View File

@ -38,8 +38,8 @@
android:layout_width="@dimen/seekbar_width" android:layout_width="@dimen/seekbar_width"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/activity_margin" android:layout_margin="@dimen/activity_margin"
android:paddingBottom="@dimen/seekbar_vertical_padding" android:paddingBottom="@dimen/medium_margin"
android:paddingTop="@dimen/seekbar_vertical_padding" android:paddingTop="@dimen/medium_margin"
android:visibility="invisible"/> android:visibility="invisible"/>
</LinearLayout> </LinearLayout>

View File

@ -1,6 +1,5 @@
<resources> <resources>
<dimen name="buttons_margin">30dp</dimen> <dimen name="buttons_margin">30dp</dimen>
<dimen name="seekbar_width">250dp</dimen> <dimen name="seekbar_width">250dp</dimen>
<dimen name="seekbar_vertical_padding">6dp</dimen>
<dimen name="main_button_size">150dp</dimen> <dimen name="main_button_size">150dp</dimen>
</resources> </resources>