Added label to settings activity
Label added to settings activity and changed spaces to tabs.
This commit is contained in:
parent
f32a0a7a43
commit
23e4b4c19d
|
@ -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>
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue