Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ====================== General Tema dan FullscreenView di BBM ======================
- 1. Lcom/bbm/c/b;
- .method public final onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
- .locals 0
- .param p1, "activity" # Landroid/app/Activity;
- .param p2, "savedInstanceState" # Landroid/os/Bundle;
- .prologue
- .line 46
- invoke-static {p1}, Lid/delta/utils/ThemeUtils;->applyTheme(Landroid/app/Activity;)V
- .line 50
- sget-object v0, Lcom/bbm/Alaska;->ctx:Landroid/content/Context;
- invoke-static {v0, p1}, Lid/delta/utils/ThemeUtils;->setFullScreen(Landroid/content/Context;Landroid/app/Activity;)V
- .line 48
- return-void
- .end method
- 2. Preference Activity
- <ListPreference android:icon="@drawable/delta_themes" android:entries="@array/labels_list_preference" android:layout="@layout/delta_preference" android:title="@string/theme" android:key="delta_themes" android:summary="%s" android:dialogTitle="@string/theme" android:entryValues="@array/values_list_preference" />
- <CheckBoxPreference android:icon="@drawable/delta_statusbar" android:layout="@layout/delta_preference" android:title="@string/fullscreen" android:key="key_fullscreen" android:summary="@string/sum_fullscreen" android:widgetLayout="@layout/delta_preference_widget_checkbox" android:defaultValue="false" />
- 3. Dengan metode ini tanpa perlu merubah/mengedit semua Activity... :D Lebih simpel dibanding metode yang lama..
- 4. Untuk bahan bisa hubungi saya di Facebook...
Advertisement
Add Comment
Please, Sign In to add comment