Added label to settings activity

Label added to settings activity and changed spaces to tabs.
This commit is contained in:
luca0N! 2021-03-09 23:33:03 -03:00
parent f32a0a7a43
commit 23e4b4c19d
Signed by: luca0N
GPG Key ID: 2E7B4655CF16D7D6
2 changed files with 48 additions and 49 deletions

View File

@ -11,7 +11,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme.Dark">
<activity android:name=".activities.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -26,6 +26,7 @@
android:screenOrientation="fullUser"
android:configChanges="orientation|screenSize"/>
<activity android:name=".settings.SettingsActivity"
android:label="@string/ui_settings"
android:screenOrientation="fullUser"
android:configChanges="orientation|screenSize"/>
</application>

View File

@ -36,10 +36,8 @@ public class SettingsActivity extends AppCompatActivity {
super.onCreate(savedInstanceState);
ActionBar actionBar = getSupportActionBar();
if (actionBar != null) {
if (actionBar != null)
actionBar.setDisplayHomeAsUpEnabled(true);
actionBar.setTitle(null);
}
getFragmentManager()
.beginTransaction()