Ammar Githam
4 years ago
17 changed files with 107 additions and 45 deletions
-
1.idea/.gitignore
-
3app/src/main/java/awais/instagrabber/InstaApp.java
-
40app/src/main/java/awais/instagrabber/MainHelper.java
-
10app/src/main/java/awais/instagrabber/activities/BaseLanguageActivity.java
-
2app/src/main/java/awais/instagrabber/activities/DirectMessagesUserInbox.java
-
6app/src/main/java/awais/instagrabber/activities/Main.java
-
7app/src/main/java/awais/instagrabber/dialogs/SettingsDialog.java
-
1app/src/main/java/awais/instagrabber/utils/Constants.java
-
3app/src/main/java/awais/instagrabber/utils/SettingsHelper.java
-
29app/src/main/java/awais/instagrabber/utils/Utils.java
-
4app/src/main/res/layout/activity_main.xml
-
25app/src/main/res/layout/dialog_main_settings.xml
-
4app/src/main/res/layout/layout_feed_view.xml
-
3app/src/main/res/layout/layout_profile_view.xml
-
3app/src/main/res/values/color.xml
-
1app/src/main/res/values/strings.xml
-
10app/src/main/res/values/themes.xml
@ -1,2 +1,3 @@ |
|||
# Default ignored files |
|||
/shelf/ |
|||
/dictionaries/ |
@ -1,11 +1,21 @@ |
|||
package awais.instagrabber.activities; |
|||
|
|||
import android.os.Bundle; |
|||
|
|||
import androidx.annotation.Nullable; |
|||
import androidx.appcompat.app.AppCompatActivity; |
|||
|
|||
import awais.instagrabber.utils.LocaleUtils; |
|||
import awais.instagrabber.utils.Utils; |
|||
|
|||
public abstract class BaseLanguageActivity extends AppCompatActivity { |
|||
protected BaseLanguageActivity() { |
|||
LocaleUtils.updateConfig(this); |
|||
} |
|||
|
|||
@Override |
|||
protected void onCreate(@Nullable final Bundle savedInstanceState) { |
|||
super.onCreate(savedInstanceState); |
|||
Utils.changeTheme(this); |
|||
} |
|||
} |
@ -0,0 +1,10 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<resources> |
|||
<style name="Theme.Amoled" parent="Theme.AppCompat.NoActionBar"> |
|||
<item name="android:colorBackground">@color/background_amoled</item> |
|||
<item name="bottomSheetDialogTheme">@style/AppTheme.BottomSheetDialog.Dark</item> |
|||
<item name="android:windowAnimationStyle">@style/AppTheme.WindowAnimationTransition</item> |
|||
</style> |
|||
|
|||
<style name="AppTheme.BottomSheetDialog.Dark" parent="Theme.MaterialComponents.BottomSheetDialog"/> |
|||
</resources> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue