2014-11-04 17:08:30 +00:00
|
|
|
package eu.siacs.conversations.ui;
|
|
|
|
|
|
|
|
import android.os.Bundle;
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
import android.preference.PreferenceManager;
|
2018-02-16 12:08:29 +00:00
|
|
|
import android.support.v7.app.AppCompatActivity;
|
2014-11-04 17:08:30 +00:00
|
|
|
|
|
|
|
import eu.siacs.conversations.R;
|
2018-04-01 19:37:21 +00:00
|
|
|
import eu.siacs.conversations.utils.ThemeHelper;
|
2014-11-04 17:08:30 +00:00
|
|
|
|
2018-03-18 08:30:22 +00:00
|
|
|
import static eu.siacs.conversations.ui.XmppActivity.configureActionBar;
|
|
|
|
|
2018-02-16 12:08:29 +00:00
|
|
|
public class AboutActivity extends AppCompatActivity {
|
2014-11-04 17:08:30 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
|
|
super.onCreate(savedInstanceState);
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
|
2018-04-01 19:37:21 +00:00
|
|
|
setTheme(ThemeHelper.find(this));
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
|
2014-11-04 17:08:30 +00:00
|
|
|
setContentView(R.layout.activity_about);
|
2018-03-18 08:30:22 +00:00
|
|
|
setSupportActionBar(findViewById(R.id.toolbar));
|
|
|
|
configureActionBar(getSupportActionBar());
|
2019-08-29 10:14:01 +00:00
|
|
|
setTitle(getString(R.string.title_activity_about_x, getString(R.string.app_name)));
|
2014-11-04 17:08:30 +00:00
|
|
|
}
|
|
|
|
}
|