Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62aae48e authored by Joey Rizzoli's avatar Joey Rizzoli
Browse files

CMFM: Fix up home activity layout



 * Disable actionbar title
 * Remove empty useless card

Change-Id: I0d644ecbd87a079b9e9f32454cfd098f4482fe43
Signed-off-by: default avatarJoey Rizzoli <joey@cyanogenmoditalia.it>
parent 26fc1a5f
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -33,21 +33,6 @@
            android:layout_height="match_parent"
            android:orientation="vertical">

            <!-- A CardView that contains a TextView -->
            <android.support.v7.widget.CardView
                android:id="@+id/card_view"
                android:layout_gravity="center"
                android:layout_width="match_parent"
                android:layout_height="400dp"
                card_view:cardCornerRadius="4dp">

                <TextView
                    android:id="@+id/info_text"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent" />

            </android.support.v7.widget.CardView>

            <TextView
                android:text="@string/quick_search"
                android:id="@+id/cardChildText"
+1 −0
Original line number Diff line number Diff line
@@ -291,6 +291,7 @@ public class MainActivity extends ActionBarActivity

        mToolBar = (Toolbar) findViewById(R.id.material_toolbar);
        setSupportActionBar(mToolBar);
        getSupportActionBar().setDisplayShowTitleEnabled(false);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        getSupportActionBar().setHomeButtonEnabled(true);
        getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_menu);