Skip to content

Commit

Permalink
@W-13610752: LoginActivity UI appears different in 11.0 (#2427)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonEricAtSalesforce authored Jun 22, 2023
1 parent fa666d5 commit 2c18b1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion libs/SalesforceSDK/res/values/sf__styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

<resources xmlns:android="http://schemas.android.com/apk/res/android">

<style name="SalesforceSDK" parent="Theme.AppCompat.DayNight">
<style name="SalesforceSDK" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/sf__primary_color</item>
<item name="titleTextColor">@color/sf__secondary_color</item>
<item name="android:actionBarStyle">@style/SalesforceSDKActionBar</item>
<item name="android:colorPrimary">@color/sf__primary_color</item>
<item name="android:colorPrimaryDark">@color/sf__primary_color</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@
*/
package com.salesforce.androidsdk.ui;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;

import androidx.appcompat.app.AppCompatActivity;

import com.salesforce.androidsdk.R;
import com.salesforce.androidsdk.accounts.UserAccount;
import com.salesforce.androidsdk.accounts.UserAccountManager;
Expand All @@ -46,7 +47,7 @@
*
* @author bhariharan
*/
public class AccountSwitcherActivity extends Activity {
public class AccountSwitcherActivity extends AppCompatActivity {

protected UserAccountManager userAccMgr;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*/
package com.salesforce.androidsdk.ui;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;
import android.widget.SimpleAdapter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
*/
package com.salesforce.androidsdk.ui;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.salesforce.androidsdk.R;
import com.salesforce.androidsdk.app.SalesforceSDKManager;

Expand All @@ -40,7 +41,7 @@
*
* @author bhariharan
*/
public class ManageSpaceActivity extends Activity {
public class ManageSpaceActivity extends AppCompatActivity {

private AlertDialog manageSpaceDialog;

Expand Down

0 comments on commit 2c18b1c

Please sign in to comment.