Question: I have some excel in which the column names are numbers are dynamic, How can I design a table structure to save it in sql server table.

Since its dynamic I can't keep a specific table structure.Please suggest a solution.

Answer: 
Just create a separate layout.xml file for action bar and include it as a custom action bar in main.xml and set the main activity's theme to noTitle bar.
 **Here is my custome\_app\_bar.xml**

```
<LinearLayout
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/colorPrimary"
app:theme="@style/AppTheme"
android:padding="5dp"
>
    <ImageView
        android:id="@+id/acton_bar_imageView"
        android:background="@drawable/app_logo"
        android:layout_width="50dp"
        android:layout_height="50dp"
        android:layout_gravity="center_horizontal"/>

```

and including in the main.xml is like that .... 

```
    <include
    android:id="@+id/app_bar"
    layout="@layout/custome_app_bar"
    />

```
Try this way 

```
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);
        final ActionBar ab = getSupportActionBar();
        if (ab != null) {
            ab.setLogo(R.drawable.fm);
            ab.setTitle("MukilFM");
            ab.setHomeAsUpIndicator(R.drawable.ic_menu);
            ab.setDisplayHomeAsUpEnabled(true);
        }

```