0
  <application
      android:name="com.example.ma01_gt_gpro_1.GlobalClass"
    android:allowBackup="true"
    android:icon="@drawable/gproicon"
    android:label="@string/app_name"
    android:theme="@style/CustomActionBarTheme" >
    <activity
        android:name="com.example.ma01_gt_gpro_1.MG00LoginForm"  
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity android:name="MG03Navigation" android:noHistory="true"></activity>
    <activity android:name="MG02DataSynchronize" android:noHistory="true"></activity>
    <activity android:name="MG02DataSynchronize1" ></activity>
    <activity android:name="MG01MainForm" android:noHistory="true"></activity>
    <activity android:name="MT01ASalesOrderView" android:noHistory="true"></activity>

    <activity android:name="MT01_B_ListParty" android:noHistory="true"></activity>
    <activity android:name="MT01_C_ListItems" ></activity>
    <activity android:name="MT02_A_ListParty" android:noHistory="true"></activity>
    <activity android:name="MT02_B_ListPaymentMode" ></activity>
     <activity android:name="MT01SalesOrder" android:label="                            SALES ORDER"></activity>
    <activity android:name="MT02CollectionEntry" android:label="                            COLLECTION"></activity>
    <activity android:name="MT02_C_CollectionReport" android:label="                            COLLECTION REPORT"></activity>
    <activity android:name="MR01SalesOrderReport" android:label="                           SALESORDER REPORT" ></activity>

</application>

Here I found an temporary solution android:label="SALESORDER REPORT" >

But it won't get work with large screens

Devin
  • 7,690
  • 6
  • 39
  • 54
mdsaleem1804
  • 110
  • 14

2 Answers2

1

Step 1: Remove ActionBar.

Step 2: Take some TextView with align parent_top.

Step 3: And place your Activity name on that textview programmatically.

hope this will help you

0

Thanks to all who supported me ?

i Found an solution:

How to center align the ActionBar title in Android?

getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); getSupportActionBar().setCustomView(R.layout.abs_layout);

Community
  • 1
  • 1
mdsaleem1804
  • 110
  • 14